mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Userland: Add "functrace" utility
functrace traces the function calls a program makes. It's like strace, but for userspace. It works by using Debugging functionality to insert breakpoints at call&ret instructions.
This commit is contained in:
parent
13865c7c3d
commit
f4418361c4
Notes:
sideshowbarker
2024-07-19 07:33:35 +09:00
Author: https://github.com/itamar8910
Commit: f4418361c4
Pull-request: https://github.com/SerenityOS/serenity/pull/1813
8 changed files with 175 additions and 4 deletions
|
@ -57,6 +57,7 @@ public:
|
|||
{
|
||||
return m_image.entry();
|
||||
}
|
||||
const Image& image() const { return m_image; }
|
||||
char* symbol_ptr(const char* name) const;
|
||||
Optional<Image::Symbol> find_demangled_function(const String& name) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue