mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:47:45 +00:00
UserspaceEmulator: Capture backtraces of malloc/free events
This lets us show backtraces for each leaked mallocation in the leak report at the end. :^)
This commit is contained in:
parent
f6584bfc36
commit
441918be7e
4 changed files with 32 additions and 14 deletions
|
@ -46,6 +46,8 @@ public:
|
|||
|
||||
bool load_elf();
|
||||
void dump_backtrace();
|
||||
void dump_backtrace(const Vector<FlatPtr>&);
|
||||
Vector<FlatPtr> raw_backtrace();
|
||||
|
||||
int exec();
|
||||
u32 virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue