Home
last modified time | relevance | path

Searched refs:r_buf_read_le16_at (Results 1 – 18 of 18) sorted by relevance

/dports/devel/radare2/radare2-5.1.1/libr/bin/p/
H A Dbin_elf64.c30 p ("0x00000010 Type 0x%04x\n", r_buf_read_le16_at (bf->buf, 0x10)); in headers64()
31 p ("0x00000012 Machine 0x%04x\n", r_buf_read_le16_at (bf->buf, 0x12)); in headers64()
37 p ("0x00000034 EhSize %d\n", r_buf_read_le16_at (bf->buf, 0x34)); in headers64()
38 p ("0x00000036 PhentSize %d\n", r_buf_read_le16_at (bf->buf, 0x36)); in headers64()
39 p ("0x00000038 PhNum %d\n", r_buf_read_le16_at (bf->buf, 0x38)); in headers64()
40 p ("0x0000003a ShentSize %d\n", r_buf_read_le16_at (bf->buf, 0x3a)); in headers64()
41 p ("0x0000003c ShNum %d\n", r_buf_read_le16_at (bf->buf, 0x3c)); in headers64()
42 p ("0x0000003e ShrStrndx %d\n", r_buf_read_le16_at (bf->buf, 0x3e)); in headers64()
H A Dbin_elf.c8 p ("0x00000010 Type 0x%04x\n", r_buf_read_le16_at (bf->buf, 0x10)); in headers32()
9 p ("0x00000012 Machine 0x%04x\n", r_buf_read_le16_at (bf->buf, 0x12)); in headers32()
15 p ("0x00000028 EhSize %d\n", r_buf_read_le16_at (bf->buf, 0x28)); in headers32()
16 p ("0x0000002a PhentSize %d\n", r_buf_read_le16_at (bf->buf, 0x2a)); in headers32()
17 p ("0x0000002c PhNum %d\n", r_buf_read_le16_at (bf->buf, 0x2c)); in headers32()
18 p ("0x0000002e ShentSize %d\n", r_buf_read_le16_at (bf->buf, 0x2e)); in headers32()
19 p ("0x00000030 ShNum %d\n", r_buf_read_le16_at (bf->buf, 0x30)); in headers32()
20 p ("0x00000032 ShrStrndx %d\n", r_buf_read_le16_at (bf->buf, 0x32)); in headers32()
H A Dbin_mz.c49 st16 cs = r_buf_read_le16_at (b, 0x16); in checkEntrypointBuffer()
50 ut16 ip = r_buf_read_le16_at (b, 0x14); in checkEntrypointBuffer()
51 ut32 pa = ((r_buf_read_le16_at (b, 0x08) + cs) << 4) + ip; in checkEntrypointBuffer()
61 ut16 pe = r_buf_read_le16_at (b, 0x3c); in checkEntrypointBuffer()
92 ut16 new_exe_header_offset = r_buf_read_le16_at (b, 0x3c); in check_buffer()
H A Dbin_sfc.c20 cksum1 = r_buf_read_le16_at (b, 0x7fdc); in check_buffer()
21 cksum2 = r_buf_read_le16_at (b, 0x7fde); in check_buffer()
29 cksum1 = r_buf_read_le16_at (b, 0xffdc); in check_buffer()
30 cksum2 = r_buf_read_le16_at (b, 0xffde); in check_buffer()
H A Dbin_prg.c16 ut16 base = r_buf_read_le16_at (bf->buf, 0); in baddr()
H A Dbin_elf.inc1174 ROW ("Type", 2, r_buf_read_le16_at (bf->buf, addr), "x");
1176 ROW ("Machine", 2, r_buf_read_le16_at (bf->buf, addr), "x");
1199 ROW ("EhSize", 2, r_buf_read_le16_at (bf->buf, addr), "x");
1201 ROW ("PhentSize", 2, r_buf_read_le16_at (bf->buf, addr), "x");
1203 ROW ("PhNum", 2, r_buf_read_le16_at (bf->buf, addr), "x");
1205 ROW ("ShentSize", 2, r_buf_read_le16_at (bf->buf, addr), "x");
1207 ROW ("ShNum", 2, r_buf_read_le16_at (bf->buf, addr), "x");
1209 ROW ("ShrStrndx", 2, r_buf_read_le16_at (bf->buf, addr), "x");
H A Dbin_ne.c12 ut16 idx = r_buf_read_le16_at (b, 0x3c); in check_buffer()
H A Dbin_omf.c31 ut16 rec_size = r_buf_read_le16_at (b, 1); in check_buffer()
H A Dbin_le.c11 ut16 idx = r_buf_read_le16_at (b, 0x3c); in check_buffer()
H A Dbin_dex.c1199 regsz = r_buf_read_le16_at (bf->buf, MC); in parse_dex_class_method()
1205 ins_size = r_buf_read_le16_at (bf->buf, MC + 2); in parse_dex_class_method()
1211 outs_size = r_buf_read_le16_at (bf->buf, MC + 4); in parse_dex_class_method()
1212 tries_size = r_buf_read_le16_at (bf->buf, MC + 6); in parse_dex_class_method()
1267 insn_count = r_buf_read_le16_at (bf->buf, offset + 4); in parse_dex_class_method()
1271 ut64 handler_off = r_buf_read_le16_at (bf->buf, offset + 6); in parse_dex_class_method()
1382 ut16 tries_size = r_buf_read_le16_at (bf->buf, MC + 6); in parse_dex_class_method()
H A Dbin_pe.c10 ut16 idx = r_buf_read_le16_at (b, 0x3c); in check_buffer()
H A Dbin_pe64.c10 ut16 idx = r_buf_read_le16_at (b, 0x3c); in check_buffer()
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/ne/
H A Dne.c141 ut16 entry_off = r_buf_read_le16_at (bin->buf, off); in r_bin_ne_get_symbols()
267 ut16 alignment = r_buf_read_le16_at (bin->buf, resoff); in __ne_get_resources()
442 ut16 length = r_buf_read_le16_at (bin->buf, off); in r_bin_ne_get_relocs()
533 offset = r_buf_read_le16_at (bin->buf, reloc->paddr); in r_bin_ne_get_relocs()
553 bin->header_offset = r_buf_read_le16_at (buf, 0x3c); in __init()
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/pe/
H A Dpe.c521 import_hint = r_buf_read_le16_at (bin->b, off); in bin_pe_parse_imports()
1789 if ((var->wLength = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_var()
1795 if ((var->wValueLength = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_var()
1801 if ((var->wType = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_var()
1859 if ((varFileInfo->wLength = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_var_file_info()
1879 if ((varFileInfo->wType = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_var_file_info()
1943 if ((string->wLength = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_string()
1960 if ((string->wType = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_string()
2046 if ((stringTable->wType = r_buf_read_le16_at (bin->b, *curAddr)) == UT16_MAX) { in Pe_r_bin_pe_parse_string_table()
3206 cert->wRevision = r_buf_read_le16_at (bin->b, offset + 4); in bin_pe_init_security()
[all …]
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/le/
H A Dle.c83 ut16 entry_idx = r_buf_read_le16_at (bin->buf, *offset); in __get_symbol()
618 bin->headerOff = r_buf_read_le16_at (buf, 0x3c); in __init_header()
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/mz/
H A Dmz.c102 curr_seg = r_buf_read_le16_at (bin->b, paddr); in r_bin_mz_get_segments()
/dports/devel/radare2/radare2-5.1.1/libr/include/r_util/
H A Dr_buf.h153 static inline ut16 r_buf_read_le16_at(RBuffer *b, ut64 addr) { in r_buf_read_le16_at() function
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/mach0/
H A Dmach0.c4065 pvaddr + 4, r_buf_read_le16_at (buf, addr + 6), r_buf_read8_at (buf, addr + 5), in MACH0_()
4068 pvaddr + 8, r_buf_read_le16_at (buf, addr + 10), r_buf_read8_at (buf, addr + 9), in MACH0_()
4083 pvaddr + off, r_buf_read_le16_at (buf, addr + off + 2), r_buf_read8_at (buf, addr + off + 1), in MACH0_()
4123 pvaddr + 8, r_buf_read_le16_at (buf, addr + 10), r_buf_read8_at (buf, addr + 9), in MACH0_()
4126 pvaddr + 12, r_buf_read_le16_at (buf, addr + 14), r_buf_read8_at (buf, addr + 13), in MACH0_()
4170 pvaddr + 8, r_buf_read_le16_at (buf, addr + 10), r_buf_read8_at (buf, addr + 9), in MACH0_()
4173 pvaddr + 12, r_buf_read_le16_at (buf, addr + 14), r_buf_read8_at (buf, addr + 13), in MACH0_()