angr / angr

A powerful and user-friendly binary analysis platform!
http://angr.io
BSD 2-Clause "Simplified" License
7.42k stars 1.07k forks source link

Key error during CFGFast #2094

Closed blbi closed 2 years ago

blbi commented 4 years ago

Hi, When i execute below code, i met KeyError: 'sp'

proj = angr.Project('pdfinfo', auto_load_libs=True)
cfg = proj.analyses.CFGFast()

pdfinfo binary is in poppler-0.41.0 I made this binary with this http://www.linuxfromscratch.org/blfs/view/7.9/general/poppler.html

what's the problem?

ltfish commented 4 years ago

Can you please post your compiled binary file so we can test on it?

blbi commented 4 years ago

This is the binary but it has library dependency so i think you'd better to compile through the link pdfinfo.zip

or this is static compile version of that pdfinfo_static.zip but it doesn't show the same error and KeyError: 'sp' error occurs only when the auto_load_libs option is true

MNayer commented 4 years ago

Same problem here, but with auto_load_libs=False. Here's the file that causes the problem: curl.tar.gz It's the debian curl package (version 7.64.0-4+deb10u1) build with sbuild (build options "nostrip nocheck nodoc") on and for an amd64 machine.

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it has no recent activity. Please comment or add the pinned tag to prevent this issue from being closed.

github-actions[bot] commented 2 years ago

This issue has been closed due to inactivity.