mirror of
https://github.com/lifting-bits/remill
synced 2026-06-21 13:56:07 +00:00
fe6d4276cd
* Create initial implementation of `__remill_sync_hyper_call` * Fill in a few more cases * Use `state.addr_to_load` for LGDT and LIDT operands * Fix variable names * Cross-compile the Remill runtimes * Create temp variable for `lgdt` and `lidt` handling * Add intrinsics for SPARC emulate instruction calls * Create intrinsics for remaining hyper calls * Remove `__remill_sync_hyper_call` implementations in tests * Create the target triple based on the provided arch * Provide ARCH parameter for SPARC archs * CMake formatting * Switch the conditions around * Adjust target triple * Cross-compile the hyper calls and then link them into the runtime * Cleanup * Prefix int types with namespace * Include `<limits>` * Fix `lgdt` and `lidt` handling * Mark new intrinsics as "used" * Add placeholder intrinsic definitions to tests * Complete list of intrinsic definitions * Mark hyper call definition with `always_inline` * Use `_BitInt` if available * Use `__builtin_unreachable` instead of `abort` * Leave comment explaining `always_inline` attribute