This challenge provides the source code of the JIT compiler using revmc, along with patches for the revm and anvil source code from foundry.
The goal is to read a flag string stored at memory address 0x13370000.
Below is the source code of the libjit.so that gets loaded when JIT is executed in anvil. The load_flag() function is executed when the library is loaded.
// https://github.com/fuzzland/blazctf-2024/blob/main/i-love-revmc/challenge/anvil-image/jit-compiler/c/linker.c#L54-L69