Lines Matching refs:ElfW

51   ElfW(Addr) load_start() const { return reinterpret_cast<ElfW(Addr)>(load_start_); }  in load_start()
53 ElfW(Addr) gap_start() const { return reinterpret_cast<ElfW(Addr)>(gap_start_); } in gap_start()
55 ElfW(Addr) load_bias() const { return load_bias_; } in load_bias()
56 const ElfW(Phdr)* loaded_phdr() const { return loaded_phdr_; } in ElfW() function
57 const ElfW(Dyn)* dynamic() const { return dynamic_; } in ElfW() function
58 const char* get_string(ElfW(Word) index) const;
60 ElfW(Addr) entry_point() const { return header_.e_entry + load_bias_; } in entry_point()
74 [[nodiscard]] bool CheckPhdr(ElfW(Addr));
75 [[nodiscard]] bool CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment);
84 ElfW(Ehdr) header_;
88 const ElfW(Phdr)* phdr_table_;
91 const ElfW(Shdr)* shdr_table_;
95 const ElfW(Dyn)* dynamic_;
110 ElfW(Addr) load_bias_;
113 const ElfW(Phdr)* loaded_phdr_;
125 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count,
126 ElfW(Addr)* min_vaddr = nullptr, ElfW(Addr)* max_vaddr = nullptr);
128 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count);
130 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count,
131 ElfW(Addr) load_bias, bool should_pad_segments,
134 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count,
135 ElfW(Addr) load_bias, bool should_pad_segments);
137 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count,
138 ElfW(Addr) load_bias, bool should_pad_segments);
140 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count,
141 ElfW(Addr) load_bias, int fd, size_t* file_offset);
143 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count,
144 ElfW(Addr) load_bias, int fd, size_t* file_offset);
147 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias,
148 ElfW(Addr)** arm_exidx, size_t* arm_exidix_count);
151 void phdr_table_get_dynamic_section(const ElfW(Phdr)* phdr_table, size_t phdr_count,
152 ElfW(Addr) load_bias, ElfW(Dyn)** dynamic,
153 ElfW(Word)* dynamic_flags);
155 const char* phdr_table_get_interpreter_name(const ElfW(Phdr)* phdr_table, size_t phdr_count,
156 ElfW(Addr) load_bias);