https://github.com/massimo-marino/memory-dumper
a memory dumper in C++
https://github.com/massimo-marino/memory-dumper
cpp cpp17 cpp20 dump dump-memory dumper memory memory-dump memory-dumper
Last synced: 9 months ago
JSON representation
a memory dumper in C++
- Host: GitHub
- URL: https://github.com/massimo-marino/memory-dumper
- Owner: massimo-marino
- License: mit
- Created: 2018-08-07T18:48:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-25T09:50:49.000Z (about 1 year ago)
- Last Synced: 2025-02-25T10:37:12.982Z (about 1 year ago)
- Topics: cpp, cpp17, cpp20, dump, dump-memory, dumper, memory, memory-dump, memory-dumper
- Language: C++
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# memory-dumper
A memory dumper in C++
C++ implementation of a memory dumper.
Tested on Ubuntu 24.04.
See:
[https://web.archive.org/web/20210728162751/https://jrruethe.github.io/blog/2015/08/23/placement-new/](https://web.archive.org/web/20210728162751/https://jrruethe.github.io/blog/2015/08/23/placement-new/)
for original code.
A PDF copy of that web page is in folder `doc/`.
## Requirements
`cmake` is used to compile the sources.
The default compiler used is `clang++`.
You might want to change it to `g++`.
The cmake file compiles with `-std=c++20`.
## Install and Run the Example
```bash
$ git clone https://github.com:massimo-marino/memory-dumper.git
$ cd memory-dumper
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./mem-dump
```
## How to Use it
See the source code and the examples in `main.cpp`.