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

NotImplementedError in CFGEmulated #1315

Open
MikeKadoshnikov opened this issue Aug 20, 2024 · 0 comments
Open

NotImplementedError in CFGEmulated #1315

MikeKadoshnikov opened this issue Aug 20, 2024 · 0 comments
Labels
bug needs-triage Issue has yet to be looked at by a maintainer

Comments

@MikeKadoshnikov
Copy link

Description

This bug happened after updating from angr version 9.2.102 to 9.2.116, the issue seems to stem from project.analyses.CFGEmulated(). Report bug to @rhelmot

File "/home/mk/.local/lib/python3.11/site-packages/angr/calling_conventions.py", line 1455, in next_arg
classification = self._classify(arg_type)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mk/.local/lib/python3.11/site-packages/angr/calling_conventions.py", line 1555, in _classify
raise NotImplementedError("Ummmmm... not sure what goes here. report bug to @rhelmot")
NotImplementedError: Ummmmm... not sure what goes here. report bug to @rhelmot

image

image

Steps to reproduce the bug

binary not supported in file upload. Used binary from the TYGR source code c_cpp_O0/sys-process/usbtop-1.0/usbtop

the following code caused the error:
project = angr.Project(file_name, load_options={'auto_load_libs': False})
cfg = project.analyses.CFGEmulated(keep_state=True, state_add_options=angr.options.refs)

Environment

No response

Additional context

No response

@MikeKadoshnikov MikeKadoshnikov added bug needs-triage Issue has yet to be looked at by a maintainer labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-triage Issue has yet to be looked at by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant