-
Notifications
You must be signed in to change notification settings - Fork 6
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
angr.engines.vex.ccall #6
Comments
Hi, On vacation for the holidays right now, so responses may be delayed, but at a glance this has to do with the interpretation/lifting of a condition code based branch instruction (e.g. beq), but should be handled by angr/engines/vex/ccall.py in your installation. Check that angr's vex engine and the vex directory have the ccall file for supporting the lifter. If not, it likely points to either (a) a step missed or crashing during installation or less likely but possible (b) missing vex support for this operation. The gateway was one of the targets for our paper so everything should be supported---I do not think angr has deprecated this API. Edit: also make sure the python virtualenvironment is activated! That could result in not being able to resolve the module. Cheers and thanks, |
Thank you for your answer! If I run the following command in the jetset/jetset_engine/jetset_engine path,
Traceback (most recent call last): (I installed the python virtual environment and also installed angr) I'd appreciate it if you could tell me how to solve it. |
Ah, "import configs.cmu_config as cmu" should be commented out, we did not release the communication management unit binary (since that would be bad). This is probably my fault, I used this repo for some demos a while back and must've not checked changes on a fresh install. We just need to add a "#" to that line and any other cmu-related errors. I will check and fix tonight, unless you can beat me to it. Thanks, |
Hello, I tried running it again after downloading the new one. root@4b37bf30cea8:~/jetset/jetset_engine/jetset_engine# python3 jetset_server.py --soc gateway -o results Running ['xterm', '-e', 'None', '4444'] Q. How do I resolve this error? |
Hi. Looks like you are running this from a non-X11 environment (potentially i3-wm or a free non-desktop version of linux). Part of the coordination scripts open up an xterm session in order to run a few of the commands. This really should be done via some In the past, I have also run into missing DISPLAY env variable problems because I was running debian without a the non-free nvidia GPU drivers, so this error may be somewhat user-specific. tl;dr is we may need to go back and patch out the "['xterm', '-e', 'None', '4444']" to run using a subshell or something. Alternatively, you may just go ahead and run this in an environment with an appropriate DISPLAY variable. I imagine you may be trying this from the context of some server machine. It is possible to just ensure xterm is installed onto the server and then pass the "-X" option to ssh for X11 forwarding. It may be slow, but I believe I have done this in the past and it has worked fine. Let me know. Regards, |
I used this command "python3 jetset_server.py --soc gateway -o result"
But, the following error occurred:
ModuleNotFoundError : No module named 'angr.engines.vex.ccall'
How can I fix this error?
The text was updated successfully, but these errors were encountered: