Commit Graph

775 Commits

Author SHA1 Message Date
pancake
c2f54e700c ragg2 use system default asm.bits 2014-10-18 04:05:54 +02:00
pancake
0b322f5e99 Fix r2 -d ./ls 2014-10-16 10:45:33 +02:00
pancake
0e0dc63aa8 Fix r2 -d problem not loading syms. Redo the ASLR/PIE again 2014-10-15 15:41:02 +02:00
condret
d8e98cf3a3 fix identation for bugfixing purposes 2014-10-10 10:56:15 +02:00
jvoisin
b4a56e3fbb Add some comments to ragg2-cc 2014-10-09 21:53:44 +02:00
pancake
abd7bcda90 Hackaround for pie bins 2014-10-08 01:54:09 +02:00
pancake
38127e9f43 Load one rbinobj per file. Fix r2 *, ob help and a coverity memleak 2014-10-07 10:49:29 +02:00
pancake
a842ef2a94 Fix #1479 - r2 -- respects the other parameters now 2014-10-07 01:18:16 +02:00
condret
4f70c1bf89 kill RCoreFile->size 2014-09-30 15:31:19 +02:00
Jonathan Neuschäfer
49504c7eb7 fix r2agent when run without -s 2014-09-28 03:30:29 +02:00
pancake
b53eb9222d Fix crash in rabin2 -g (thanks @condret) 2014-09-26 17:55:35 +02:00
pancake
d176cb1d01 Fix rax2 2014-09-26 17:11:10 +02:00
condret
ab4a5c9632 deprecate RCoreFile->uri 2014-09-25 18:18:07 +02:00
pancake
34365c7bb3 Handle cparse definitions in rbin sdb 2014-09-23 10:23:28 +02:00
pancake
1519a053fd Disable scr.color in r2 -0 2014-09-22 23:07:06 +02:00
pancake
f73ecd35dd No Flag Space by default 2014-09-22 17:52:01 +02:00
pancake
6d8b9608a7 Add doc for that new rax2 thing 2014-09-22 16:40:08 +02:00
pancake
a095ad7a42 Fix #1356 - rax2 =10 0x89984 or rax2 =16 ... 2014-09-22 16:35:23 +02:00
pancake
4c4173769b Revert "Fixing the issue where file size exceeds size of an integer":
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
pancake
94a1841b12 Add 'r2 --' to load no file at all. 2014-09-20 12:51:03 +02:00
Jonathan Neuschäfer
0e6d969e60 Make webui and r2agent a little more ASan-friendly, use strncmp. 2014-09-18 18:56:57 +02:00
dso
e2afa84443 Update radiff2.c 2014-09-18 09:03:42 -05:00
dso
0761955fdb Update rahash2.c 2014-09-18 09:02:49 -05:00
Adam Pridgen
135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
Jonathan Neuschäfer
c9cfac35a1 Don't say "See r2 -V" in r2 -V
We could also remove this message from r2 -V altogether, but I'd rather keep
it in.
2014-09-13 00:17:37 +02:00
pancake
ef40e971a7 r2 -A and -c execution order 2014-09-12 13:01:38 +02:00
pancake
2369bad71a Fix code analysis loop and add anal.esil mode for r_core_anal_fcn() 2014-09-12 02:37:49 +02:00
pancake
8110fefc9f Implement aek, aef, Add scr.responsive, esil.status and esil.romem config vars
- Features scr.responsive
- Fix a bug in rarun2 when using a profile
- Update sdb to fix another null deref
2014-09-11 04:18:23 +02:00
condret
ec3df92770 kill r_core_file_t->filename 2014-09-09 17:02:25 +02:00
pancake
777b26fd6e Add r2 -z and r2 -zz: Fix the bin.strings and bin.rawstr logic. 2014-09-08 23:29:50 +02:00
pancake
7fde96ea63 Add some header structs for MACH0 and fix some for ELF (rabin2 -rk '' related) 2014-09-08 12:20:50 +02:00
pancake
a8d3136bd3 Working demo for 'r2 -nn ..'. See 'pf.' and 'fs *;f' 2014-09-08 04:37:34 +02:00
pancake
4bcb57955f Initial test exposing elf headers into Sdb and fix crash in bin-any 2014-09-08 04:17:38 +02:00
pancake
af12fc502a Show nice error message for r2 -w /bin/ls 2014-09-08 00:01:39 +02:00
pancake
4c5cb65147 Fix $ r2 -w /bin/ls 2014-09-07 23:57:26 +02:00
condret
5c4a5ab5bb make rafind2 using r_io_pread instead of r_io_read_at 2014-09-06 23:40:52 +02:00
condret
7ce6922491 rename r_io_open -> r_io_open_nomap and add a new r_io_open that creates a map at 0x0 2014-09-06 23:08:16 +02:00
condret
8296cf75ea make rahash2 using pread directly/ fix rahash2 -a all bug for vio 2014-09-06 01:40:49 +02:00
pancake
30acdbf50c Refactor debruijn code and make it accessible from ragg2 -P 2014-09-05 16:03:40 +02:00
pancake
39b9e14161 Fix rabin2 -K help message instead of version 2014-09-04 23:56:45 +02:00
pancake
dbf2603829 Disable wheel when running with r2 -q 2014-09-03 23:19:55 +02:00
pancake
cf664a9f22 Better r2 -P and refactor 'r_core_patch' to accept a string instead of file name 2014-09-03 23:00:38 +02:00
pancake
e87dff3e92 Update to use latest rabin2 -p from r2 -t 2014-08-29 18:48:57 +02:00
pancake
8204e78c3f Fix RBin & RLang related crashes (fix lot of memleaks and dblfrees) 2014-08-29 16:27:44 +02:00
pancake
67171b86a5 Hackaround to get r2 -B0 working. 2014-08-28 00:19:51 +02:00
pancake
d2248ba7bf cleanup 2014-08-27 23:51:17 +02:00
pancake
3cfeec1d4e Fix r2 -B .. sets bin.laddr and honors va=2 2014-08-25 03:45:11 +02:00
pancake
2eefd8908e Add r_cons_is_utf8 () and use it to setup scr.utf8 on non-quiet mode 2014-08-25 03:26:02 +02:00
jvoisin
c384c45ece Move utf8 automatic detection before parsing .radare2rc
Thanks to jn for reporting it.
2014-08-24 21:44:11 +02:00
pancake
0acdbd60fa Show Anal and Esil bits in rasm2 -L and 'e asm.arch=?' 2014-08-24 14:35:30 +02:00
pancake
00245e5e96 rabin2 -V -> -p (-p is more meaningful to show physical addresses) 2014-08-24 10:41:32 +02:00
pancake
3f985aff6e Bring back the ASLR thing. Have fun with 'rabin2 -B' 2014-08-23 03:18:03 +02:00
pancake
eeb50850c9 Fix #1205 - rabin2 -v show version. rabin2 -V disable VA 2014-08-23 02:41:50 +02:00
Adam Pridgen
6a5a91f9c9 added type enumeration with lib magic in bin_any.c plugin 2014-08-23 01:52:33 +02:00
jvoisin
6c577bd637 Close #1217 (Determine UTF8 locale automatically) 2014-08-20 23:04:51 +02:00
jvoisin
029c11a4b5 Minor cleaning of radiff2 2014-08-20 19:47:03 +02:00
jvoisin
9f18c219a6 Optimize radiff2 -g off1,off2
- Less than one sec now versus more than 15 before
- Code is cleaner (no more "r_core_cmdf")
- Colours are now correct
- Fix `radiff2 -C`
2014-08-20 03:51:10 +02:00
jvoisin
0be1fc041b Fix some memleaks at exit 2014-08-20 01:21:31 +02:00
jvoisin
6a1c06738d Enable bindiff between two offsets 2014-08-19 04:43:54 +02:00
jvoisin
359846b0d1 Fix some buffer overflow 2014-08-18 14:22:36 +02:00
Remco
9de5917544 typo fix 2014-08-18 12:19:31 +02:00
pancake
dbbc961454 Add help message for r2 -0 2014-08-17 02:55:47 +02:00
pancake
a661d916e4 Add r2 -0 to make interactive pipe handling nicer 2014-08-17 02:54:10 +02:00
pancake
13872af7bc Implement rabin2 -K and do some work on the RHash api. Fixes #1204 2014-08-15 03:30:45 +02:00
pancake
50e8e0e507 Add 'lp' command to 'load plugins' + some work on 'bin.laddr' 2014-07-30 11:14:26 +02:00
pancake
3a7e801eba Fix #1123 - libr2.so lacked soname 2014-07-17 09:49:25 +02:00
pancake
381d86de2a Fix null deref and bad indent 2014-07-17 05:49:20 +02:00
pancake
c40a4a8e82 Handle negative hex values in rax2 2014-07-13 22:12:29 +02:00
LemonBoy
10dc0c6ef4 Make the PE header return vaddrs relative to the image address 2014-07-11 23:32:44 +02:00
LemonBoy
fbd577fc36 Don't set the arch if running in hex editor mode 2014-07-11 23:32:44 +02:00
LemonBoy
1734d6857e Inform the user if the selected arch cannot be set 2014-07-11 23:32:44 +02:00
pancake
2719a78290 Support make install & make symstall with DESTDIR or PREFIX with spaces 2014-07-10 01:13:04 +02:00
Anton Kochkov
445dde9ba8 More improvements for cygwin and mingw32 building 2014-07-10 02:21:41 +04:00
pancake
667ebad3eb Fix build 2014-07-09 03:12:39 +02:00
pancake
8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
pancake
565b0db97a Fix build on Linux 2014-07-08 22:47:50 +02:00
pancake
9efb41594b Initial WIP support for ASLR var in rarun2 profiles and io/debug 2014-07-08 13:40:33 +02:00
pancake
65a5d2b5d5 Fixes rarun2 for HaikuOS 2014-06-26 16:22:08 +02:00
pancake
91167b18b8 Fix static build 2014-06-25 05:03:05 +02:00
pancake
097cd2b04b Fix android build 2014-06-25 04:57:41 +02:00
pancake
1a3ffef8b4 Fix static build 2014-06-25 04:11:43 +02:00
pancake
1d725e3245 Fix r2agent -s 2014-06-22 14:25:54 +02:00
pancake
6227c12bfe Remove getopt arg for r2 -V. wtf @jvoisin 2014-06-20 17:48:27 +02:00
pancake
39675d0886 Fix static linking (android builds working again) 2014-06-05 01:50:56 +02:00
pancake
d9ec210d5e Fix rarun2 build on w32 2014-06-04 23:05:34 +02:00
pancake
6612425639 Add 'core', 'maxproc', 'maxfd', 'maxstack' options for rarun2 2014-06-04 03:38:52 +02:00
pancake
a4389ce4ae Use r_num_math in ragg2 -d,-D 2014-06-01 05:38:36 +02:00
pancake
2233312335 Add sleep directive in rarun2 2014-05-31 21:01:42 +02:00
pancake
d6c2866ab6 Handle multiple -B in ragg2 2014-05-31 14:22:39 +02:00
pancake
1e6c0e74c4 Fix build after purge 2014-05-31 11:58:45 +02:00
condret
70744a1ad9 support ternary values in rax2 2014-05-28 21:50:13 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
pancake
576c9d6221 Fix ASLR (rabin2, r2 -B working again), sort i? output 2014-05-26 03:06:29 +02:00
jvoisin
680c542bb3 Fix CID 1214301 and constify things 2014-05-25 15:59:52 +02:00
jvoisin
724f8dd5b5 Fix some rax2 memleaks 2014-05-24 23:37:29 +02:00
jvoisin
031691f44e Implement rax2 -D and rax2 -E
Plus some re-ordering.
2014-05-22 09:26:17 +02:00
pancake
ff939fd048 Implement #956 (rabin2 -k - prompt) and fix r_bin_load() 2014-05-22 00:12:30 +02:00
pancake
cb1c61c296 Fix output of 'Cannot open file' (without %s) (possible null deref) 2014-05-21 23:19:47 +02:00
jvoisin
7abb1b0e44 Fix CID 1134971 2014-05-21 16:20:23 +02:00
pancake
a1224b2156 Refactor rva > vaddr and offset > paddr.
That change may make mixing vaddr and paddr more visible
2014-05-21 03:18:00 +02:00