Home
last modified time | relevance | path

Searched refs:process_memory (Results 1 – 8 of 8) sorted by relevance

/aosp14/system/core/debuggerd/libdebuggerd/
H A Dgwp_asan.cpp32 static bool retrieve_gwp_asan_state(unwindstack::Memory* process_memory, uintptr_t state_addr, in retrieve_gwp_asan_state() argument
34 return process_memory->ReadFully(state_addr, state, sizeof(*state)); in retrieve_gwp_asan_state()
43 unwindstack::Memory* process_memory, const gwp_asan::AllocatorState& state, in retrieve_gwp_asan_metadata() argument
58 if (!process_memory->ReadFully(metadata_addr, meta, in retrieve_gwp_asan_metadata()
70 GwpAsanCrashData::GwpAsanCrashData(unwindstack::Memory* process_memory, in GwpAsanCrashData() argument
72 if (!process_memory || !process_info.gwp_asan_metadata || !process_info.gwp_asan_state) return; in GwpAsanCrashData()
74 if (!retrieve_gwp_asan_state(process_memory, process_info.gwp_asan_state, &state_)) return; in GwpAsanCrashData()
75 …metadata_.reset(retrieve_gwp_asan_metadata(process_memory, state_, process_info.gwp_asan_metadata)… in GwpAsanCrashData()
H A Dscudo.cpp28 std::unique_ptr<char[]> AllocAndReadFully(unwindstack::Memory* process_memory, uint64_t addr, in AllocAndReadFully() argument
31 if (!process_memory->ReadFully(addr, buf.get(), size)) { in AllocAndReadFully()
37 ScudoCrashData::ScudoCrashData(unwindstack::Memory* process_memory, in ScudoCrashData() argument
43 auto stack_depot = AllocAndReadFully(process_memory, process_info.scudo_stack_depot, in ScudoCrashData()
45 auto region_info = AllocAndReadFully(process_memory, process_info.scudo_region_info, in ScudoCrashData()
49 ring_buffer = AllocAndReadFully(process_memory, process_info.scudo_ring_buffer, in ScudoCrashData()
71 process_memory->ReadFully(i, memory.get() + i - memory_begin, PAGE_SIZE); in ScudoCrashData()
76 memory_tags[(i - memory_begin) / kTagGranuleSize] = process_memory->ReadTag(i); in ScudoCrashData()
H A Dtombstone_proto.cpp255 std::shared_ptr<unwindstack::Memory>& process_memory, in dump_abort_message() argument
263 if (!process_memory->ReadFully(address, &length, sizeof(length))) { in dump_abort_message()
282 if (!process_memory->ReadFully(address + sizeof(length), &msg[0], length)) { in dump_abort_message()
468 std::shared_ptr<unwindstack::Memory>& process_memory) { in dump_mappings() argument
492 map->set_load_bias(map_info->GetLoadBias(process_memory)); in dump_mappings()
577 std::shared_ptr<unwindstack::Memory>& process_memory, in dump_tags_around_fault_addr() argument
597 while (process_memory->ReadTag(start_address) < 0) { in dump_tags_around_fault_addr()
609 long tag = process_memory->ReadTag(start_address + i * kTagGranuleSize); in dump_tags_around_fault_addr()
H A Dtombstone.cpp109 auto process_memory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in engrave_tombstone_ucontext() local
110 unwindstack::AndroidLocalUnwinder unwinder(process_memory); in engrave_tombstone_ucontext()
/aosp14/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
H A Dscudo.h39 ScudoCrashData(unwindstack::Memory* process_memory, const ProcessInfo& process_info);
H A Dgwp_asan.h50 GwpAsanCrashData(unwindstack::Memory* process_memory, const ProcessInfo& process_info,
/aosp14/system/core/debuggerd/handler/
H A Ddebuggerd_fallback.cpp77 auto process_memory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in debuggerd_fallback_trace() local
79 unwindstack::AndroidLocalUnwinder unwinder(process_memory); in debuggerd_fallback_trace()
/aosp14/frameworks/base/core/proto/android/server/
H A Dactivitymanagerservice.proto231 optional ProcessMemory process_memory = 1; field