Fix all t/feat_grep tests
This commit is contained in:
parent
98daac0ecd
commit
df86cc3124
|
@ -65,7 +65,7 @@ static void do_hash_print(RHash *ctx, int hash, int dlen, int rad, int ule) {
|
|||
case 0:
|
||||
if (!quiet)
|
||||
printf ("0x%08"PFMT64x"-0x%08"PFMT64x" %s: ",
|
||||
from, to, hname);
|
||||
from, to-1, hname);
|
||||
do_hash_hexprint (c, dlen, ule, rad);
|
||||
break;
|
||||
case 1:
|
||||
|
@ -98,7 +98,7 @@ static int do_hash_internal(RHash *ctx, int hash, const ut8 *buf, int len, int r
|
|||
eprintf ("entropy: %10f\n", e);
|
||||
} else {
|
||||
printf ("0x%08"PFMT64x"-0x%08"PFMT64x" %10f: ",
|
||||
from, to, e);
|
||||
from, to-1, e);
|
||||
r_print_progressbar (NULL, 12.5 * e, 60);
|
||||
printf ("\n");
|
||||
}
|
||||
|
|
|
@ -389,7 +389,7 @@ static int bin_info (RCore *r, int mode) {
|
|||
pair ("lsyms", r_str_bool (R_BIN_DBG_SYMS &info->dbg_info));
|
||||
pair ("relocs", r_str_bool (R_BIN_DBG_RELOCS &info->dbg_info));
|
||||
pair ("rpath", info->rpath);
|
||||
pair ("size", size_str);
|
||||
pair ("binsz", size_str);
|
||||
if (info->guid && *info->guid)
|
||||
pair ("guid", info->guid);
|
||||
if (info->debug_file_name)
|
||||
|
|
|
@ -120,7 +120,7 @@ static void r_core_file_info (RCore *core, int mode) {
|
|||
pair ("referer", cf->desc->referer);
|
||||
pair ("fd", sdb_fmt (0, "%d", cf->desc->fd));
|
||||
pair ("size", sdb_fmt (0,"0x%"PFMT64x, r_io_desc_size (core->io, cf->desc)));
|
||||
pair ("blksize", sdb_fmt (0, "0x%"PFMT64x,
|
||||
pair ("blksz", sdb_fmt (0, "0x%"PFMT64x,
|
||||
(ut64)core->io->desc->obsz));
|
||||
pair ("mode", r_str_rwx_i (cf->desc->flags & 7));
|
||||
pair ("uri", cf->desc->uri);
|
||||
|
|
Loading…
Reference in New Issue