static __attribute__((unused)) void map_exec(void *addr, long size)

{

    unsigned long start, end, page_size;



    page_size = getpagesize();

    start = (unsigned long)addr;

    start &= ~(page_size - 1);



    end = (unsigned long)addr + size;

    end += page_size - 1;

    end &= ~(page_size - 1);



    mprotect((void *)start, end - start,

             PROT_READ | PROT_WRITE | PROT_EXEC);

}

static __attribute__((unused)) void map_exec(void *addr, long size)

{

    unsigned long start, end, page_size;



    page_size = getpagesize();

    start = (unsigned long)addr;

    start &= ~(page_size - 1);



    end = (unsigned long)addr + size;

    end += page_size - 1;

    end &= ~(page_size - 1);



    mprotect((void *)start, end - start,

             PROT_READ | PROT_WRITE | PROT_EXEC);

}

static __attribute__((unused)) void map_exec(void *addr, long size) static __attribute__((unused)) void map_exec(void *addr, long size)     unsigned long start, end, page_size;     page_size = getpagesize();     start = (unsigned long)addr;     start &= ~(page_size - 1);     end = (unsigned long)addr + size;     end += page_size - 1;     end &= ~(page_size - 1);     mprotect((void *)start, end - start,              PROT_READ | PROT_WRITE | PROT_EXEC);
static __attribute__((unused)) void FUNC_0(void *VAR_0, long VAR_1)

{

    unsigned long VAR_2, VAR_3, VAR_4;



    VAR_4 = getpagesize();

    VAR_2 = (unsigned long)VAR_0;

    VAR_2 &= ~(VAR_4 - 1);



    VAR_3 = (unsigned long)VAR_0 + VAR_1;

    VAR_3 += VAR_4 - 1;

    VAR_3 &= ~(VAR_4 - 1);



    mprotect((void *)VAR_2, VAR_3 - VAR_2,

             PROT_READ | PROT_WRITE | PROT_EXEC);

}

static __attribute__((unused)) void FUNC_0(void *VAR_0, long VAR_1)
{ unsigned long VAR_2, VAR_3, VAR_4; VAR_4 = getpagesize(); VAR_2 = (unsigned long)VAR_0; VAR_2 &= ~(VAR_4 - 1); VAR_3 = (unsigned long)VAR_0 + VAR_1; VAR_3 += VAR_4 - 1; VAR_3 &= ~(VAR_4 - 1); mprotect((void *)VAR_2, VAR_3 - VAR_2,
PROT_READ | PROT_WRITE | PROT_EXEC); }