| 1 | #ifndef LIB__PE_H__ |
| 2 | #define LIB__PE_H__ |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | #include <stdbool.h> |
| 6 | #include <lib/misc.h> |
| 7 | |
| 8 | int pe_bits(uint8_t *image, size_t image_size); |
| 9 | |
| 10 | bool pe64_load(uint8_t *image, size_t file_size, uint64_t *entry_point, uint64_t *_slide, uint32_t alloc_type, bool kaslr, struct mem_range **ranges, uint64_t *ranges_count, uint64_t *physical_base, uint64_t *virtual_base, uint64_t *image_size, uint64_t *image_size_before_bss, bool *is_reloc); |
| 11 | |
| 12 | #endif |
