summaryrefslogtreecommitdiff
path: root/Userland/Utilities/pmap.cpp
AgeCommit message (Collapse)Author
2021-11-28Everywhere: Use default execpromises argument for Core::System::pledgeBrian Gianforcaro
2021-11-23pmap: Port to LibMain :^)Andreas Kling
2021-11-17AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional)Andreas Kling
Also add slightly richer parse errors now that we can include a string literal with returned errors. This will allow us to use TRY() when working with JSON data.
2021-07-22Utilities: Make sure columns are properly aligned for pmap on x86_64Gunnar Beutner
2021-07-22AK: Add a getter to JsonValue to get machine-native addressesGunnar Beutner
2021-07-22Everywhere: Prefix hexadecimal numbers with 0xGunnar Beutner
Depending on the values it might be difficult to figure out whether a value is decimal or hexadecimal. So let's make this more obvious. Also this allows copying and pasting those numbers into GNOME calculator and probably also other apps which auto-detect the base.
2021-07-18pmap: Add support for 64-bit addressesGunnar Beutner
2021-06-02Utilities: Report correct memory addresses for pmapGunnar Beutner
While I think negative memory might be an interesting concept to investigate I don't think we're quite ready for it yet: 7ca71000 8192 r-xs- libcrypt.so: .text 7ca73000 4096 r---- libcrypt.so: .relro 7ca74000 4096 rw--- libcrypt.so: .data -6d391000 45056 r-xs- libttf.so: .text -6d385000 4096 r---- libttf.so: .relro -6d384000 4096 rw--- libttf.so: .data
2021-06-01Userland: Replace most printf-style APIs with AK::Format APIs :^)Linus Groh
2021-05-31Userland: Remove a bunch of unused includesLinus Groh
As reported by CLion.
2021-05-31Userland: Avoid a bunch of JsonObject copiesLinus Groh
JsonValue::as_object() returns a reference.
2021-05-17Utilities: Correct non-standard assert macros includesJean-Baptiste Boric
2021-05-12LibCore+Everywhere: Move OpenMode out of IODeviceAli Mohammad Pur
...and make it an enum class so people don't omit "OpenMode".
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
Good-bye LogStream. Long live AK::Format!
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-02pmap+SystemMonitor: Mark syscall regions with 'C'Andreas Kling
2021-01-29pmap: Trim "VMObject" suffix from VMObject types to save spaceAndreas Kling
2021-01-29pmap: Add shared flag to access column and align-right numeric columnsBrendan Coles
2021-01-24pmap: Sort memory regions in outputAndreas Kling
This makes the program 100% nicer to use. :^)
2021-01-16Everywhere: Convert a handful of String::format() => formatted()Andreas Kling
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling