mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-04 16:53:48 -04:00
creport: Complete crash report saving.
This commit is contained in:
parent
d5b303f852
commit
4eadeb021b
7 changed files with 231 additions and 45 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
#include <switch.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include "creport_debug_types.hpp"
|
||||
|
||||
|
@ -19,6 +20,7 @@ class CodeList {
|
|||
CodeList() : code_count(0) { }
|
||||
|
||||
void ReadCodeRegionsFromProcess(Handle debug_handle, u64 pc, u64 lr);
|
||||
void SaveToFile(FILE *f_report);
|
||||
private:
|
||||
bool TryFindCodeRegion(Handle debug_handle, u64 guess, u64 *address);
|
||||
void GetCodeInfoName(u64 debug_handle, u64 ro_address, char *name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue