Home
last modified time | relevance | path

Searched refs:r_buf_fread_at (Results 1 – 16 of 16) sorted by relevance

/dports/devel/radare2/radare2-5.1.1/libr/bin/p/
H A Dbin_qnx.c10 if (r_buf_fread_at (buf, QNX_HEADER_ADDR, (ut8 *) lmfh, "iiiiiiiicccciiiicc", 1) < QNX_HDR_SIZE) { in lmf_header_load()
66 if (r_buf_fread_at (bf->buf, 0, (ut8 *)&lrec, "ccss", 1) < QNX_RECORD_SIZE) { in load_buffer()
74 if (r_buf_fread_at (bf->buf, offset, (ut8 *)&lrec, "ccss", 1) < QNX_RECORD_SIZE) { in load_buffer()
86 if (r_buf_fread_at (bf->buf, offset, (ut8 *)&lres, "ssss", 1) < sizeof (lmf_resource)) { in load_buffer()
97 if (r_buf_fread_at (bf->buf, offset, (ut8 *)&ldata, "si", 1) < sizeof (lmf_data)) { in load_buffer()
112 if (!ptr || r_buf_fread_at (bf->buf, offset, (ut8 *)&ldata, "si", 1) < sizeof (lmf_data)) { in load_buffer()
120 if (!ptr || r_buf_fread_at (bf->buf, offset, (ut8 *)&ldata, "si", 1) < sizeof (lmf_data)) { in load_buffer()
127 r_buf_fread_at (bf->buf, offset, (ut8 *)&qo->rwend, "si", 1); in load_buffer()
H A Dbin_dyldcache.c180 if (r_buf_fread_at (cache_buf, hdr->localSymbolsOffset, (ut8*) info, "6i", 1) != info_size) { in r_dyld_locsym_new()
189 if (r_buf_fread_at (cache_buf, hdr->localSymbolsOffset + info->nlistOffset, (ut8*) nlists, "iccsl", in r_dyld_locsym_new()
208 if (r_buf_fread_at (cache_buf, hdr->localSymbolsOffset + info->entriesOffset, (ut8*) entries, "3i", in r_dyld_locsym_new()
541 if (r_buf_fread_at (cache_buf, offset, (ut8*) &slide_info, "4i1l", 1) < 20) { in get_rebase_info()
596 if (r_buf_fread_at (cache_buf, offset, (ut8*) &slide_info, "6i2l", 1) != size) { in get_rebase_info()
619 if (r_buf_fread_at (cache_buf, at, tmp_buf_1, "s", slide_info.page_starts_count) != size) { in get_rebase_info()
631 if (r_buf_fread_at (cache_buf, at, tmp_buf_2, "s", slide_info.page_extras_count) != size) { in get_rebase_info()
673 if (r_buf_fread_at (cache_buf, offset, (ut8*) &slide_info, "6i", 1) != size) { in get_rebase_info()
696 if (r_buf_fread_at (cache_buf, at, tmp_buf_1, "s", slide_info.toc_count) != size) { in get_rebase_info()
1423 if (r_buf_fread_at (cache_buf, 0, (ut8*) hdr, "16c4i7l16clii4l", 1) != size) { in read_cache_header()
[all …]
H A Dbin_psxexe.c60 if (r_buf_fread_at (bf->buf, 0, (ut8*)&psxheader, "8c17i", 1) < sizeof (psxexe_header)) { in sections()
96 if (r_buf_fread_at (bf->buf, 0, (ut8*)&psxheader, "8c17i", 1) < sizeof (psxexe_header)) { in entries()
H A Dbin_mbn.c31 int ret = r_buf_fread_at (b, 0, (ut8*)&sb, "10i", 1); in check_buffer()
107 rc = r_buf_fread_at (bf->buf, 0, (ut8*)&sb, "10i", 1); in sections()
H A Dbin_xtr_sep64.c199 if (r_buf_fread_at (buf, hdr_offset, (ut8 *) hdr, "16c16l16c16c3l", 1) != sizeof (RSepHdr64)) { in sep64_xtr_ctx_new()
212 …if (r_buf_fread_at (buf, apps_at, (ut8*) apps, "9l2i16c16cl", hdr->n_apps) != (sizeof (RSepApp64) … in sep64_xtr_ctx_new()
H A Dbin_dol.c73 r_buf_fread_at (bf->buf, 0, (void *) dol, "67I", 1); in load_buffer()
H A Dbin_art.c43 (void) r_buf_fread_at (ao->buf, 0, (ut8 *) art, "IIiiiiiiiiiiii", 1); in art_header_load()
H A Dbin_vsf.c81 int read = r_buf_fread_at (bf->buf, offset, (ut8*)&module, "16ccci", 1); in load_buffer()
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/coff/
H A Dcoff.c124 ret = r_buf_fread_at (obj->b, 0, (ut8 *)&obj->hdr, obj->endian? "2S3I2S": "2s3i2s", 1); in r_bin_coff_init_hdr()
142 ret = r_buf_fread_at (obj->b, sizeof (struct coff_hdr), in r_bin_coff_init_opt_hdr()
164 …ret = r_buf_fread_at (obj->b, offset, (ut8 *)obj->scn_hdrs, obj->endian? "8c6I2S1I": "8c6i2s1i", o… in r_bin_coff_init_scn_hdr()
189 …ret = r_buf_fread_at (obj->b, offset, (ut8 *)obj->symbols, obj->endian? "8c1I2S2c": "8c1i2s2c", ob… in r_bin_coff_init_symtable()
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/mach0/
H A Ddyldcache.c9 int len = r_buf_fread_at (bin->b, 0, (ut8*)&bin->hdr, "16c4i7l", 1); in r_bin_dyldcache_init()
H A Dmach0.c1021 if (r_buf_fread_at (bin->b, ptr_thread, in parse_thread()
1035 if (r_buf_fread_at (bin->b, ptr_thread, in parse_thread()
1054 if (r_buf_fread_at (bin->b, ptr_thread, in parse_thread()
1067 if (r_buf_fread_at (bin->b, ptr_thread, in parse_thread()
1082 if (r_buf_fread_at (bin->b, ptr_thread, in parse_thread()
1096 if (r_buf_fread_at (bin->b, ptr_thread, in parse_thread()
1485 if (r_buf_fread_at (bin->b, offset, (ut8 *)&header, "7i", 1) != sizeof (header)) { in parse_chained_fixups()
1520 if (r_buf_fread_at (bin->b, starts_at + seg_off, (ut8 *)cur_seg, "isslis", 1) != 22) { in parse_chained_fixups()
1528 … if (r_buf_fread_at (bin->b, starts_at + seg_off + 22, (ut8 *)page_start, "s", cur_seg->page_count) in parse_chained_fixups()
1792 if (r_buf_fread_at (bin->b, off, (ut8*)&uc, "24c", 1) != -1) { in init_items()
H A Dcoresymbolication.c18 …if (hdr && r_buf_fread_at (buf, off, (ut8 *)hdr, "13i16c5i", 1) == sizeof (RCoreSymCacheElementHdr… in r_coresym_cache_element_header_new()
/dports/devel/radare2/radare2-5.1.1/test/unit/
H A Dtest_buf.c293 r_buf_fread_at (b, 0, (ut8 *)a, "S", 4); in test_r_buf_format()
/dports/devel/radare2/radare2-5.1.1/libr/include/r_util/
H A Dr_buf.h95 R_API st64 r_buf_fread_at(RBuffer *b, ut64 addr, ut8 *buf, const char *fmt, int n);
/dports/devel/radare2/radare2-5.1.1/libr/util/
H A Dbuf.c538 R_API st64 r_buf_fread_at(RBuffer *b, ut64 addr, ut8 *buf, const char *fmt, int n) { in r_buf_fread_at() function
/dports/devel/radare2/radare2-5.1.1/libr/bin/format/pe/
H A Dpe.c1213 rr = r_buf_fread_at (bin->b, metadata_directory, in bin_pe_init_metadata_hdr()
1219 rr = r_buf_fread_at (bin->b, metadata_directory + 8, in bin_pe_init_metadata_hdr()
1225 rr = r_buf_fread_at (bin->b, metadata_directory + 12, in bin_pe_init_metadata_hdr()
1253 rr = r_buf_fread_at (bin->b, metadata_directory + 16 + metadata->VersionStringLength, in bin_pe_init_metadata_hdr()
1280 if (r_buf_fread_at (bin->b, start_of_stream, (ut8*) stream, bin->big_endian? "2I": "2i", 1) < 1) { in bin_pe_init_metadata_hdr()