10 Commits

Author SHA1 Message Date
Alexis Engelke f85e89fa5a examples: Replace with more deterministic use
Previously, the code was strongly dependent on compiler and host
architecture (and the deprecated transformations).

Show the current PIC and non-PIC use of Rellume on a simple,
deterministic x86-64 example.
2022-01-14 13:00:31 +01:00
Alexis Engelke cc47757371 rellume: Remove legacy decode functions 2020-02-20 13:52:24 +01:00
Alexis Engelke 4e2f5102e2 api: Make configuration independent of function 2019-10-12 14:48:09 +02:00
Alexis Engelke fd5be6e5a5 func: Add stack when applying calling convention 2019-06-30 21:02:36 +02:00
Alexis Engelke ed6b56c2fc Combine C API into single header file 2019-06-30 18:04:35 +02:00
Alexis Engelke e0f6ea43d2 func: No longer set function name 2019-06-18 15:58:21 +02:00
Alexis Engelke 2de7298d7c Install headers and library 2019-06-17 15:33:35 +02:00
Alexis Engelke ffa3c6a03f func: Add API to wrap SysV ABI
After the recent change to not handle the ABI while lifting directly, a
wrapper function can be created which sets up the registers
appropriately and inlines the lifted functions to perform optimizations.
2019-06-17 11:04:55 +02:00
Alexis Engelke 176126c11b func: Make emulation calling-convention agnositic
To make rellume a more general-purpose x86 lifter, we must not restrict
lifting to ordinary functions following the SysV calling convention. The
implementation of the calling convention was also very limited.

Now, all created functions take a single paramter, a pointer to a struct
containing all registers and flags.
2019-06-17 10:34:01 +02:00
Alexis Engelke 9d834ce753 Initial commit 2019-05-05 20:21:35 +02:00