fix(agc): report a failed PROCMAP_QUERY instead of rescanning the maps

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Adrià Franch 2026-10-08 13:05:02 +02:00
parent 3bea115487
commit 18bc4b6d0e
1 changed files with 1 additions and 0 deletions

View File

@ -609,6 +609,7 @@ bool describePages(std::uintptr_t address, std::size_t bytes, Emit&& emit) {
static_cast<void>(emit(PageRun{cursor, end, false, false}));
return true;
}
return false;
}
std::ifstream maps("/proc/self/maps");
if (!maps.is_open()) return false;