JesseCodeBones / linux_jit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux JIT compiler simple DEMO

simple demo for a jit function that return 42

  • mmap RWE memory
  • compile and generate executable code
  • copy executable code to executable memory
  • change type of executable memory to a normal function
  • call JIT function

x86 instruction set

https://www.felixcloutier.com/x86/

About


Languages

Language:C++ 89.9%Language:CMake 10.1%