-
-
Notifications
You must be signed in to change notification settings - Fork 645
Features
mundusnine edited this page Dec 30, 2023
·
2 revisions
Cosmopolitan binaries can use debug tools integrated in the executable when you pass theses commands:
--strace
: will print the system calls made by the executable. More info.
--ftrace
: will analyze and debug kernel activities, offering functions such as latency tracing and event tracing to identify and address performance issues and understand specific kernel behaviors. More info.
Cosmopolitan libc added in this commit a memory hardening feature when a binary is compiled with MODE=dbg
. This means that your applications can, at runtime, detect memory errors when in debug mode. For more context this commit message can also be read.
Platform | x86_64 | x86 | arm64 |
---|---|---|---|
Linux | ✓ | - | ✓ |
Windows | ✓ | - | - |
Mac OS X | ✓ | - | ✓ |
OpenBSD | ✓ | - | - |
FreeBSD | ✓ | - | ✓ |
NetBSD | ✓ | - | - |