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