radare2/libr/include
Fangrui Song 813e415a1c Fix #8189 - refactor search.c (#8195)
* fix r_search_mybinparse_update when locating `a+a+b` in `a+a+a+b` where len(a) > 1, e.g. locating `ababc` in `abababc`
* fix /d (r_search_deltakey_update) with same issue
* fix search.distance
* fix binmask
* swap the order of the nested loop
* add RSearch::maxhits . More work later
* add RSearch::data for data used by matching algorithm

before:
  for (i = 0; i < len; i++)
    r_list_foreach (s->kws, iter, kw)

after:
  r_list_foreach (s->kws, iter, kw)
    for (i = 0; i < len; i++)

rationale:
  + searching for more than one needles is rare. the branches used in inner loop harms performance
  + it's cumbersome to bookkeep for each `kw` in advanced searching algorithms
2017-09-13 11:48:59 +02:00
..
msvc MSVC compile correctly (WIP) 2017-05-13 00:42:00 +02:00
r_util Add include/r_util/r_addr_interval.h (#8475) 2017-09-12 01:12:41 +02:00
sdb Update sdb from git 2017-08-26 02:26:16 +02:00
sflib Enhance ragg2-cc to support -a arm -b 64 -k darwin (iOS) 2017-01-29 02:36:50 +01:00
btree.h Fix doublefree in btree and use-after-free in windbg 2015-11-02 12:32:31 +01:00
getopt.c * QNX/arm port (this is bb10 and playbook devices) 2012-06-01 14:50:24 +02:00
r2naked.h Use void in prototypes (#7972) 2017-07-20 10:48:55 +02:00
r_anal_ex.h Fix static build 2014-06-25 04:11:43 +02:00
r_anal.h Move {RAsm,RAnal}::addrbytes to RIO::addrbytes, delete asm.addrbytes and make cLEMENCy work again (#8432) 2017-09-04 21:41:09 +02:00
r_asm.h Move {RAsm,RAnal}::addrbytes to RIO::addrbytes, delete asm.addrbytes and make cLEMENCy work again (#8432) 2017-09-04 21:41:09 +02:00
r_bin_dwarf.h Increase DEBUG_ABBREV_CAP from 16 to 32. (#5014) 2016-05-26 16:57:29 +02:00
r_bin.h Boolify r_bin_wr_output (#8412) 2017-09-04 02:59:53 +02:00
r_bind.h Fix #8115 - PoC for the Visual Split mode 2017-08-03 14:52:59 +02:00
r_binheap.h Add io->map_skyline as an RVector of uncovered map parts to enable optimization of r_io_v{read,write}_at in the future (#8332) 2017-08-27 18:05:58 +02:00
r_bp.h Fix #8290 - Fix build on old compilers 2017-08-27 18:33:49 +02:00
r_cmd.h More cfg.newtab=1 completion and misc fixes to help messages (#8184) 2017-08-11 11:45:32 +02:00
r_config.h Added ev and evj command 2017-04-28 02:07:32 +02:00
r_cons.h Fix node and edge overlapping issue in graph mode (#7948) 2017-09-12 15:41:30 +02:00
r_core.h Move fortunes to libr/core/fortune.c (#8424) 2017-09-12 00:41:07 +02:00
r_crypto.h Initial support for the Meson build system 2017-05-02 05:05:36 +02:00
r_debug.h Implement RIODescData and adjust RIOMach to work with it 2017-09-11 01:24:13 +02:00
r_diff.h Bring back the levenstein and fix previous commit 2017-09-13 10:25:13 +02:00
r_egg.h Remove r_db.h 2017-02-24 23:42:17 +01:00
r_endian.h Add PDP/ARM middle endian functions (#8046) 2017-07-27 22:29:06 +02:00
r_flag.h Use skiplist for offset->flag mapping instead of hashmap. 2017-07-24 01:52:00 +02:00
r_flist.h Implement Pn+, and fix bugs (thx clang-analyzer) 2017-04-10 00:49:02 +02:00
r_fs.h Initial implementation of fs.squash and merge squashfs-tools 2016-03-30 16:01:24 +02:00
r_hash.h Integrate crca in rahash2 and r2 2017-04-11 22:47:16 +02:00
r_heap_glibc.h [linux_heap_glibc] Implemented dynamic global_max_fast resolution (#7512) 2017-05-18 11:56:06 +02:00
r_heap_jemalloc.h first PR heap jemalloc analysis 2017-08-03 13:08:21 +02:00
r_io.h Implement r_io_map_reset and new command omm 2017-09-13 00:23:26 +02:00
r_lang.h Modify RLang plugins for Py2/py3 support 2017-05-28 01:50:08 +02:00
r_lib.h Add free to RLibStruct & RLibPlugin. (#7991) 2017-07-23 23:35:45 +02:00
r_list.h r_list_foreach macros should not stop at an element whose data is NULL (#8231) 2017-08-19 17:23:29 +02:00
r_magic.h Arch independent data in share (#6183) 2016-11-12 11:08:34 +01:00
r_parse.h Fix #6411 - pseudo for AVR (#7978) 2017-07-20 21:36:26 +02:00
r_pdb.h MSVC compile correctly (WIP) 2017-05-13 00:42:00 +02:00
r_print.h Add ?eb to print portionbars 2017-09-03 01:42:45 +02:00
r_qrcode.h Initial support for qrcode in 'pq' and 'pqz' commands 2017-07-17 19:05:24 +02:00
r_reg.h Add r_reg_{get,set}_value_by_role and fix "aef" because "PC" is not available on every arch (#8326) 2017-08-27 01:10:19 +02:00
r_regex.h Fix regoff_t conflict 2016-02-21 03:45:41 +01:00
r_search.h Fix #8189 - refactor search.c (#8195) 2017-09-13 11:48:59 +02:00
r_sign.h Use void in prototypes (#7972) 2017-07-20 10:48:55 +02:00
r_skiplist.h Use skiplist for offset->flag mapping instead of hashmap. 2017-07-24 01:52:00 +02:00
r_slist.h Bring back the interest on sys/indent.sh 2017-02-10 02:05:58 +01:00
r_socket.h Fixed meson build (#8358) 2017-08-28 15:09:58 +02:00
r_syscall.h Fix sdb_load in r_syscall 2017-06-27 23:42:41 +02:00
r_th.h Fix #7355 - json indent with color glitch 2017-04-26 11:21:52 +02:00
r_types_base.h R_PACKED tcc fix 2017-08-22 18:09:41 +08:00
r_types.h Use void in prototypes 2017-09-08 01:15:05 +08:00
r_userconf.h.acr Disable jemalloc for old mac-ppc builds, so much crappy code 2017-08-28 20:49:33 +02:00
r_userconf.h.in Fixing meson build (#8178) 2017-08-10 17:04:13 +02:00
r_util.h add interval api 2017-09-07 15:19:17 +00:00
r_vector.h Add io->map_skyline as an RVector of uncovered map parts to enable optimization of r_io_v{read,write}_at in the future (#8332) 2017-08-27 18:05:58 +02:00
r_version.h.in Fixed meson r_version creation + reorder (#7909) 2017-07-14 13:13:18 +02:00
sdb.h Update sdb to 0.5, sdb is now public api 2012-09-04 01:46:12 +02:00