Skip to content

Memparse output can be overwhelming #208

@GGh41th

Description

@GGh41th

The current implementation of memparse will print an hexdump of the provided process memory. This hexdump will cover all the memory segments (VMAs) and all the memory pages.

Even for small processes (~2MB of memory) the output is quite large, and for many scenarios some filtering can be very helpful.
Such filters can be:

  • The protection flags
  • Virtual addresses range (this can be extremely useful if we already know which memory segments we'd like to inspect),
  • Or based on the VMA types (shared,file backed memory segments, stack,heap etc).

I've been digging through the CRIT code, and I believe most of that is feasible, and if you think that this fits in the memparse subcommand then I will organize this into one or more PRs and start working on it (I've got few other ideas but let's go slowly :) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions