summaryrefslogtreecommitdiff
path: root/Userland/Utilities/crash.cpp
AgeCommit message (Collapse)Author
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
Good-bye LogStream. Long live AK::Format!
2021-03-11crash: Fix more typos in check logicBen Wiederhake
These caused no test to run for '-f' and mmap to fail, respectively.
2021-03-11crash: Fix typo in check logicBen Wiederhake
The remainder of the code assumes that the mmap was successful, so the 'unexpected error' case is that we see MAP_FAILED.
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-02-05Userland: Add LibSystem and funnel all syscalls through itAndreas Kling
This achieves two things: - Programs can now intentionally perform arbitrary syscalls by calling syscall(). This allows us to work on things like syscall fuzzing. - It restricts the ability of userspace to make syscalls to a single 4KB page of code. In order to call the kernel directly, an attacker must now locate this page and call through it.
2021-01-25crash: Add option for failing assertionLinus Groh
2021-01-25crash: Add option for pledge() violationLinus Groh
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling