creport: Skeleton reading of Code Regions.

This commit is contained in:
Michael Scire
2018-06-25 04:38:54 -06:00
parent fd6fa89122
commit f189610af8
5 changed files with 92 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ void CrashReport::BuildReport(u64 pid, bool has_extra_info) {
if (OpenProcess(pid)) {
ProcessExceptions();
if (kernelAbove500()) {
/* TODO: Process Code Regions. */
this->code_list.ReadCodeRegionsFromProcess(this->debug_handle, this->crashed_thread_info.GetPC(), this->crashed_thread_info.GetLR());
this->thread_list.ReadThreadsFromProcess(this->debug_handle, Is64Bit());
}