pwnable

Valgrind

범고래_1 2022. 1. 27. 12:59

 

ASAN과 더불어 메모리 릭이나 access violation 확인할 때 유용하다.

Install

git clone git://sourceware.org/git/valgrind.git
cd valgrind
./autogen.sh
./configure
make

Binary build

CFLAGS="-g" CXXFLAGS="-g" LDFLAGS="-g" ./configure
make

Run

./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