December 2023

All posts

CAFE BABE, if you know, you know. JVM enthusiast.

Each program has a magic word in its machine code that defines its identity. For Java class files, it's CAFE BABE, and the story behind it is great.

How your program's functions are handled in memory?

Because I always forget how the kernel handles a program's functions in the call stack, I wrote it down. Function prologue, %rbp, %rsp, and calling conventions.