Commit Graph

645 Commits

Author SHA1 Message Date
pancake
7a47a7c29c Some fixes for RLang plugins 2014-03-26 01:34:32 +01:00
pancake
aa30ed647f Fix #719 - Fixes in yank and uncrustify indentation rules 2014-03-22 00:37:25 +01:00
Adam Pridgen
b144099451 RCore yank_buf is now a RBuffer with a defined API. Tweaked RBuffer so it reallocs buffers correctly. Modified io_zip to write through on new files. 2014-03-20 13:09:37 -05:00
jvoisin
ea2363d926 Fix some coverity issues 2014-03-16 00:16:43 +01:00
pancake
fb98bc1335 More sdbization for comments and hints (-250LOC) 2014-03-12 02:44:49 +01:00
pancake
6bcdeb9430 Fix #688 - Fix overflow in r_str_escape 2014-03-10 01:06:50 +01:00
Fedor Sakharov
bb68fa072c util: Fix umask when making temp file 2014-03-09 00:01:04 +04:00
Fedor Sakharov
61193c6527 Fix coverity issues in r_util 2014-03-08 11:56:15 +01:00
pancake
f7bdfb2bbc Fix #575 - Thanks @montekki - plus other enhacements
- Use ↑ for utf8 backlines
- Support multiple RAnalMetas on every line in disasm.c
- Use sdb in disasm to retrieve RAnalMetas instead of api
2014-03-08 02:36:33 +01:00
pancake
784a1d2a72 Import radare2-capstone asm/anal plugins 2014-03-07 04:15:45 +01:00
pancake
7d1a63a545 Fix #585 - Segfault in echo q | r2 -d lib 2014-03-02 04:36:27 +01:00
pancake
fa7a304da3 Fix segfault in r_hex_str2bin 2014-03-01 23:17:52 +01:00
pancake
8d68b37b02 Add MOD operator '%' in RNumCalc 2014-02-26 19:42:56 +01:00
pancake
03b61eeb25 Implement AND, OR, XOR, NEG operations in r_num_calc() 2014-02-26 18:33:42 +01:00
pancake
ec58f84572 Add asm.bytespace=true config variable 2014-02-25 01:35:23 +01:00
pancake
2590e997b1 Fix r_sys_now() and implement scr.fps 2014-02-24 16:10:12 +01:00
pancake
fb3af59852 Oops. Fix typo in str.c 2014-02-23 16:37:24 +01:00
pancake
070bc97286 Fix #582 - Escape binary strings in output error message 2014-02-23 01:56:26 +01:00
pancake
9b9b04576f Purge all r_lib references 2014-02-20 22:16:23 +01:00
pancake
4bb63d4c2e Use dynamically allocated *next (+15% analysis speedup + better analysis) 2014-02-20 00:43:06 +01:00
pancake
e82b9473ec Fix #630 - Add /v1 and handle cfg.bigendian 2014-02-18 15:34:20 +01:00
pancake
c406144aa7 Fix build and implement basic, print_hexdump works with null instance 2014-02-16 03:11:41 +01:00
Zach Riggle
36518d2ae6 Fix clang build (unicode characters outside of literals) 2014-02-15 20:47:46 -05:00
condret
0a8fd8b931 Merge condret's GameBoy pull request
- Update analysis
- Add p2 (2bpp print command)
- Insert more auto comments for gb roms
- Delete mbc
- Handle gb-halt as cjmp (correct in most situations)
- Update gameboy register profile
- Add symbols for hard-interrupt-handlers
2014-02-10 17:02:43 +01:00
pancake
90264229c9 Add Vo, fixes in $sys in RAsm, new io.self plugin, initial work on preloaded r2 2014-02-10 03:31:12 +01:00
Fedor Sakharov
18d7167f63 dwarf: Implement it. 2014-02-08 14:08:07 +04:00
pancake
8b40a53080 Update sdb from git and fix 'test.cparse' 2014-02-08 03:09:03 +01:00
pancake
2c676570a9 Merge branch 'master' 2014-02-06 00:27:08 +01:00
pancake
9a099e9e9e Add RAsmPlugins->cpus and handle it in rasm2 -L <arch> 2014-02-06 00:26:17 +01:00
Ilya V. Matveychikov
969ea9b7c2 TMS320: move c55plus under the TMS320 namespace
Sorry for the huge patch, but there is nothing special. We just move
asm/arch/c55plus into the asm/arch/tms320 and add some wrappers to use
existing code base under the new namespace.

Also, we've implement TMS320 anal module that supports now c55+ only. To
be continued...
2014-02-06 01:19:23 +04:00
pancake
e7783173c7 Fix #588 drx segfault 2014-01-12 02:16:56 +01:00
pancake
571ba82ab6 Many bugfixes related to 'drx'. Still not working on linux 2014-01-11 23:48:55 +01:00
pancake
891a1e5bb8 Implement 'drx' command in RDebug plugin backends 2014-01-28 04:08:10 +01:00
pancake
579856e7b9 Implement 'wu' and add support for nocolor in 'cu' 2014-01-26 04:33:21 +01:00
pancake
4672c2d866 Fix short jmp assemble in x86.nz, add rasm2 -O <outputfile> 2014-01-26 01:58:25 +01:00
pancake
666ab166d1 Add 'cu' and 'arC', better 'cc' 2014-01-24 02:37:14 +01:00
pancake
6656f8d0fa Some more cleanup and rmeta fixes 2014-01-23 04:00:01 +01:00
pancake
99a6dec209 Fix r_file_is_directory() 2014-01-21 02:08:51 +01:00
pancake
cacb12cafc Fix opening block devices (S_IFDIR wtf) 2014-01-20 15:04:16 +01:00
pancake
802e808072 Merge libr/lib into libr/util and add r_sys_environ API 2014-01-18 02:42:23 +01:00
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
pancake
d8e41ac26b Fix code analysis issue (code vs data) 2013-10-12 02:19:01 +02:00
pancake
342e5db5ec Fixes for r_num_to_bits() 2013-10-11 04:25:46 +02:00
pancake
d100e603c9 Fix #157 - sandbox issue in webui
- add 'f' and ':' print formats
- fix nocolor disasm artifact
- add VW command to launch webui
- rename sN to sp (seek to previous hit)
2013-10-09 00:29:49 +02:00
pancake
653881eb3a Merge and fix jvoisin #235 #236 2013-10-04 13:57:49 +02:00
pancake
ab3c27bda3 Fix iOS build 2013-10-01 17:14:50 +02:00
jvoisin
d8603f2502 Remove spagetti code 2013-10-01 01:08:18 +01:00
jvoisin
da002cc95d Fix a memory leak 2013-09-27 18:57:07 +02:00
pancake
0f2fd99986 Fix some warnings and add a specific plugins.cfg for emscripten 2013-09-15 23:57:22 +02:00
pancake
5372d0acb2 Add 'woR' and 'dd-' commands. Update enyo and add missing PNGs. 2013-09-15 02:24:23 +02:00
pancake
ae97789986 Fix lot of warnings 2013-09-14 14:04:08 +02:00