14 #define FLAT_VERSION 0x00000004L
15 #define FLAT_FLAG_RAM 0x1
16 #define FLAT_FLAG_GOTPIC 0x2
17 #define FLAT_FLAG_GZIP 0x4
18 #define FLAT_FLAG_GZDATA 0x8
19 #define FLAT_FLAG_KTRACE 0x10
53 #define BFLT_HDR_SIZE sizeof(RzBfltHdr)
ut64 rz_bflt_get_data_base(RzBfltObj *bin)
Address to map data+bss segment to.
RzBinAddr * rz_bflt_get_entry(RzBfltObj *bin)
struct rz_bflt_obj_t RzBfltObj
struct rz_bflt_hdr_t RzBfltHdr
RzBfltObj * rz_bflt_new_buf(RzBuffer *buf, ut64 baddr, bool big_endian, bool patch_relocs)
void rz_bflt_free(RzBfltObj *obj)
ut64 rz_bflt_paddr_to_vaddr(RzBfltObj *bin, ut32 paddr)
ut64 rz_bflt_get_data_vsize(RzBfltObj *bin)
Total size of data+bss.
struct rz_bflt_reloc_t RzBfltReloc
ut64 rz_bflt_get_text_base(RzBfltObj *bin)
Address to map text segment to.
static ut64 baddr(RzBinFile *bf)
RZ_API void MACH0_() patch_relocs(RzBinFile *bf, struct MACH0_(obj_t) *obj)
Patching of external relocs in a sparse overlay buffer.
RzBuffer * buf_patched
overlay over the original file with relocs patched
ut32 reloc_paddr
where to patch, offset from the beginning of the file
ut32 value_orig
original value at that address
ut64(WINAPI *w32_GetEnabledXStateFeatures)()