Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- ida pro
- ecma
- Injection
- h5py.File
- error
- Ransomware
- open office xml
- mock.patch
- javascript
- hex-rays
- Rat
- data distribution
- Analysis
- idapro
- ida
- Python
- TensorFlow
- x64
- commandline
- MySQL
- 포인터 매핑
- error fix
- idapython
- pytest
- idb2pat
- NumPy Unicode Error
- why error
- svn update
- malware
- debugging
Archives
- Today
- Total
13 Security Lab
debug print 코드의 흐름을 파악, 프로그램이 죽는 위치 찾기 본문
코드의 흐름을 파악하기 어렵거나, 프로그램이 죽는 위치를 찾기 어려울때
#define DBG_CHECK printf("(%s:%s:%d)n",__FILE__,__FUNCTION__,__LINE__);
int main()
{
DBG_CHECK;
return 0;
}
DBG_CHECK가 위치하는 파일,함수명,라인번호의 정보가 화면에 출력
Comments