CRO0: Difference between revisions
No edit summary |
No edit summary |
||
| Line 268: | Line 268: | ||
If (X&1) == 1 then write "b 0" (infinite loop). | If (X&1) == 1 then write "b 0" (infinite loop). | ||
Else write as normal. | Else write as normal. | ||
---- | |||
CRO with extension .cro is used for "DLLs". CRS with extension .crs can be used for storing "DLL" symbols as well. The end of the file is aligned to a 0x1000-byte boundary with 0xCC bytes. | CRO with extension .cro is used for "DLLs". CRS with extension .crs can be used for storing "DLL" symbols as well. The end of the file is aligned to a 0x1000-byte boundary with 0xCC bytes. | ||
| Line 277: | Line 279: | ||
Upon loading, the RO module will look for symbol "__aeabi_atexit" or "nnroAeabiAtexit_". | Upon loading, the RO module will look for symbol "__aeabi_atexit" or "nnroAeabiAtexit_". | ||
For dumping symbols and loading a CRO into IDA, see [https://github.com/plutooo/ctr/]. | |||