Commit Graph

687 Commits

Author SHA1 Message Date
fr33tux
3d801f90ff Remove r_list_destroy, replaced it by r_list_purge 2014-05-03 01:27:10 +02:00
pancake
44f43eb42b Use MAKE_JOBS in more places 2014-05-03 01:23:12 +02:00
deeso
14354feb61 fixed MMap Read-Write issue in io plugins and RBuf 2014-05-02 16:43:47 -05:00
deeso
3adcb54f17 Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed 2014-05-01 20:13:57 -05:00
pancake
7028b225bd Added 'VV' command to run the visual graph mode 2014-04-29 03:54:20 +02:00
pancake
d7ff0e46be Implement 'ej' to dump config in json and update uncrustify 2014-04-28 11:54:01 +02:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
Judge_Dredd
3158cc9d1c fix #822 & related mess 2014-04-28 11:36:55 +02:00
Anton Kochkov
0f14e3352c Fix DWARF parsing 2014-04-27 03:57:53 +04:00
Anton Kochkov
afedcc0074 Fix CID 1135011, 1195065, 1134730, 1134754, 1134907, 1134758 2014-04-27 01:06:13 +02:00
deeso
3e412605e3 Fixed: 1205190, 1205200, 1205191, 1205199, 1205198, 1205197, 1205196, 1205195 2014-04-25 14:21:20 -05:00
Anton Kochkov
008af29003 Fix CID #972173 2014-04-25 05:40:30 +04:00
Anton Kochkov
633043ae8f Fix CID #1134677 2014-04-25 05:36:16 +04:00
Anton Kochkov
f1e2ffa2ca Fix CID #1134712 2014-04-25 05:24:21 +04:00
Anton Kochkov
dff80a870b Fix CID #1134716 2014-04-25 05:18:29 +04:00
Anton Kochkov
3f4d7bdf34 Fix CID #1134755 2014-04-25 05:18:29 +04:00
Anton Kochkov
bca86df493 Fix CID #1134856 2014-04-25 05:04:44 +04:00
Anton Kochkov
5e8305e7a6 Fix CID #1134893 2014-04-25 05:01:42 +04:00
Anton Kochkov
e0c0e18ee6 Fix CID #1134958 2014-04-25 04:58:48 +04:00
Anton Kochkov
e7d75ab994 Fix CID #1135011 2014-04-25 04:56:37 +04:00
Anton Kochkov
52cc6ccce4 Fix CID #1135067 2014-04-25 04:52:47 +04:00
Anton Kochkov
06057c3945 Fix CID #1135068 2014-04-25 04:48:31 +04:00
Anton Kochkov
9864220150 Fix CID #1135101 2014-04-25 04:42:05 +04:00
Anton Kochkov
41aa422a8a Fix CID #1135168 2014-04-25 04:37:18 +04:00
Anton Kochkov
0146be4273 Fix CID #1135634 2014-04-25 04:31:47 +04:00
Anton Kochkov
14f3c113d3 Fix CID #1195065 2014-04-25 04:19:34 +04:00
Fedor Sakharov
179147bf77 util: Read strings from file correctly 2014-04-21 19:22:37 +04:00
Adam Pridgen
ea94ae5c2c Fix CID: 1204243, 1204247, 1204246, 1204245, 1204244 2014-04-20 23:55:50 -05:00
deeso
a1e81a4cbd refactored some of cmd_hash 2014-04-20 17:22:51 -05:00
Anton Kochkov
b257f06a9c Fix CID #11351131 2014-04-20 03:33:59 +04:00
pancake
b7ac099d2d Add 'pxd' for base10 hexdump 2014-04-12 01:14:13 +02:00
pancake
77b2e5fcc2 Fix hex.cols=1 infinite loop 2014-04-09 05:12:26 +02:00
pancake
3cc4187fc6 Add 'pca' to print code asm line 'ps' in r1 2014-04-11 00:34:48 +02:00
pancake
bb531643ca Fix asm.arch=? asm.cpu=? and add hex.pairs option 2014-04-10 22:18:26 +02:00
pancake
10f2439c5d Update sdb and fix #777 - pxq and pxw honors cfg.big_endian 2014-04-10 19:18:21 +02:00
pancake
5091fa0887 Fix segfaults and minor changes in m68k disasm + anal, webversion is not 2014-04-06 03:29:29 +02:00
Adam Pridgen
b182b23b40 fixing the following coverity issues, which entails the issue with print and most of the java issues:
1196398, 1196403, 1196402, 1196401, 1196400, 1196413, 1196415, 1196414, 1196411
2014-04-05 00:39:17 -05:00
Adam Pridgen
3048a34783 Trying to fix mem-leaks, and allow updating of bin object infos 2014-04-03 14:04:07 -05:00
Adam Pridgen
6bc694f873 Added colorization to pdn and added a dead code warning if all the bytes in a method are not consumed during analysis. 2014-04-01 16:22:56 -05:00
pancake
796bb19cfd Implement ?x- command to decode hexpair strings 2014-03-31 17:16:27 +02:00
Jann Horn
d0fb7bb687 Fix r_sandbox_check_path – there were ways to perform directory traversal.
- The function failed to catch the case that the path ends with "..",
   allowing the contents of the directory one path component above the
   cwd to be listed. This is probably not very interesting.
 - The function did not check for ".." components in the path if it
   starts with R2_WWWROOT, leading to full directory traversal (example:
   /usr/local/share/radare2/0.9.8.git/www/../../../../../../etc/passwd
 - Use strncmp instead of memcmp
 - Handle relative webroot paths properly
 - Check for empty R2_WWWROOT
2014-03-27 00:32:43 +01:00
pancake
13fb09ee5f Update sdb from git and sync base64 fixes 2014-03-26 23:17:40 +01:00
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