mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-17 12:48:41 +00:00
small beautification
This commit is contained in:
parent
c220c7466f
commit
e2d096f411
@ -667,7 +667,7 @@ int main(int argc, char **argv) {
|
||||
/* to store them just dump'm all to stdout */
|
||||
rawstr = 2;
|
||||
} else {
|
||||
rawstr = true;
|
||||
rawstr = 1;
|
||||
}
|
||||
} else {
|
||||
set_action (R_BIN_REQ_STRINGS);
|
||||
|
@ -1057,13 +1057,6 @@ R_API int r_bin_load_io_at_offset_as_sz(RBin *bin, int fd, ut64 baseaddr,
|
||||
return false;
|
||||
}
|
||||
ut64 seekaddr = is_debugger? baseaddr: loadaddr;
|
||||
#if 0
|
||||
io->va = 0;
|
||||
if (!iob->read_at (io, seekaddr, buf_bytes, sz)) {
|
||||
sz = 0;
|
||||
}
|
||||
io->va = 1;
|
||||
#endif
|
||||
if (!iob->fd_read_at (io, fd, seekaddr, buf_bytes, sz)) {
|
||||
sz = 0LL;
|
||||
}
|
||||
|
@ -495,10 +495,10 @@ static bool bin_strings(RCore *r, int mode, int va) {
|
||||
return false;
|
||||
}
|
||||
if (!r_config_get_i (r->config, "bin.strings")) {
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
if (!plugin) {
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
if (plugin->info && plugin->name) {
|
||||
if (strcmp (plugin->name, "any") == 0 && !rawstr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user