Replies: 2 comments 1 reply
-
|
This should help |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I'm interested in this kind of issue generally for all kinds of BIOS/OS calls using instructions such as |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a piece of code for Acorn RISC OS. This is a 1990s era (though updated to present day for the Raspberry Pi) operating system for the ARM platform.
OS syscalls are done with a SWI instruction, e.g.:
Annoyingly this appears in the decompiler as:
Is there a way to tell Ghidra about the calling conventions for the various syscalls, similar to how they can be specified with functions?
My goal is to write a script which decodes the SWI numbers (by creating enumerations) and applies the calling convention hints for the syscalls it knows about.
Beta Was this translation helpful? Give feedback.
All reactions