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 |
31 |
Tags
- 포인터 매핑
- idapro
- data distribution
- ida
- javascript
- x64
- NumPy Unicode Error
- commandline
- Ransomware
- debugging
- ecma
- Analysis
- open office xml
- Python
- malware
- ida pro
- h5py.File
- mock.patch
- why error
- hex-rays
- idapython
- Rat
- MySQL
- error
- error fix
- pytest
- idb2pat
- svn update
- Injection
- TensorFlow
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