pyflame
pyflame copied to clipboard
BSD Support
For real BSDs (FreeBSD, OpenBSD, etc.) the following parts of the code have to be updated:
- The
ptrace()
code inptrace.cc
needs to be updated to use the BSDptrace()
interface - The ASLR code in
aslr.cc
has to be updated - The
setns()
stuff should be disabled on BSD, since it's Linux-specific
For macOS, all of the above need to be done, plus Mach-O parsing code needs to be added to symbol.cc
.