feat(modules): now it loads segments with correct rights, not RWX everywhere

This commit is contained in:
karina
2026-05-03 18:30:49 +04:00
parent bedb03fc37
commit fb55cb1b9a
6 changed files with 97 additions and 55 deletions
+5 -1
View File
@@ -32,4 +32,8 @@ typedef struct {
uint64_t p_align;
} Elf64_Phdr;
#define PT_LOAD 1
#define PT_LOAD 1
#define PF_X 1
#define PF_W 2
#define PF_R 4