본문 바로가기

카테고리 없음

PIE Stripped Binary를 gdb로 디버깅할 때 bp를 어떻게 걸까?

주소 0x0에다가 bp를 걸고 메모리 맵보고 각 섹션이 어떤 주소에 배치됐는지 확인하고 디버깅하면 된다.

 

reverseengineering.stackexchange.com/questions/8724/set-a-breakpoint-on-gdb-entry-point-for-stripped-pie-binaries-without-disabling

 

Set a breakpoint on GDB entry point for stripped PIE binaries without disabling ASLR

Given a position-independent, statically-linked, stripped binary, there does not appear to be a way in GDB to set a breakpoint at the entry point without disabling ASLR. break start and similar

reverseengineering.stackexchange.com