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:
parent
94d68583fb
commit
ac762fbbc3
2 changed files with 31 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue