Completed
64비트 환경에서 32비트 실행파일 디버깅법

64비트 환경에서 32비트 파일 실행 자체는 구글링 통해 라이브러리 설치해서 해결했는데
32비트 파일 pwndbg로 실행 후 breakpoint 걸고 run 시키면
warning: Selected architecture i386 is not compatible with reported target architecture i386:x86-64
warning: Architecture rejected target-supplied description
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x80487de
해당 오류 메세지가 뜹니다.. 해결 방법 아시는 분 계실까여

#pwnable
Author
When you need more in-depth answers
Contact the Dreamhack team and mentors directly!
Answers 2
avatar
Rasser
Wargame: 20
avatar
Rasser
Wargame: 20

gdb-multiarch로 해서
set arc i386 입력하고 해보실래요?

2023.07.16. 18:39
avatar
Rasser
Wargame: 20
avatar
Rasser
Wargame: 20

gdb-multiarch로 해서
set arc i386 입력하고 해보실래요?

2023.07.16. 18:39