File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ from libpastis import ClientAgent
9
9
from libpastis .types import FuzzingEngine
10
10
11
11
try :
12
- import hfwrapper
13
- from hfwrapper import Honggfuzz
12
+ import pastishonggfuzz
13
+ from pastishonggfuzz import Honggfuzz
14
14
if os .environ .get ("HFUZZ_PATH" ) is None :
15
15
raise ImportError ("HFUZZ_PATH not set" )
16
16
HONGGFUZZ_AVAILABLE = True
17
17
except ImportError :
18
- hfwrapper , Honggfuzz = None , None
18
+ pastishonggfuzz , Honggfuzz = None , None
19
19
HONGGFUZZ_AVAILABLE = False
20
20
try :
21
21
import pastistritondse
@@ -77,7 +77,7 @@ def main(host=PASTIS_MASTER):
77
77
78
78
engines = []
79
79
if HONGGFUZZ_AVAILABLE :
80
- engines .append ((FuzzingEngine .HONGGFUZZ , hfwrapper .__version__ ))
80
+ engines .append ((FuzzingEngine .HONGGFUZZ , pastishonggfuzz .__version__ ))
81
81
else :
82
82
logging .warning ("Honggfuzz is not available (cannot import it)" )
83
83
if PASTISTRITONDSE_AVAILABLE :
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python3
2
-
3
1
# built-in imports
4
2
import shutil
5
3
@@ -389,6 +387,9 @@ def history(workspace: str):
389
387
plotter .show_delta_history (campaign )
390
388
391
389
392
- if __name__ == "__main__" :
390
+ def main () :
393
391
cli ()
394
392
393
+
394
+ if __name__ == "__main__" :
395
+ main ()
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python3
2
-
3
1
# built-in imports
4
2
import click
5
3
import sys
Original file line number Diff line number Diff line change 68
68
test_suite = "" ,
69
69
entry_points = {
70
70
"console_scripts" : [
71
+ "pastis-benchmark = pastisbenchmark.__main__:main" ,
72
+ "pastis-broker = pastisbroker.__main__:main" ,
71
73
"pastis-aflpp = pastisaflpp.__main__:main" ,
72
74
"pastis-honggfuzz = pastishonggfuzz.__main__:main" ,
73
75
"pastis-tritondse = pastistritondse.__main__:main"
74
76
]
75
77
},
76
78
scripts = [
77
- 'bin/pastis-broker' ,
78
- 'bin/pastis-benchmark' ,
79
79
'bin/pastisd' ,
80
80
]
81
81
)
You can’t perform that action at this time.
0 commit comments