Skip to content

Java games

Korcan Karaokçu edited this page Feb 6, 2024 · 1 revision

There are a few things you should know before working on Java games:

  • Don't attach to the launcher, attach to java itself. There should be a java process listed right after the launcher, that's your target
  • Java uses big endian, switch your scanning mode to big endian, also make sure that you are working with the correct types in the address table
  • Segfault signal (SIGSEGV) is ignored for Java processes to provide a smoother experience. Java processes use segfault signal for memory management and this causes constant stops since GDB stops on SIGSEGV by default. Read more in here. This behavior can be changed via settings