Skip to content

Files

Latest commit

91095d7 · Feb 7, 2025

History

History

arch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 24, 2025
Jan 24, 2025
Feb 7, 2025
Jan 24, 2025
Jan 24, 2025
Jan 24, 2025
Jan 24, 2025
Jan 24, 2025
Jan 24, 2025
Jan 24, 2025
Jan 24, 2025
Apr 23, 2022

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