macro_rules! ld_preload_init { ($block:block) => { ... }; }
Expand description
Creates a function with C’s __attribute__((constructor))
applied to it.
Under the hood it’s just a section with .init_array
and .init_array_end
ASM sections.
macro_rules! ld_preload_init { ($block:block) => { ... }; }
Creates a function with C’s __attribute__((constructor))
applied to it.
Under the hood it’s just a section with .init_array
and .init_array_end
ASM sections.