|
infix
A JIT-Powered FFI Library for C
|
Directories | |
| include | |
Files | |
| 001_primitives.c | |
| Unit test for creating trampolines for functions with primitive C types. | |
| 002_simple_calls.c | |
| Unit test for basic forward trampoline calls with simple function signatures. | |
| 003_type_system_api.c | |
Unit test for the Manual API (infix_type_create_* functions). | |
| 004_signatures.c | |
| Unit test for the signature string parser. | |
| 005_layouts.c | |
| Unit test for the Manual API's struct and union layout calculations. | |
| 006_end_to_end_calls.c | |
| End-to-end unit test for passing and returning aggregate types (structs). | |
| 007_type_registry.c | |
| Unit test for the named type registry system. | |
| 008_registry_introspection.c | |
| Unit test for the registry introspection and serialization APIs. | |
| 101_by_value.c | |
| Unit test for passing and returning aggregates and vectors by value. | |
| 102_by_reference.c | |
| Unit test for passing and returning large aggregates by reference. | |
| 103_unions.c | |
| Unit test for passing and returning unions by value. | |
| 201_basic.c | |
| Unit test for FFI calls involving pointer types. | |
| 202_in_structs.c | |
| Unit test for passing structs that contain pointer members. | |
| 203_complex.c | |
Unit test for FFI calls involving C99 _Complex types. | |
| 301_primitives.c | |
| Unit test for reverse trampolines (callbacks) with primitive C types. | |
| 302_aggregates.c | |
| Unit test for reverse trampolines (callbacks) with aggregate types. | |
| 303_advanced.c | |
| Unit test for advanced reverse trampoline (callback) scenarios. | |
| 304_reverse_call_types.c | |
| Unit test to explicitly compare the "Callback" vs. "Closure" reverse trampoline APIs. | |
| 401_large_stack.c | |
| Unit test for FFI calls with a large number of arguments passed on the stack. | |
| 402_variadic_functions.c | |
| Unit test for FFI calls to and from variadic C functions. | |
| 403_special_types.c | |
| Unit test for FFI calls with special, non-standard, or platform-dependent primitive types. | |
| 810_memory_stress.c | |
| A stress test to detect memory leaks under heavy allocation/deallocation cycles. | |
| 811_fault_injection.c | |
| Unit test to verify resource cleanup under memory allocation failures. | |
| 812_shared_arena.c | |
| Unit test for advanced arena-based memory management features. | |
| 820_threading_helgrind.c | |
| A stress test to detect data races and other threading issues. | |
| 821_threading_bare.c | |
| A minimal, dependency-free version of the thread-safety stress test. | |
| 830_security.c | |
Unit test for security-hardening features of the infix library. | |
| 840_arena_allocator.c | |
| Unit test for the internal arena allocator. | |
| 850_regression_cases.c | |
| A suite of regression tests for bugs discovered by fuzzing. | |
| 851_lifecycle_regression.c | |
| Regression tests for specific memory lifecycle and ownership bugs. | |
| 860_error_handling.c | |
| Unit test for the error reporting system. | |
| 901_call_overhead.c | |
| A micro-benchmark to measure the performance overhead of an FFI call. | |
| 903_generation_benchmark.c | |
| A micro-benchmark to measure the performance of trampoline generation. | |