angr / angr/angr-management

NotImplementedError in CFGEmulated

Open
#1,315 0 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
Python
Stars
1.2k
Forks
131
Avg merge
1d 11h
Merged PRs (30d)
14

Description

### 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](https://github.com/user-attachments/assets/c5f3fb53-14c7-401e-b754-9d723d10e9a7)

![image](https://github.com/user-attachments/assets/657ce97d-e6b4-4230-84a1-4cf0486affeb)

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.