After Baidu reinforcement, check the small record of the anti-jdb debugging apk, jdbapk
Baidu reinforced apk detection against jdb debugging apk simple analysis, just a simple record, for future reference.
According to normal IDA debugging, jdb is used for connection at the beginning. An error occurred.
After all, it is a shell thing, so the decompilation has found a bit of content, as shown below:
Static {
If (! Debug. isDebuggerConnected ()){
String v0 = Build. CPU_ABI;
If (v0! = Null & (v0.startsWith ("x86 "))){
StubApplication. loadX86Library ();
Return;
}
System. loadLibrary ("baiduprotect ");
}
}
Debug is in android. OS. Debug. It is generally used in eclipse to Debug smali. The waitingforDebugger method is used in this Debug class.
So when we see the above code, we can simply remove this judgment.
Then proceed to the normal debugging process.