mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #4434
89288863
README: mention ASAN usage alongside valgrind (moneromooo-monero)
This commit is contained in:
parent
54d883d826
commit
365a9d0c09
1 changed files with 12 additions and 2 deletions
14
README.md
14
README.md
|
@ -666,9 +666,19 @@ Type `run` to run monerod
|
||||||
|
|
||||||
### Analysing memory corruption
|
### Analysing memory corruption
|
||||||
|
|
||||||
We use the tool `valgrind` for this.
|
There are two tools available:
|
||||||
|
|
||||||
Run with `valgrind /path/to/monerod`. It will be slow.
|
* ASAN
|
||||||
|
|
||||||
|
Configure Monero with the -D SANITIZE=ON cmake flag, eg:
|
||||||
|
|
||||||
|
cd build/debug && cmake -D SANITIZE=ON -D CMAKE_BUILD_TYPE=Debug ../..
|
||||||
|
|
||||||
|
You can then run the monero tools normally. Performance will typically halve.
|
||||||
|
|
||||||
|
* valgrind
|
||||||
|
|
||||||
|
Install valgrind and run as `valgrind /path/to/monerod`. It will be very slow.
|
||||||
|
|
||||||
### LMDB
|
### LMDB
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue