You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Works in Ghidra 10, but results in an error in Ghidra 11.0.3.
The error is as follows:
Open failed: ghidra.program.model.lang.CompilerSpecNotFoundException: Exception reading [NAME]/default(file.cspec:123): Unknown type class: int
To Reproduce
Steps to reproduce the behavior:
Edit a cspec file to include the offending attribute in a pentry node
Open a file in Ghidra 11.0.3 using the modified cspec
Expected behavior
The cspec is parsed and the file is loaded for analysis.
Screenshots
N/A
Attachments
N/A
Environment (please complete the following information):
OS: Debian Linux 11
Java Version: 17
Ghidra Version: 11.0.3
Ghidra Origin: GitHub release
Additional context
I looked at the documentation of the latest release (I uploaded the generated docs here ) and confirmed that the metatype attribute of pentry should accept "int" as a value:
metatype (Optional) Restriction on datatype: unknown, float, int, uint, or ptr
The text was updated successfully, but these errors were encountered:
I suggest to keep this issue open until the documentation is updated (I'll try to open PR, but the linked commit is non-trivial so won't promise anything).
Describe the bug
The following pentry specification:
Works in Ghidra 10, but results in an error in Ghidra 11.0.3.
The error is as follows:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The cspec is parsed and the file is loaded for analysis.
Screenshots
N/A
Attachments
N/A
Environment (please complete the following information):
Additional context
I looked at the documentation of the latest release (I uploaded the generated docs here ) and confirmed that the
metatype
attribute ofpentry
should accept"int"
as a value:The text was updated successfully, but these errors were encountered: