Skip to content

handle mmap and custom allocator #16

@ampotos

Description

@ampotos

Today dynStruct can only wrap malloc/calloc/realloc and free as memory managment function. It is possible to wrap this functions in another lib than the LibC via the "-a" option but they have to have the same args/return then the libC's fucntions.

Begin able to handle mmap and custom allocator will be a very good feature and will help do handle other languages memory managment system.

  • Defining description of memory managment function
  • implment parsing of this description
  • wrap function as describe in the description in the data gatherer
  • Write doc of the description
  • Allow descrition to use binary file addresses instead of name for stripped custom allocator

Descriptions to write:

  • libC functions
  • Cpp functions
  • Rust functions
  • Go functions
  • mmap
  • brk (for old style allcoator)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions