14 #define COFF_IS_BIG_ENDIAN 1
15 #define COFF_IS_LITTLE_ENDIAN 0
55 #define RZ_COFF_RELOC_TARGET_SIZE 8
RZ_API struct rz_bin_coff_obj * rz_bin_coff_new_buf(RzBuffer *buf, bool verbose)
RZ_API ut64 rz_coff_get_reloc_targets_vfile_size(struct rz_bin_coff_obj *obj)
size of the artificial reloc target vfile
RZ_API void rz_bin_coff_free(struct rz_bin_coff_obj *obj)
RZ_API ut64 rz_coff_perms_from_section_flags(ut32 flags)
RZ_API ut64 rz_coff_get_reloc_targets_map_base(struct rz_bin_coff_obj *obj)
base vaddr where to map the artificial reloc target vfile
RZ_API RZ_BORROW RzBuffer * rz_coff_get_patched_buf(struct rz_bin_coff_obj *bin)
RZ_API RzBinAddr * rz_coff_get_entry(struct rz_bin_coff_obj *obj)
RZ_API bool rz_coff_supported_arch(const ut8 *buf)
RZ_API RzList * rz_coff_get_relocs(struct rz_bin_coff_obj *bin)
RZ_API char * rz_coff_symbol_name(struct rz_bin_coff_obj *obj, void *ptr)
RZ_API ut64 rz_coff_import_index_addr(struct rz_bin_coff_obj *obj, ut64 imp_index)
static struct sockaddr static addrlen static backlog const void static flags void flags
RzBuffer * buf_patched
overlay over the original file with relocs patched
ut64 reloc_targets_map_base
struct coff_symbol * symbols
struct coff_scn_hdr * scn_hdrs
HtUU * imp_index
locally-generated indices for imports, in particular for deterministically assigning reloc targets
bool reloc_targets_map_base_calculated
struct coff_opt_hdr opt_hdr
ut64(WINAPI *w32_GetEnabledXStateFeatures)()