Rizin
unix-like reverse engineering framework and cli tools
|
#include "pe.h"
Go to the source code of this file.
Functions | |
static bool | read_dos_header_aux (RzBuffer *buf, ut64 *offset, PE_(image_dos_header) *header) |
bool PE_() | read_dos_header (RzBuffer *buf, PE_(image_dos_header) *header) |
static bool | read_nt_headers_aux (RzBuffer *buf, ut64 *offset, PE_(image_nt_headers) *headers) |
bool PE_() | read_nt_headers (RzBuffer *buf, ut64 addr, PE_(image_nt_headers) *headers) |
int PE_() | bin_pe_init_hdr (RzBinPEObj *bin) |
int PE_() bin_pe_init_hdr | ( | RzBinPEObj * | bin | ) |
Definition at line 124 of file pe_hdr.c.
References if(), malloc(), PE_, read_dos_header(), read_nt_headers(), RZ_LOG_INFO, rz_sys_perror, rz_time_stamp_to_str(), sdb_num_set(), sdb_set(), and sdb_set_owned().
Referenced by bin_pe_init().
Definition at line 25 of file pe_hdr.c.
References header, i, read_dos_header_aux(), rz_buf_read_le16_offset, rz_buf_read_le32_offset, and ut64().
Referenced by bin_pe_init_hdr().
|
static |
Definition at line 8 of file pe_hdr.c.
References header, and rz_buf_read_le16_offset.
Referenced by read_dos_header().
Definition at line 109 of file pe_hdr.c.
References addr, i, PE_IMAGE_DIRECTORY_ENTRIES, read_nt_headers_aux(), rz_buf_read_le32_offset, and ut64().
Referenced by bin_pe_init_hdr().
|
static |
Definition at line 57 of file pe_hdr.c.
References rz_buf_read8_offset, rz_buf_read_le16_offset, rz_buf_read_le32_offset, and rz_buf_read_le64_offset.
Referenced by read_nt_headers().