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

Examples not running - "NoneType" error for binary object #143

Open
raistlinJ opened this issue Jul 23, 2022 · 1 comment
Open

Examples not running - "NoneType" error for binary object #143

raistlinJ opened this issue Jul 23, 2022 · 1 comment

Comments

@raistlinJ
Copy link

raistlinJ commented Jul 23, 2022

Describe the bug
I installed zelos using pip on multiple platforms: Windows 10, Kali Linux 2022.1, Ubuntu 16, using python versions 3.5-3.9 and in all cases, the examples error out when executed.

To Reproduce
Steps to reproduce the behavior:

  1. Install zelos using pip (e.g., python 3.8)
  2. cd into examples/hello directory
  3. Either run the python test program or zelos directly on the binary
  4. Notice the following errors:
    "parse_____:NOTICE:Requested interpreter is blank
    Unknown format"
    "AttributeError: 'NoneType' object has no attribute 'static_symbols'
    (a similar "NoneType" object error occurs when trying to run zelos with the other examples)"

Expected behavior
Examples should execute as described in README

@raistlinJ
Copy link
Author

raistlinJ commented Jul 26, 2022

After looking further into the issue, I found that the problem lies with using the latest version of lief (0.12). I solved this problem by reverting to lief version 0.11.5.

Recommend locking the version of lief to 0.11.5 until fixed.

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

1 participant