50 Commits

Author SHA1 Message Date
alvarofe
e506bc608e Get rid of r_strht.h 2017-02-24 23:42:17 +01:00
alvarofe
623aed3163 More work into ht replacement 2017-02-24 23:42:17 +01:00
alvarofe
3e463d8069 Use ht_* in strht.c 2017-02-24 23:42:17 +01:00
alvarofe
8695dbf3b5 Use ht_* in mixed.c 2017-02-24 23:42:17 +01:00
pancake
b7c192af29 Fix #6821 - Use (void) instead of () 2017-02-20 12:38:10 +01:00
pancake
a1164822c0 Drop \r in asn1|pkcs7|x509 and fix r2b 2017-02-19 01:58:51 +01:00
Giovanni
1f64c47c05 Add ASN1, X.509 and PKCS parsers (+ iC for PE) 2017-02-18 00:07:01 +01:00
William D. Jones
2603cbf310 Improve Windows search path for sdb (#6802)
* Add r_sys_get_src_dir_w32 function
* Fix Windows search path for sdbs in pe.c and cbin.c
2017-02-17 04:31:20 +01:00
SchumBlubBlub
a7c2f430d9 Add r_buf_set_bytes_steal to eliminate copying and reduce memory usage 2017-02-10 18:14:26 +01:00
Álvaro Felipe Melchor
d8fa8c9475 Coding style fixes while reviewing code 2017-02-08 23:01:42 +01:00
condret
3dee0cb665 implement id-storage-API 2017-02-07 01:55:24 +00:00
SchumBlubBlub
6c00c9e2d5 Reorganize string macros 2017-02-06 00:00:03 +01:00
Polshakov Dmitry
249532bf53 Add support non-numeric signal numbers in RRunProfile (#6558)
* Add support non-numeric signal numbers in RRunProfile
* Add signal util module
* Remove old `signal_resolve` implementation
2017-02-02 14:34:44 +01:00
pancake
dc203aeb27 Fix build 2017-01-24 00:50:22 +01:00
pancake
5ca1be956d Implement radiff2 -i, fix -z and add -u/-U
* Unified support using:
  - internal bindiffer
  - using system's diff program
* Compare list of imports or strings of given files
* Add proper apis to handle all this
* Automatic hexdump when comparing binary buffers (-U)
* Update documentation
2017-01-09 03:18:14 +01:00
pancake
c2abb6ab2f Initial refactoring of the r_syscmd APIs and begin with binr/r2bb 2017-01-03 03:48:55 +01:00
pancake
4cb9df1cc5 Add r_sys_tts and cfg.fortunes.tts (only for OSX atm) 2016-12-21 01:46:19 +01:00
Álvaro Felipe Melchor
d6d453b4a1 renamed gum_read_sleb128 to r_sleb128
this API has been borrowed from the awesome Frida project
2016-12-16 13:38:36 +01:00
h4ng3r
85052941cf fix some coverity issues for dex format 2016-12-16 00:04:10 +01:00
Marc
c585f91439 Dalvik analysis and bin parsing enhancements (#6320)
* Initial work to enhance the dalvik analysis with rbin info
* fix ptr addr in new-instance instruction in Dalvik Anal (#6082)
* dalvik anal:fix ptr addr in new-instance
* first ESIL instructions for Dalvik
* more ESIL instructions for Dalvik
* parse more data in dex format
* code refactor and several fixes
2016-12-15 00:14:33 +01:00
pancake
7b94a79dcd Initial support for C++ classes extracted from the demangler 2016-11-22 14:20:52 +01:00
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
pancake
aba4ca918f Fix #6222 - ej valid JSON format 2016-11-20 23:15:12 +01:00
pancake
d75aabc4f7 Initial speedup for dwarf 50s -> 0.4s, wip 2016-11-15 22:01:08 +01:00
Álvaro Felipe Melchor
ae2888dbc7 add r_str_nlen_w to get wide or ascii len
we already have r_str_nlen and r_wstr_clen to get either ascii string or wide
string length but in some cases such as defining string with 'Cs' or 'ds' from
visual mode we do not know if is a wide or ascii so r_str_nlen_w try to detect
and is prone to errors.

We should rename those API and maybe introduce new command to handle both cases
correctly without guessing and letting the user to chose the best
2016-11-07 23:31:22 +01:00
Álvaro Felipe Melchor
1f4a0bcd4b Fix regression in visual graph mode 2016-11-02 13:21:21 +01:00
Álvaro Felipe Melchor
f40328b89a some cleanup and update r_core_anal_get_bbaddr 2016-11-01 23:52:42 +01:00
Álvaro Felipe Melchor
a2befc8adc Enhance performance in r_anal_fcn_get_in() using tinyrange and sorted adds
* added sorted parameter in r_list
* use r_list_sort in r_range_sort
* some clean up
* added is_data into RBinSection
* use tinyrange by default to improve speed
2016-10-25 01:12:06 +02:00
Álvaro Felipe Melchor
44d9048169 Fix #5986 - use RStack in r_cons_push/pop
clean up cons and stack code
extend RStack to have free function
use RStack in r_cons_push/pop
2016-10-19 00:11:05 +02:00
pancake
9f4c8768a7 Implement prj.files and fix some bugs in project listing and saving 2016-10-17 23:58:39 +02:00
pancake
cea2c80d56 Show flags in dm, add dmq and add resolver in rnum 2016-10-16 02:34:54 +02:00
BlueC0re
8a5b5ae7b7 added support for escape sequences in r_num_as_string (#5897) 2016-10-06 11:24:39 +02:00
Riccardo Schirone
888841ee33 util: fix debruijin arguments meaning and uses (#5914) 2016-10-05 02:43:04 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
4df85046fd Add r_buf_resize and make ihex:// .resize() work 2016-09-15 17:19:39 +02:00
BlueC0re
d6708032b5 added r_str_{ends|starts}with to header (#5743) 2016-09-13 12:29:20 +02:00
Tiago Gasiba
f0a2d8657d Add support for conditional breakpoints running r2 commands 2016-09-01 19:11:46 +02:00
pancake
e04498ac02 Add rabin2 -X and r_bin_package for FAT and ZIP 2016-08-30 04:26:20 +02:00
Sebastien Marie
4c7f2e722e r_sys_mkdir() is now a function instead of a macro to properly check the sandbox 2016-08-28 22:14:28 +02:00
Rakholiya Jenish
a461d53397 Implement stack based splitting of args
* stack based splitting of args
* fix r_str_rchr
2016-08-24 16:33:45 +02:00
pancake
56844d68f3 Rollback the tinyrange optimization 2016-08-21 03:07:19 +02:00
pancake
1bdb2c9f93 Add and use tinyrange.c: get 10% speedup in analysis 2016-08-21 01:41:03 +02:00
Maijin
80171b0dc5 Cleaning r_util.h 2016-07-27 16:55:20 +02:00
Álvaro Felipe Melchor
7fb29d7e97 added two missing funct declaration into r_num.h 2016-07-12 23:14:30 +02:00
Jeffrey Crowell
9fd13fba06 move some string related macros to r_str.h 2016-07-11 23:00:55 -04:00
Jeffrey Crowell
0cb7dd6c77 style guide for declarations of functions 2016-07-10 19:54:31 +00:00
Maijin
306a790187 Separate more r_* from r_util 2016-07-10 15:02:01 +02:00
Maijin
a38aec4568 Separate more r_* from r_util 2016-07-10 14:22:15 +02:00
Jeffrey Crowell
fa75406fa2 move r_graph header out of r_util.h 2016-07-09 19:59:37 -04:00
Jeffrey Crowell
13f52c16f7 separate debruijn to it's own header file (#5318) 2016-07-09 11:58:30 -04:00