May 8, 2026
Goals
- Learn about the how LLVM IR is converted to PTX.
- Use RL to beat CoopRT by combining CoopRT and BoS prefetcher synergistically.
What I worked on
- I finally found the exact location of the matcherTable in the
llcbinary.- Modified the
ptxgeneration by altering the matcherTable bytes insidegdb.
Key Insights
- Virtual adddress space of program is only built after
rcommand is run insidegdb.- So altering the bytes before running
rwon’t achieve anything.- Learnt a few
awkandsedtricks and documented them my notes repository.
Questions / Confusions
- Since now I have figured out how to alter
ptxgeneration, now I have to check whether the samellcbinary used internally intriton.
Ideas / Hypotheses
- Since the
llcis binary and not a shared library, I do not need shared libraries for this attack.
Papers / Resources
None
Next Steps
- Go deeper into LLVM code generation.
Introspection
- Today was a good day, let’s hope both of ideas have their day in the sun.