How can I invoke feature_map.py example? #3546
Answered
by
psifertex
baikaishiuc
asked this question in
Q&A
|
I'm a freshman in python and binary ninja According https://github.com/Vector35/binaryninja-api/tree/dev/python/examples, I update PYTHONPATH and import most python/examples module , invoke it is ok. But when I: it seems i need pass one argument to feature_map, but i dont know how to pass filename when I import it. |
Answered by
psifertex
Oct 16, 2022
Replies: 1 comment 1 reply
|
From that code alone (I haven't looked at the larger example recently) it looks like it's meant to be run directly like ./feature_map.py , not imported. Note however that would require a commercial license for headless support. If you are trying to run in the console on non-commercial it would likely require some code changes. |
1 reply
Answer selected by
baikaishiuc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From that code alone (I haven't looked at the larger example recently) it looks like it's meant to be run directly like ./feature_map.py , not imported. Note however that would require a commercial license for headless support.
If you are trying to run in the console on non-commercial it would likely require some code changes.