ld_preload

Macro ld_preload_deinit

Source
macro_rules! ld_preload_deinit {
    ($block:block) => { ... };
}
Expand description

Creates a function with C’s __attribute__((destructor)) applied to it.

Under the hood it’s just a section with .fini_array and .fini_array_end ASM sections.