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
작성자 정보
답변 2
avatar
Rasser
워게임: 20

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

2023.07.16. 18:39
avatar
Rasser
워게임: 20

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

2023.07.16. 18:39
질문에 대한 답을 알고 계신가요?
지식을 나누고 포인트를 획득해보세요.
답변하고 포인트 받기