zc 190ee7fc79 初次提交 8 月之前
..
aarch64 190ee7fc79 初次提交 8 月之前
arm 190ee7fc79 初次提交 8 月之前
common 190ee7fc79 初次提交 8 月之前
e2k 190ee7fc79 初次提交 8 月之前
i386 190ee7fc79 初次提交 8 月之前
mips 190ee7fc79 初次提交 8 月之前
mips64 190ee7fc79 初次提交 8 月之前
x86_64 190ee7fc79 初次提交 8 月之前
README.md 190ee7fc79 初次提交 8 月之前

README.md

This folder contains target-specific config files and code snippets.

Basically to add a new target one needs to provide an .ini file with basic platform info (like pointer sizes) and code templates for

  • shim code which checks that real function address is available (and either jumps there or calls the slow path)
  • the "slow path" code which
    • saves function arguments (to avoid trashing them in next steps)
    • calls code which loads the target library and locates function addresses
    • restores saved arguments and returns