ASAN과 더불어 메모리 릭이나 access violation 확인할 때 유용하다.
Install
git clone git://sourceware.org/git/valgrind.git
cd valgrind
./autogen.sh
./configure
makeBinary build
CFLAGS="-g" CXXFLAGS="-g" LDFLAGS="-g" ./configure
makeRun
./vg-in-place -s ./executable
'pwnable' 카테고리의 다른 글
| AFL++ (0) | 2022.01.27 | 
|---|---|
| Understanding Attacking Environment Variables - Hooking LD_PRELOAD (0) | 2020.02.15 | 
| PIE base 구하기 (pwntools) (0) | 2018.09.02 | 
| 쉘코드 만들기 (tool) (0) | 2018.08.25 | 
| peda에서 heap 명령어 (0) | 2018.08.24 |