GToad / Android_Anti_Debug

An example of android anti-debug.
87 stars 37 forks source link

Bug in breakpoint scan? #5

Open bala-murugan-dev opened 3 months ago

bala-murugan-dev commented 3 months ago

image here p is a signed char , but it is compared with an constant 222 so it is always gonna return false, we are not going to detect any breakpoint from this snipped of code then?

bala-murugan-dev commented 3 months ago

i tried representing it in unsigned char , got this error Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3ac8502c in tid 7370 (pool-2-thread-1), pid 7352 (<package-name>)