1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

LibCoredump: Add Reader::for_each_library

This commit is contained in:
Itamar 2021-11-20 11:48:45 +02:00 committed by Linus Groh
parent 94d68583fb
commit ac762fbbc3
2 changed files with 31 additions and 0 deletions

View file

@ -26,6 +26,14 @@ public:
template<typename Func>
void for_each_memory_region_info(Func func) const;
struct LibraryInfo {
String name;
String path;
FlatPtr base_address { 0 };
};
void for_each_library(Function<void(LibraryInfo)> func) const;
template<typename Func>
void for_each_thread_info(Func func) const;