mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 04:28:20 +00:00
Fix for #3329
Search cmds do not honor search.from/to when searching in raw binaries
This commit is contained in:
parent
db39374b8b
commit
465a0338c3
@ -1641,8 +1641,9 @@ static int cmd_search(void *data, const char *input) {
|
||||
param.to = R_MAX (param.from, param.to);
|
||||
param.from = __from;
|
||||
} else {
|
||||
param.from = 0;
|
||||
param.to = r_io_size (core->io);
|
||||
ut64 rawsize = r_io_size (core->io);
|
||||
param.from = R_MIN (param.from, rawsize);
|
||||
param.to = R_MIN (param.to, rawsize);
|
||||
}
|
||||
core->search->bckwrds = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user