디셈블러와 디버거 실습
#include #include int plus(int a, int b) { int result=0; result = a+b; return result; } int main() { int x = 10; int y = 6; printf("Start!!\n"); int result = plus(x, y); if(result>10) { printf("Good!! Result : %d \n", result); } else { printf("Bad.. Result : %d \n", result); } return 0; } CodeBlocks 코딩 & 컴파일 가장 먼저 보이는 CALL에 F7 단축키를 사용하여 들어간다. 위로 스크롤하여 msvcrt._cexit 주석을 찾고 근처 CALL에 F2 단축키로 BP를 건다..
2024.03.19