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