ghidra
ghidra copied to clipboard
Golang Analysis Bug
Unsupported varnode size: 0
java.lang.IllegalArgumentException: Unsupported varnode size: 0
at ghidra.program.model.listing.VariableStorage.checkVarnodes(VariableStorage.java:198)
at ghidra.program.model.listing.VariableStorage.
Build Date: 2025-Apr-15 1250 EDT Ghidra Version: 11.3.2 Java Home: /usr/lib/jvm/java-21-openjdk-amd64 JVM Version: Debian 21.0.7 OS: Linux 6.12.25-amd64 amd64
I'm trying to narrow down what may have triggered the issue, but not having an easy time. What kind of binary are you looking at, and could you share it?
There have been a lot of changes to this code path in the master branch, so it may have been changed enough to 'fix' your issue, or maybe not. If you have the ability to test this against a locally built head version, that would be helpful.
Is there any way to find the program address where triggered the issue?
I'm sure this will be irrelevant once the compiler specifications can support return values on the stack correctly? Custom storage should not be used anyway due to the limitations imposed by it (no call signature overrides, no function pointers can't use interfaces, etc)
I am reversing an golang aarch64 binary.
Moreover, when choosing the file type, I selected golang and used the default analysis option
---Original--- From: "Andrew @.> Date: Thu, May 15, 2025 23:07 PM To: @.>; Cc: @.@.>; Subject: Re: [NationalSecurityAgency/ghidra] Golang Analysis Bug (Issue #8141)
astrelsky left a comment (NationalSecurityAgency/ghidra#8141)
I'm sure this will be irrelevant once the compiler specifications can support return values on the stack correctly? Custom storage should not be used anyway due to the limitations imposed by it (no call signature overrides, no function pointers can't use interfaces, etc)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>