티스토리 뷰

Reversing

[x64dbg] Enable Ignored Exception

Tribal 2020. 4. 1. 14:07

Exception이 발생한 경우

CPP_EH_EXCEPTION First chance exception 발생

  x64dbg에서 Exception이 발생하면 Exception이 발생한 부분에 브레이크가 설정된다. x64dbg의 가장 하단의 창에 위 사진과 같이 Exception이 발생했는지 나오고 어떤 Exception인지 설명해준다.

 

  보통 ACCESS_VIOLATION 등 심각한 Exception과 별도의 예의 처리가 되지 않은 Unhandled Exception은 Debugger가 Exception 이벤트를 따로 등록하지 않기 때문에 이러한 예외 상황에서 브레이크가 걸린다. 하지만 일부 Exception에 대해서는 브레이크 때문에 디버깅이 귀찮아지는 상황이 발생한다. 이런 경우, Ignored Exception을 설정하면 된다.

 

 

Ignored Exception 설정 방법

1. Options - Preferences를 클릭한다.

 

2. Settings - Exceptions 탭을 클릭한다.

3. 무시할 Exception을 입력하고 Save한다. 가장 최근에 발생한 Exception을 무시하고자 하는 경우 "Add Last"를 클릭한다. 직접 "Add Range"를 하는 경우는 가장 하단 창의 Exception Code를 확인하여 등록한다.

 

 

Windbg Exception 필터(link) : windbg는 sxe(Set Exception Enable), sxd(Set Exception Disable) command를 사용하여 등록하면 된다. 

 

'Reversing' 카테고리의 다른 글

[iMac] Windows Kernel Debugging under VMWare Fusion  (0) 2019.05.31
[C] Streaming SIMD Extensions(SSE) API  (0) 2018.08.01
[Windows] RecDec IDA Plugin 설치  (0) 2018.06.22
[IDA plugin] Diaphora  (0) 2018.06.18
windbg pykd 설치  (0) 2018.06.18
댓글
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
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