-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Tracing x86 binaries in Ubuntu 22.04 is not working #469
Comments
Could you please run |
Sure! Here it is. |
Sorry, I meant |
Sure, here's the new on |
I upgraded the guest image to Debian 11.3 as well, still the same error. s2e tools that are built on Ubuntu 22.04 use glibc 2.34, which does not run on libc in the guest. Any dynamically linked binary build on 22.04 would have this problem in the guest. |
It's the main function that causes versions problems:
|
Debian 11 uses older glibc that doesn't have this issue, that's why I didn't notice it. One solution is to provide Ubuntu 22.04 guest images that people can use instead of Debian-based images in case they have an Ubuntu 22.04 host. |
yes, that seems to the best option if S2E wants to support Ubuntu 22.04+. I took a look at the docs to build new images and it seems complex. I'm not sure this is something I can tackle but I am happy to stress test an image if one is made available. |
Unfortunately Ubuntu doesn't use the same method as Debian for unattended installations, so it will require some work. |
Ah too bad. Happy to help, please let me know what I can do. |
No worries, I got the image install working already. |
@michaelbrownuc please test S2E/guest-images#42
|
I've tested the new image build on a couple of samples, and they appear to be working properly now. I also tried the new image with custom plugins we are using and they worked as well. Thanks for updating this! |
While testing a fix for #467, I observed that tracing an x86 executable on ubuntu 22.04 is no longer working. Specifically, it does not appear that the target binary is ever opened (no hostfiles message, no execution detector messages, module load messages etc.)
I've attached the binary I used (args used are both concrete,
1
and2
), as well as output from the 18.04 version of S2E and the 22.04 version. The environment I ran this in was a brand new ubuntu 22.04 VM with a fresh install of S2E following the instructions in the Docs.Archive.zip
Not sure whats going on here, seems to be a fairly deep bug in S2E.
The text was updated successfully, but these errors were encountered: