kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

linux_exec_hint_default.c (386B)


      1 /* Default Linux runtime-alias hint for arches without MAP_32BIT-style
      2  * displacement constraints (aarch64, rv64, arm32, ...): no extra mmap
      3  * flags and no address preference; let the kernel pick. */
      4 
      5 #include <stddef.h>
      6 
      7 #include "env_posix.h"
      8 
      9 int env_execmem_runtime_extra_flags(void) { return 0; }
     10 
     11 void* env_execmem_low_runtime_hint(size_t size) {
     12   (void)size;
     13   return NULL;
     14 }