Skip to content
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

Error: Ghidra throws error while loading simple STM32F446 cmsis file #19

Open
autohacx opened this issue Aug 10, 2023 · 0 comments
Open

Comments

@autohacx
Copy link

I was trying to run SVD_Loader.py and import and cmsis file for cortex arm little endian processor.
However, Ghidra throws me an error -

Traceback (most recent call last):
line 149, in
t = currentProgram.memory.createUninitializedBlock(r.name, addr, length, False)
AttributeError: 'ProgramDB' object has no attribute 'memory'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/x/Extensions/Ghidrathon/data/python/jeprunscript.py", line 31, in jep_runscript
exec(compile(source, path, "exec"), {**globals(), **additional_globals})
File "/Users/x/mystuff/ghidra_10.3.2_PUBLIC/ossplugins/test.py", line 155, in
except ghidra.program.model.mem.MemoryConflictException as e:
NameError: name 'ghidra' is not defined

I am unsure about what to do and where to make any changes to fix this for loading the correct memory map for my controller for reversing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant