35 Commits

Author SHA1 Message Date
alvarofe
2e462ec8f0 Bring RIODesc from SIOL and cleanup 2017-08-18 01:31:57 +00:00
Roi Martin
8d5b1b5418 Fix build 2017-03-13 14:24:53 +01:00
Roi Martin
e97444c3f0 Create flags in z/ . Revert changes in keyword.c 2017-03-13 11:38:23 +01:00
Roi Martin
488b688636 Implement zign search using r_search. Minor fixes
Note: Current implementation must be refactored and moved to r_sign.
2017-03-13 11:38:23 +01:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
d472d73fb7 Fix #3245 - rafind2 -x 2015-09-07 19:16:24 +02:00
pancake
f182a726df Fix search hit between blocks bug. Needs rework 2015-06-03 12:16:50 +02:00
pancake
a417b571fb Fix all search tests 2015-05-26 01:41:46 +02:00
pancake
0ab39f5c22 Add help for /x? and fix hexpair parsing with binmask 2015-05-07 00:46:41 +02:00
Nick Stephens
4f15eea06d Fix #1945 - Add wide string search to rafind2
Fix styling issues in r_search_keyword_new_wide
2015-02-04 03:28:28 +01:00
jvoisin
ce9ece1177 Coverifix++ 2015-01-16 00:56:54 +01:00
Kamil Rytarowski
aadbd0f868 Fix GCC warnings: array subscript has type 'char'
Reported at NetBSD-current/amd64
GCC 4.8.4 (nb1 20141012)
2014-12-04 03:26:08 +00:00
trndr
56ce7b216c Fix regex search 2014-11-26 10:25:56 +01:00
NighterMan
82b0626fb0 Fix for crash when using regexp searches
Since commit baf31455989ce1b3b2268e0d80e6b90b002afa9a buffers for
bin_keyword and bin_keymask at RSearchKeyword structure need to be
allocated dynamilly. The allocation was missing causing a crash.

Added check to avoid empty regexp filters
2014-10-13 16:26:52 +02:00
pancake
baf3145598 Use dynamically allocated buffers for RSearchKeywords 2014-09-30 12:04:02 +02:00
LemonBoy
b7f73620d1 fix the regexp engine 2014-06-05 00:00:33 +02:00
pancake
84e1bc6eb5 Some fixes for the latest rsearch changes 2014-06-04 22:18:02 +02:00
LemonBoy
9a9c5e750a simplify the search engine 2014-06-04 20:03:06 +02:00
pancake
aa1e7c22fc Fix #906 - Error in nibble search 2014-05-09 10:50:57 +02:00
Anton Kochkov
16bac23901 Fix CID 1194800 2014-04-29 06:08:38 +04:00
Anton Kochkov
c551f3d2e5 Fix CID 1134724 2014-04-26 01:53:24 +04:00
pancake
d02df0d306 Fix some issues reported by CoverityScan service 2013-12-03 00:14:59 +01:00
pancake
07929b169d Add Quiet and JSON in RCoreBin, more awk, fix rafind2
Use rabin2 -j flag to get JSON output
You can also get those jsons using the i?j command
Better awk bindings and added some examples
rabin2 -v (without any other arg) shows version
Fix some segfaults in rafind2 and use RList
Add quite output mode for rabin2 (activated with -q)
2012-11-02 03:35:50 +01:00
pancake
62b2518250 Add support for keywords of half-byte, fix iova bug in search
Add support for nibble-level search keywords
Fix rio.va search issue (r_io_read_at is broken)
2012-09-07 04:12:24 +02:00
pancake
afbda180d5 Add visual search and enhace search output
- e search.show = true # by default
- add keyword type (string, binary)
- visual search only works in cursor mode
2012-08-02 01:50:39 +02:00
pancake
8587dbab20 * Fix w32 build
* Apply rudi_s patch fixing some new valgrind warnings
2012-02-14 18:10:01 +01:00
pancake
1947f0dece * Fix o- segfault
- Problem in r_io_desc_free called twice
* Compact ??? help
* Random indentation fixes
* Added support for binmask searches
  - /x 123456 ffc0e3
* Added BLOCK and BYTES in r_core_sysenv_begin()
* Hacky fix for autoblocksize with pw
2012-02-09 01:38:16 +01:00
pancake
259d14940e * Implement R_SEARCH_DELTAKEY
- Accessible with /d search command
* Code cleanup in TinyPE
* Implement rasc2 -o
2011-07-26 09:34:10 +02:00
pancake
e94e4a251f * Fix null pointer segfault when keyword creation fails 2011-06-09 11:56:32 +02:00
pancake
37464fa7f5 * Fix some glitches in r_cons_column
* Bring back the ';' prefix for comments
* Added sf/sF commands to seek next/previous scr.fkey
* Implement /i to search strings ignoring case
* Fix '@' invalid reads issue
* Added 'cmd.cprompt' for column prompt in visual
* Add 'search.kwidx' to store last search index count
* Added 'ee' to edit with cfg.editor the value of an eval variable
2011-05-21 15:45:43 +02:00
pancake
a358d38e50 * Added support for binarymask hexpairs to search and signatures
> s 0&&./x 6c..62&&p8 3@@hit
  > zb function 89e55383ec....38 # binary mask inline
  - works like r_hex_str2bin, but converts binary mask and keyword
* RSign now uses r_cons_printf from core.
* FunctionPrintf typedef to bypass some warnings
* Added r_mem_eq
2010-04-08 18:01:45 +02:00
pancake
f2563a7509 * Export 'srwx' perms of sections in rabin2 -rS
- Handled by 'S' command
* Added dummy 'z' command to handle zignaturez
  - Added more dummy 'az' commands
  - RCore now depends on RSign
* Some refactoring and speedup in _update method of RSearch
  - Added support for distance search (maybe buggy and incomplete atm)
  - Fix binary mask for keywords after previous commit
* Added 'r_str_rwx*' helper functions in r_util
2010-04-08 12:29:47 +02:00
pancake
929fb8cc2d * Refactor SearchKeyword API
- simplified and cleaned one
  - sync codes using it
2010-04-06 13:02:21 +02:00
pancake
c2bc7e0377 * Initial split of r_search_keyword
* Fix -soname of osx linker (-install_name)
* Added OSX build instructions in doc/osx
2010-04-05 22:49:22 +02:00