Files
hakmem/core/box/libm_reloc_guard_box.h

12 lines
491 B
C
Raw Normal View History

// libm_reloc_guard_box.h - Box: libm .fini relocation guard (one-shot)
// Purpose: detect (and optionally patch) unrelocated libm .fini_array at init
// Controls: HAKMEM_LIBM_RELOC_GUARD (default: on), HAKMEM_LIBM_RELOC_GUARD_QUIET,
// HAKMEM_LIBM_RELOC_PATCH (default: on; set 0 to log-only)
#ifndef HAKMEM_LIBM_RELOC_GUARD_BOX_H
#define HAKMEM_LIBM_RELOC_GUARD_BOX_H
int libm_reloc_guard_enabled(void);
void libm_reloc_guard_run(void);
#endif // HAKMEM_LIBM_RELOC_GUARD_BOX_H