DynCallable triggers CFI failures under Clang Control Flow Integrity
DynCallable triggers CFI failures under Clang Control Flow Integrity: a task in LegoFlow-SWE (Harbor dataset). When Clang CFI is enabled, passing a Rust closure across the FFI boundary into C++ via rs std::DynCallable can cause runtime CFI violations (e.g., indirect call check failures, cfi check…
The task
When Clang CFI is enabled, passing a Rust closure across the FFI boundary into C++ via `rs_std::DynCallable` can cause **runtime CFI violations** (e.g., indirect call check failures, `__cfi_check_fail`). The failures occur during construction, invocation, move, or destruction of the callable.
Part of Lego-X/LegoFlow-SWE.