Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone BCCF tool not working #46

Open
alisonliu opened this issue Oct 26, 2017 · 3 comments
Open

standalone BCCF tool not working #46

alisonliu opened this issue Oct 26, 2017 · 3 comments

Comments

@alisonliu
Copy link

./bcf.py

Traceback (most recent call last):
File "./bcf.py", line 31, in
from nfp_log import log, debug
File "/opt/nightmare/fuzzers/../runtime/nfp_log.py", line 13, in
from config import DEBUG
ImportError: cannot import name DEBUG

When the line from config import DEBUG is commented out:
Traceback (most recent call last):
File "./bcf.py", line 684, in
main(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5], int(sys.argv[6]))
File "./bcf.py", line 660, in main
fuzzer = CBlindCoverageFuzzer(arch, cfg, section)
File "./bcf.py", line 50, in init
self.read_configuration()
File "./bcf.py", line 93, in read_configuration
self.read_bininst_configuration(parser)
File "./bcf.py", line 115, in read_bininst_configuration
raise Exception("Binary instrumentation toolkit parameter bininst-tool does not exists in the given configuration file")
Exception: Binary instrumentation toolkit parameter bininst-tool does not exists in the given configuration file

I correctly configured the bininst-tool parameter to point to dynamario folder but it still gives the above error.

@joxeankoret
Copy link
Owner

Can you please paste here your *.cfg file?

@alisonliu
Copy link
Author

cfg.txt
Here is my bfc.cfg file.

@joxeankoret
Copy link
Owner

The CFG file looks ok. You should not comment the DEBUG line in config.py. Can you verify that your config.py example is similar to the following one: https://github.com/joxeankoret/nightmare/blob/master/runtime/config.py.example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants