Commit Graph

555 Commits

Author SHA1 Message Date
pancake
1066c7a4f6 Fix uninitialized string in disasm.c and do not use of strcasestr 2014-01-10 18:45:51 +01:00
pancake
aeb681ea33 Fix #503 - expand home and fix sandbox check for 'wt' 2014-01-04 12:39:12 +01:00
pancake
6c2200c80b Fix build and some warnings 2014-01-04 02:06:36 +01:00
pancake
2475dc6d04 Optimize r_anal_reflines and r_anal_data_kind (disasm is now 7 times faster) 2014-01-04 01:59:23 +01:00
David Martínez Moreno
06ed8553c6 Properly propagate LDFLAGS in libraries.
Debian fills up LDFLAGS with hardening flgs but for some libraries this
 parameter is not additive to the value from the environment but hardcoded.
2013-12-31 23:56:59 -08:00
pancake
3b3bbbb916 Add more Jamroot files and move some plugs to r2-extras 2013-12-31 15:34:27 +01:00
pancake
dba63fbd3c Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
pancake
da33633680 Fix #491 - Project untrusted input
- Fix various project related issues
- Do not save in directories. Projects are file + file.d/
- Do not show division by zero issue (e cfg.foo=/bin/ls)
2013-12-28 02:34:15 +01:00
pancake
3a9b6c686f Fix asm/avr license and some coverity issues 2013-12-15 00:58:05 +01:00
pancake
5574d90ba1 Fix strbuf signature 2013-12-14 01:16:09 +01:00
pancake
a03dd04c42 Fix r_sys_pid_to_path for FreeBSD (thanks vsp) 2013-12-11 12:32:15 +01:00
pancake
160495aaeb Fix #440 - Invalid use of va_list in r_str_newf for huge strings 2013-12-10 00:47:23 +01:00
pancake
4bc74d0fb4 Fix 'cg' RCore's double-free issue 2013-12-09 05:23:06 +01:00
pancake
f76441b7e7 Fix some warnings 2013-12-09 04:56:13 +01:00
pancake
b97eecc06f RStrBuf setters return boolean for success 2013-12-08 02:47:55 +01:00
pancake
af6c71417a Show plugin path in r2 -hh, add r_str_rmch() inline 2013-12-04 02:35:10 +01:00
pancake
05d7188a9a Fix dynamic format string functions
- s/r_str_dup_printf/r_str_newf/g
- Add r_strbuf_setf()
2013-12-04 00:20:52 +01:00
pancake
d10d0c6516 Fixes for the strbuf api 2013-12-03 17:27:47 +01:00
pancake
8717542596 Add RStrBuf api 2013-12-03 04:46:53 +01:00
pancake
d02df0d306 Fix some issues reported by CoverityScan service 2013-12-03 00:14:59 +01:00
Adam Pridgen
519190801b Rewrote backward disassemble with a greedy backward algorithm, added a find api to rlist, label to bb struct 2013-12-02 00:09:22 +01:00
pancake
f0a45a556a Fix ^w segfault and many bugfixes for macro scripting 2013-11-30 02:47:29 +01:00
pancake
904751ce86 Fix some startup valgrind warnings 2013-11-25 00:45:18 +01:00
pancake
ceac926eb0 Fix #379 - RCons fill empty lines is wrong on utf8 2013-11-23 03:47:22 +01:00
pancake
456b72f85e Fix #380 - shell backticks segfaults 2013-11-22 18:20:15 +01:00
Adam Pridgen
a5ad388eb5 Cleaned up how the pd command process input. Added support for setting [len] [asm.arch] [bits] for all pd commands. 2013-11-22 08:45:13 -06:00
Fedor Sakharov
13547a0bbf Fix #370 - Some memory leaks
Fix memory leak in r_config_new.
  cfg->nodes->free should be a custom function that frees RConfigNode
  structure correctly, but not the ordinary free.
Fix memory leak in r_anal_new.
  In r_anal_free need to call r_meta_free to free the
  whole RMeta structure, not only it's data list.
  The r_meta_free doesn't seem to have any leak itself.
Fix leaking anal->hints.
Fix memory leaks in r_cmd_free
Fix memory leak in r_cmd_plugin_init
Fix memleak in r_lib_new
Fix memory leak in r_io_plugin_init
Fix memory leak in r_debug_trace_new
Fix memory leaks in r_io_new
Fix memory leak in r_graph_new
Fix memory leak in r_sys_getdir.
  Note: calling getcwd with dir=NULL is a Linux-specific extension
  of POSIX, not sure if works on other non-windows platforms.
Fixes a typo
2013-11-19 01:51:40 +01:00
pancake
30ebc8b8b3 More work to make zip plugin work 2013-11-14 23:22:56 +01:00
Adam Pridgen
0bc95a2fc4 Added the necessary libzip and libz files for opening zip files and reading and writing to them from memory via uri, added zip, apk, jar 2013-11-14 04:54:50 +01:00
pancake
1d8bd40ace Use sscanf again. strtoull is broken (fix testsuite) 2013-11-13 02:30:00 +01:00
pancake
42a8bb440e Fix #345 - fix some segfaults in yank and num.c 2013-09-05 05:10:57 +02:00
pancake
1b2ba18c0e Fix #270 - ragg2 crashs on false-conditions loops 2013-11-10 04:33:12 +01:00
pancake
9bb51ca329 Implement 'pcJ' to print block in Javascript 2013-11-06 02:37:25 +01:00
pancake
3918ccd63a p6 is now an alias for p6e. And fix 'pc' help 2013-11-06 02:24:02 +01:00
pancake
1cec548b68 Fix #288 - r_str_replace() - realloc invalid next size 2013-11-06 00:30:35 +01:00
pancake
1769a767cd Fix cpp warnings 2013-11-04 04:50:37 +01:00
pancake
d0f40d6e48 Aim to fix #208 and #288 - r_str_replace issue 2013-11-04 04:38:57 +01:00
pancake
2a909d6302 Fix #300 - (64bit dr= indentation) and fix r_sys_pid_to_path on linux 2013-09-05 01:44:05 +02:00
pancake
2f76003fd0 Another fix for asm.segoff 2013-11-04 04:07:58 +01:00
pancake
497cb0e2e1 Fix #57 - 'is' does not work for attached process 2013-11-04 03:30:46 +01:00
pancake
ede55b55c4 Fix r_mem_mem and handle 'K' in visual cursor mode to see manpages 2013-11-03 13:47:34 +01:00
pancake
724630896b Fix #301 - Invalid size: 5 while disassembling x86 TE binary 2013-11-02 12:14:39 +01:00
pancake
567bccae92 Fix #302 - Visual mode seeking in w32 sleeps longer 2013-11-02 12:10:25 +01:00
pancake
d900345a66 Fix #266 - [ragg2] exit on invalid input (again) 2013-10-28 02:05:18 +01:00
pancake
8cc4809c3a Refix for #288 and do not stop on invalid reflines 2013-10-27 02:20:36 +01:00
pancake
f2ce3f277b Fix off-by-one in r_str_replace 2013-10-26 23:53:50 +02:00
pancake
a72e7d34a1 Fix another overlapped strcpy 2013-10-25 00:31:09 +02:00
pancake
a7dff22c7e Fix strcpy on overlapped region 2013-10-25 00:29:00 +02:00
pancake
d814a5b01b Fix #264 - Add a command to display changed registers 2013-10-20 02:09:03 +02:00
pancake
b1140b99aa Fix 'pu'. Add 'pxw' and fix some 'pc' subcommands 2013-10-15 00:26:17 +02:00