mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -04:00
creport: Implement reading name/build id from .rodata
This commit is contained in:
parent
f189610af8
commit
92bc396972
2 changed files with 57 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
struct CodeInfo {
|
||||
char name[0x20];
|
||||
u8 id[0x20];
|
||||
u8 build_id[0x20];
|
||||
u64 start_address;
|
||||
u64 end_address;
|
||||
};
|
||||
|
@ -21,4 +21,6 @@ class CodeList {
|
|||
void ReadCodeRegionsFromProcess(Handle debug_handle, u64 pc, u64 lr);
|
||||
private:
|
||||
bool TryFindCodeRegion(Handle debug_handle, u64 guess, u64 *address);
|
||||
void GetCodeInfoName(u64 debug_handle, u64 ro_address, char *name);
|
||||
void GetCodeInfoBuildId(u64 debug_handle, u64 ro_address, u8 *build_id);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue