433 Commits

Author SHA1 Message Date
pancake
b926122772 Use RInterval in io.cache and io.pcache, renaming and code cleanup 2018-01-10 02:35:11 +01:00
pancake
e43107d1ca r_str_chop_ro, r_str_trim_const -> r_str_trim_ro 2018-01-08 03:29:29 +01:00
pancake
335938be58 r_str_chop -> r_str_trim 2018-01-08 03:22:26 +01:00
pancake
8f8f4a1d4d Fix /re (arg) 2018-01-07 01:04:01 +01:00
pancake
0f922d0da4 Fix /v when no size is specified 2018-01-06 23:45:06 +01:00
Ziyaddin Sadigov
d4dd6fd5e6 Fix typo regarding byte size (#9067) 2017-12-27 18:33:58 +01:00
pancake
536654bb9f Fix #8797 - Honor search.maxhits in s/ 2017-12-24 18:15:43 +01:00
pancake
1638507d01 search.maxhits is more aggressive now 2017-12-24 18:10:21 +01:00
pancake
0b1e8eaecc Fix almost all warnings from the msvc build 2017-12-19 00:18:39 +01:00
pancake
bc10485212 Fix #9005 - Fix missleading messages in search 2017-12-18 15:51:27 +01:00
Florian Märkl
dda6ba4101 Add /O command 2017-12-16 20:02:54 +01:00
pancake
52f5bb123d Optimize {anal,search}.in=io.maps 2017-12-16 19:38:32 +01:00
xarkes
0ce6e6dbe8 Fixed axtj/axfj extra null byte. (#9018) 2017-12-15 01:12:54 +01:00
pancake
e985e0b9ed Speedup aav even more, from 0.15s to 0.06s 2017-12-10 12:53:06 +01:00
sivaramaaa
785fd99a8e fix warnings in /v (#8996) 2017-12-10 11:26:02 +01:00
sivaramaaa
89145fe0a2 fix #6023, /v[x] with multi arg (#8988) 2017-12-09 18:42:46 +01:00
sivaramaaa
3b6d24661f /s now honor search.in and align (#8940) 2017-12-03 12:31:07 +01:00
sivaramaaa
5897f03dfa fix #8718 , honor eval in /r (#8933) 2017-12-02 11:32:25 +01:00
pancake
d909c3d333 Add new command afi. to just get the function name 2017-11-28 11:37:49 +01:00
sivaramaaa
d1b1fcf701 Quick fix for macOS syscalls 2017-11-26 20:11:53 +01:00
pancake
e467c81fe1 Implement /ce to search esil expressions matching given string 2017-11-26 19:56:09 +01:00
pancake
1fcd2b1a3e Add /e? and fix arg parsing with no spaces like /e/foo/i 2017-11-26 01:47:53 +01:00
pancake
896ff27e6c Honor cfg.debug in /E and run aei if esil is not ready 2017-11-25 23:36:32 +01:00
pancake
4b67c37fd5 Fix #8816 - Honor search.in and cmd.hit in /V 2017-11-24 13:48:08 +01:00
pancake
a10b0b29c1 Fix in /s memleak and seek issues 2017-11-24 00:13:28 +01:00
pancake
cae26f7124 Fix /s warnings 2017-11-23 14:03:13 +01:00
sivaramaaa
e68c3e1c1a Implement the new /s syscall search command 2017-11-22 18:43:40 +01:00
pancake
37c7e0ebcb Fix /A regression 2017-11-11 11:14:33 +09:00
pancake
76067a6efa Fix infinite loop in /A 2017-11-10 08:07:05 +01:00
pancake
09a2a0a60c Fix /M infinite loop 2017-11-07 01:13:49 +01:00
pancake
2e08b0c91f Implement /M and enhance r_fs to autodetect filesystems 2017-11-06 23:32:08 +01:00
pancake
f75b5441c9 Fix automount and handle hfs from RBin 2017-11-06 23:06:54 +01:00
pancake
1f5050868e Fix #8765 - Honor ^C in /r 2017-10-31 15:40:46 +01:00
pancake
99a62bc930 Implement /ca 2017-10-31 11:57:34 +01:00
pancake
140e26143d Fix #8514 - Implement /c/a and make /c/ work properly 2017-10-31 01:54:27 +01:00
pancake
cd8e1037cd Fix #8721 - Implement /me 2017-10-24 18:15:40 +02:00
pancake
e9dcb4669b Fix warnings reported by gcc 7.2 2017-10-22 20:06:13 +02:00
pancake
14d1302c0e maxhits in /R is more accurate now 2017-10-20 12:33:33 +02:00
pancake
97b08535c4 Fix #8717 - Properly honor search.maxhits in /R 2017-10-20 12:17:39 +02:00
pancake
0595a68d4d Fix #7120 - Add read/write/exec /r subcommands 2017-10-17 00:03:34 +02:00
Rene Laemmert
960ed2c510 Fixes json result
In the current version for multiple matches the first result inside the json string misses the needet ',' .
2017-10-04 09:48:41 +08:00
Fangrui Song
c43e6880fb Refactor search (#8566)
* fix out-of-bounds read in r_search_strings_update
* Remove static variables searchhits maplist maxhits first_hit in cmd_search.c
* Change semantics of r_search_hit_new (update kw->count s->nhits in it), return 2 if search.maxhits is reached and stop searching immediately
* honor search.maxhits in r_search_regexp_update
* Refactor _cb_hit, remove bckwrds/do_bckwrd_srch and static cmdhit
* Fix mem leak in regexp.c
* Add support for /d (delta) /bd (backward + delta) when crossing blocksize boundaries
2017-09-20 17:00:18 +02:00
Fangrui Song
d190effb26 Remove search.count in favor of search.maxhits in /A , /R , and everywhere (#8538) 2017-09-18 02:04:01 +02:00
pancake
030a22ca6b Add search.in={io.sections.readonly,dbg.maps.readonly} 2017-09-18 01:19:24 +02:00
Fangrui Song
1c31b45ac5 Fix search.in=io.section (#8542) 2017-09-18 01:38:45 +02:00
Fangrui Song
82af47ba7c Respect cmd.hits in /A (#8539) 2017-09-18 00:15:12 +02:00
Fangrui Song
4358de43b2 Fix backward search and string search across boundary in search.overlap=0 mode and fix mem leak (#8537)
* Fix mem leaks in search
* Fix backward search and string search across boundary in search.overlap=0 mode and fix mem leak
2017-09-17 23:44:04 +02:00
Fangrui Song
835d432b06 Misc fixes to io and search 2017-09-17 01:42:56 +02:00
Fangrui Song
b59cc9ff36 Fix /F file offset 2017-09-17 01:10:53 +02:00
Fangrui Song
f6cf0dab04 Fix search.in=io.maps : search in non-overlapping RIOMap parts not overriden by others of higher priorities (skyline) 2017-09-17 01:10:53 +02:00