-
Notifications
You must be signed in to change notification settings - Fork 23
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
GUIHorn uses 55 GB of RAM #83
Comments
@sei-jgennari do you consider this to be a bug? |
I need more details ... what is the definition of "large program"? |
It's a ~20 MB firmware image with 430,939 symbols and 49,683 functions. I can send it if it helps (it's released here, but it uses an obscure compression scheme so I can decompress it for you). It just seems that even parsing a large program shouldn't use 50 GB of RAM, and the memory is not freed after the script finishes |
What makes you say that GhiHorn is just "parsing" the large program? Are you running GhiHorn, or just opening the binary in Kaiju? I don't think 50 GB of RAM is unreasonable at all to perform a symbolic analysis of a 20 MB executable.
This sounds like a larger problem to me. Can you please upload the decompressed image so we can take a look at it? |
I'm using GuiHorn
Understood, I find this surprising but I guess that's intended
Here is the decompressed image: https://github.com/Anonymous941/upload/raw/refs/heads/main/image2.out |
If you want me to investigate further, I'd need to be able to reproduce your problem. So I'd need:
|
Describe the bug
When analyzing a large binary, I have to make an absurdly large swap file (100 GB) or else it will run out of memory. The combined RAM + swap usage is 55 GB, which seems much higher then intended
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It uses a reasonable amount of RAM
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: