Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some anti-debugging stuff for Java
#3
Forgot about this one, though it's simple, it can be rather annoying when scattered around randomly.
Instruction Stepping:
Code:
long s = System.nanoTime();
if (System.nanoTime() - s > 100000) {
System.exit(0);
}
Obviously this should be in somewhere that's not going to be lagging. 100000 nanoseconds is a bit of a stretch for 3 instructions to process, since System.nanoTime() calls should be pretty fast. Tongue
Reply
 


Messages In This Thread
Some anti-debugging stuff for Java - by bloo - 01-11-2015, 08:13 AM
RE: Some anti-debugging stuff for Java - by bloo - 01-11-2015, 08:41 AM
RE: Some anti-debugging stuff for Java - by Bibl - 01-11-2015, 09:05 AM
RE: Some anti-debugging stuff for Java - by zooty - 01-11-2015, 09:13 AM
RE: Some anti-debugging stuff for Java - by Bibl - 01-11-2015, 10:49 AM
RE: Some anti-debugging stuff for Java - by bloo - 01-11-2015, 12:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)

About The Bytecode Club

We're a community focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website