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

Error while executing bap.run #8

Open
GodsJoy opened this issue May 2, 2018 · 2 comments
Open

Error while executing bap.run #8

GodsJoy opened this issue May 2, 2018 · 2 comments
Assignees

Comments

@GodsJoy
Copy link

GodsJoy commented May 2, 2018

I got the following error while executing bap.run on a node binary. I was told on bap forum that it is a bug in bap:

Traceback (most recent call last):
File "extract_bpir.py", line 406, in
main()
File "extract_bpir.py", line 402, in main
proj = bap.run(sys.argv[1], ['--no-byteweight'])
File "/usr/local/lib/python2.7/dist-packages/bap/bap.py", line 124, in run
return parser'load'
File "/usr/local/lib/python2.7/dist-packages/bap/bir.py", line 367, in loads
return noeval_parser.parser(s)
File "/usr/local/lib/python2.7/dist-packages/bap/noeval_parser.py", line 328, in parser
result = _parser(input_str, logger=logger)
File "/usr/local/lib/python2.7/dist-packages/bap/noeval_parser.py", line 291, in _parser
assert len(stk) == 1
AssertionError

nodeO2.tar.gz

@ivg ivg self-assigned this May 2, 2018
@ivg
Copy link
Member

ivg commented May 2, 2018

Just in case, if you had a smaller file that triggers this error, then please submit it.

@GodsJoy
Copy link
Author

GodsJoy commented May 2, 2018

That is the smaller file, the second one is bigger.

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