add logging

This commit is contained in:
2025-03-20 01:57:53 +02:00
parent f537aff9a0
commit 4eafc4e61f
5 changed files with 86 additions and 31 deletions

View File

@@ -31,4 +31,7 @@ sc_array_def(MemoryRegion, memreg);
/* A pointer that can be used to place the memory regions into. Clears regions before use, but uses the same buffer. */
HiloadResult read_memory_maps_self(struct sc_array_memreg *regions);
/* Return index the pointer is found in */
HiloadResult memory_find_pointer(uptr ptr, struct sc_array_memreg* const regions, size_t *index);
#endif // MEMORY_H_