Commit graph

1188 commits

Author SHA1 Message Date
deffi420
e7fdedd501 Improve r_hex_str2bin, fix overflow and error check 2016-01-23 11:53:43 +01:00
pancake
cbbcb716e8 r2pm -i radeco is now installed in your home 2016-01-22 22:03:49 +01:00
pancake
44b2e44f3d Add rax2 -w to wrap sign bit 2016-01-22 15:08:42 +01:00
pancake
9e6d820988 Fix bus error 2016-01-19 13:32:11 +01:00
pancake
de22aa46f2 Fix COV with boolified r_io_creat 2016-01-19 13:16:24 +01:00
Álvaro Felipe Melchor
d9e77ca0d1 xnu: first series of patches to use mach exceptions
* use set_trace_bit and clear_trace_bit macros

* use PT_ATTACHEXC since PT_ATTACH will be deprecated in the future
and we are interested in receiving mach exceptions

* first attempt to handle mach exceptions

* api change: added a parameter to r_core_setup_debugger
at least in OS X this function was producing double attachment.
I've added a boolean value to indicate when use dpa.

* added pipe to communicate between main process and traced process
by far this is not a good implementation. We should develop a better
approach/design to save all the exceptions and handle them accordingly.
This is the initial implementation

* bring back ptrace for stability and in order to merge this into master
2016-01-18 22:24:16 +01:00
pancake
666d457708 Add rabin2 -O e/new-entrypoint-address (ELF only atm) 2016-01-14 14:42:36 +01:00
pancake
6f346b6d6d Fix #3901 - Cannot debug directories and follow symlinks 2016-01-03 01:28:02 +01:00
pancake
5132a499c2 Fix many coverities 2015-12-31 17:10:02 +01:00
pancake
75a178401a Another rasm2 -E fix 2015-12-31 15:23:03 +01:00
pancake
4cce8b5734 Do not abort with anal failures in rasm2 2015-12-31 15:07:07 +01:00
pancake
5355af818a Add rasm2 -E to show ESIL from bytes 2015-12-31 14:42:05 +01:00
pancake
b728b48123 Native tvOS/WatchOS support, non-fat libr.a and mach0 identification for them 2015-12-28 20:40:18 +01:00
pancake
8c89b34009 Add blessr2 into r2pm 2015-12-28 17:58:40 +01:00
Eugene Kolo
36b6ae4762 Update ragg2 short help message 2015-12-14 00:00:39 +01:00
Riccardo Schirone
d08e42942a radare2: set scr.interactive and scr.prompt when loading from project 2015-12-11 00:46:36 +01:00
jvoisin
c07c288f19 Add a winapi plugin 2015-12-10 15:30:44 +01:00
pancake
9442ec43fc Fix make install issues with r2pm 2015-12-03 17:02:13 +01:00
pancake
c00763289f Fail if no npm/node installed in retdec 2015-12-03 16:10:55 +01:00
pancake
c4e0ac2885 Fix rabin2 -O sync issue and update manpage 2015-11-30 00:10:28 +01:00
pancake
ad6baf0824 Add rpath and scnperm in rabin2 -O 2015-11-27 20:37:27 +01:00
skuater
513200a7fa Fixes for the w32 debugger 2015-11-24 23:28:50 +01:00
pancake
07c6a1e41d Fix rabin2 -k crash 2015-11-24 10:17:24 +01:00
pancake
4d6297fe42 Fix #23 - unicorn pkg 2015-11-23 21:45:12 +01:00
pancake
89d44bbaf7 Fix #2782 - rahash2 - slurps from stdin 2015-11-22 23:59:48 +01:00
Álvaro Felipe Melchor
a518987814 Fix #3724 2015-11-22 12:05:33 +01:00
pancake
ccfee9fcca Fix many important issues reported by clang-analyzer 2015-11-22 11:27:45 +01:00
pancake
a898772b2d Honor user env in r2pm and various enhancements 2015-11-13 00:15:52 +01:00
pancake
1221b4a6e1 Add bpf r2pm package 2015-11-12 01:02:04 +01:00
pancake
ad74a6ec6b Move msil and mdmp into radare2-extras, add r2pm pkgs 2015-11-11 11:07:32 +01:00
skuater
f5dec28846 Fix for windows stdin input 2015-11-09 22:44:16 +01:00
pancake
baf63a0cba Reduce RBinSymbols memory (smaller footpronum) 2015-11-09 03:41:07 +01:00
pancake
548890e038 Do not extract non-fat binaries 2015-11-05 22:59:29 +01:00
pancake
63c47bc15e Make rabin2 -A help more readable 2015-11-05 13:37:21 +01:00
pancake
8d6c173df7 Implement {R2|RASM2|RABIN2}_NOPLUGIN env var support 2015-11-05 00:38:42 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
pancake
e368cb1513 More static build fixes 2015-11-01 11:43:05 +01:00
pancake
dd47aba9a2 Fixes for sys/static.sh 2015-11-01 10:26:38 +01:00
pancake
36179944fd Fixes Thumb detection from CPSR, NULL 2015-10-31 03:45:14 +01:00
pancake
54e881daf8 Autoset Thumb in Debugger 2015-10-31 02:46:00 +01:00
Riccardo Schirone
7323e0ef05 socket/run: split r_run_start to make debugging easier
During the environment configuration we may fork and spawn other
processes that we don't really care about. Splitting r_run_start, allows
to call ptrace only after this initial work is done.
2015-10-29 08:21:24 +01:00
pancake
6b9671e7a9 Fix Fx.. float conversion in rax2 2015-10-28 10:27:55 +01:00
pancake
198174957c Fix rax2 -F C parser 2015-10-28 10:11:32 +01:00
xambroz
d448260816 build cleanup focused on possibility to control the lib directories with the build parameters
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
pancake
880821634f Refactor zerosep for r2 -0 2015-10-24 22:49:12 +02:00
Sylvain Pelissier
b3c4f8554f Add -i skip option to file disassembly 2015-10-23 11:45:25 +02:00
pancake
9de87303fe Enhace r2pm -t and fix all java crashes 2015-10-23 03:54:31 +02:00
pancake
2b5661c46a Add r2pm -t for travis purposes 2015-10-23 03:23:12 +02:00
Álvaro Felipe Melchor
14a775f14f Fix #3509 - bin.prefix option 2015-10-22 23:36:43 +02:00
pancake
7dd98bcf75 Add support for TinyCC (super fast builds) 2015-10-21 16:31:24 +02:00
pancake
d959d5bda5 Fix some CSP issues in the material webui 2015-10-20 15:39:59 +02:00
jvoisin
c4a930aeff Implement iLj 2015-10-20 14:30:52 +02:00
pancake
fa4b0e8a7c Handle args in retdec 2015-10-20 12:54:33 +02:00
jvoisin
1d485ea927 coverifix 2015-10-19 23:31:36 +02:00
pancake
45c7c923af Better dtc, demangling support. Handle RABIN2_LANG, and more c++ autodetect
* r_name_filter(len:-1) strlens the string
* Show symbol names in `dtc` (calltracer)
2015-10-19 13:21:12 +02:00
pancake
3fd04b1bea Update rafind2 manpage 2015-10-19 04:02:14 +02:00
pancake
1bdd7c591a Fix #2474 - Implement rafind2 -m for magic search 2015-10-19 03:56:59 +02:00
pancake
5d33a6fe44 Add RABIN2_DEMANGLE env var 2015-10-19 03:28:22 +02:00
pancake
6ed80ae39b Update sdb and rename rmkdir->mkdirp 2015-10-19 00:25:39 +02:00
pancake
d79e576305 Fix #3506 - align in rafind2 2015-10-18 23:32:33 +02:00
pancake
d574a4f49b Fix regression in entrypoint after analysis 2015-10-18 18:47:04 +02:00
pancake
b89c3ee949 Fix the failed rahash2 tests 2015-10-18 18:35:31 +02:00
pancake
f6927fa4f7 Fixes for 0 length hashes 2015-10-18 17:08:23 +02:00
Wladimir J. van der Laan
feea0b91bc ragg2: Correct x86_64 shellcode
Repeated, redundant "shr rbx, 8;push rbx" causes the initial '/' to be stripped,
executing "bin/sh" instead of "/bin/sh".
2015-10-16 16:38:17 +02:00
pancake
074a61f1e6 Add BCL r2pm package 2015-10-16 10:25:53 +02:00
pancake
9edd911003 Add unicorn-deps package 2015-10-16 00:43:19 +02:00
jvoisin
420a5c41e0 Fix some minor compilation warnings 2015-10-15 12:36:34 +02:00
jvoisin
20d11bf92d Add json output with zj 2015-10-14 21:26:26 +02:00
pancake
1dba5a687d Initial implementation of bin.strfilter and bin.strpurge 2015-10-13 03:50:14 +02:00
pancake
6f350a63fa Fix blob makefile 2015-10-11 04:39:33 +02:00
Ben Gardiner
8d4ad47210 Add bin.maxstrbuf and RABIN2_MAXSTRBUF, update manpage 2015-10-11 03:47:32 +02:00
Anton Kochkov
cc658339f5 Fix TCC build 2015-10-11 02:57:23 +03:00
pancake
85ccf0154b Fix r2pm installation issues 2015-10-10 19:11:55 +02:00
pancake
e4464575ce iOS build enhancements 2015-10-09 11:42:49 +02:00
pancake
ed81928ac0 Fix windows build because of the mingw pie bug 2015-10-08 12:03:46 +02:00
pancake
be0538a6a8 Fix some windows build warnings 2015-10-08 11:14:10 +02:00
pancake
6a4030c33c Add x86bea r2pm pkg 2015-10-08 01:41:39 +02:00
Álvaro Felipe Melchor
ac965a56c0 Fix #3359 2015-10-01 11:01:55 +02:00
pancake
9b69b32155 Suggest default pkgconfig path in baleful plug 2015-09-30 18:50:44 +02:00
pancake
f65ded2dac Missing mkdir un retdec plug 2015-09-28 13:01:56 +02:00
pancake
125be67a27 Add retdec r2pm package 2015-09-28 12:12:30 +02:00
pancake
58c92d1820 Android5 builds require PIE 2015-09-25 15:53:29 +02:00
pancake
cb05020d7d Update some packages 2015-09-24 09:52:31 +02:00
pancake
94f5bdd6be Fix radeco and ppcmdisasm r2pm packages 2015-09-24 04:03:19 +02:00
pancake
cd767ccaf4 Fix Android build 2015-09-24 03:36:06 +02:00
pancake
c612bfe479 Optimize r2pm -s pkg list 2015-09-24 02:23:12 +02:00
pancake
33887acd70 Initial import of r2pm, the package manager for r2 2015-09-24 02:14:40 +02:00
pancake
8cb60570c2 Move Git tips and taps into the root makefile 2015-09-23 22:37:15 +02:00
pancake
34811ad84e Fix #2416 - Add iE and rabin2 -E to list exports 2015-09-23 12:23:03 +02:00
pancake
5449c8d889 Update sdb from git 2015-09-23 01:56:05 +02:00
pancake
5d0bdd4481 Enhacements to ease the iOS debugger development 2015-09-21 23:40:17 +02:00
pancake
a49cdb65d5 Fix ios-sdk.sh 2015-09-21 22:21:41 +02:00
pancake
90f8ec4ff8 Fix #3297 - make install after make symstall 2015-09-17 11:11:24 +02:00
pancake
16b2bb8d50 Load dynamic anal plugs from rasm2 too 2015-09-16 16:28:50 +02:00
pancake
fdbde81e78 Fix iOS build, and a pair of bugs 2015-09-15 04:05:43 +02:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
szt
cc6f406ed9 Remove triple negation 2015-09-09 12:49:11 +02:00
pancake
d472d73fb7 Fix #3245 - rafind2 -x 2015-09-07 19:16:24 +02:00
pancake
606b0d1430 Fix ASLR debugger. Again (R) 2015-09-02 17:28:37 +02:00
pancake
7fcb8e081d Remove last GPL headers and move old.rarc2 into r2e 2015-09-02 16:06:57 +02:00
pancake
c8cb347a41 Fix string allocation issue for ARM eggs 2015-09-02 00:18:55 +02:00
jvoisin
dba909b1dd Fix yet-another-batch of clang-analyzer issues 2015-09-01 23:24:11 +02:00
jvoisin
4261075d60 Misc fixes to make clang-analyser even more happy 2015-08-29 18:08:38 +02:00
Riccardo Schirone
575d3e9f0a core/bin: remove loadaddr parameter and get it from the RBinObject 2015-08-29 00:35:09 +02:00
Riccardo Schirone
6f0962555d baddr: still some fixing, in particular when reloading files 2015-08-29 00:35:09 +02:00
jvoisin
e0e170c3c5 Fix various clang-analyser issues 2015-08-28 18:29:31 +02:00
jvoisin
98bb29c4ed Fix some clang-analyzer defects 2015-08-28 17:28:09 +02:00
pancake
0a7ed3e58b Workaround for radiff2, requires some extra review 2015-08-27 13:32:57 +02:00
dequis
0d91e7b433 radiff2: show filename instead of (null) in "cannot open" error message 2015-08-27 12:01:09 +02:00
pancake
76f794009e Sort ragg2-cc help and quote all file variables 2015-08-27 12:00:10 +02:00
dequis
8d2217db59 ragg2: Use $INCDIR/sflib as SFLIBPATH instead of just $INCDIR 2015-08-27 11:53:03 +02:00
dequis
3c977fb56a ragg2: minor fixes to help/debug output text
- The help text had quotes at the end of each line
- The debug for the "assemble" step didn't match the actual command
2015-08-27 11:52:14 +02:00
Riccardo Schirone
def029d548 tools: always pass baddr to r_core_bin_load
radiff2: adapt to changes in baddr/laddr
bin/bin: no need to reset the baddr
2015-08-26 20:08:13 +02:00
Riccardo Schirone
81a8b2a3d5 fix baddr >= 0 and laddr 2015-08-26 20:07:42 +02:00
Riccardo Schirone
36d96770aa simplify baddr usage
* some style fixing
* core/bin: simplify rva function
* bin/bin: avoid passing baddr around
* bin/bin: provide methods to work with baddr
2015-08-26 19:56:51 +02:00
Riccardo Schirone
cacce6a91e use R_FALSE/R_TRUE for io.va 2015-08-26 19:48:42 +02:00
pancake
db6900fb9e Make r2 -D unicorn /bin/ls load rbin info too 2015-08-25 14:49:34 +02:00
Serguey Parkhomovsky
a497a6cf5b Fix solib file name for libr2 on OS X
Use the helper functions in libr/config.mk.tail to put the library
version before the library extension on OS X for libr2.
2015-08-24 17:29:28 +02:00
pancake
64b140fd66 Fix #3118 - Fix ood on quit 2015-08-19 18:16:17 +02:00
pancake
b56207ebb7 Fix ragg2-cc script and honor SFLIBPATH 2015-08-19 11:36:18 +02:00
pancake
0eff8ca0d2 Revert "rax2: refactoring, better error handling and update nampage"
This reverts commit 83ca1dab47.
2015-08-11 09:13:01 +02:00
Grigory Rechistov
83ca1dab47 rax2: refactoring, better error handling and update nampage
change flags from magic numbers to named enum values.
make error reporting more Unix-way by returning non-zero error status
man page is updated to reflect currently supported options
2015-08-11 02:22:21 +02:00
shuall
0807686d86 #3052 all printf member functions changed to cb_printf 2015-08-09 03:25:05 +02:00
pancake
0639261e26 Add more details for OSX code signing 2015-07-23 03:34:46 +02:00
four0four
1d949d4fae added debruijn offset to ragg2 2015-07-22 14:29:40 -04:00
pancake
caa66a8e8c Fix and document code signing for iOS and OSX 2015-07-17 14:39:18 +02:00
pancake
bdfbc4f076 Fix several COVs, and build issues related to appveyour 2015-07-13 11:21:21 +02:00
pancake
5fb7a8df57 More better !=! and =!= help and prompt 2015-07-09 23:44:45 +02:00
pancake
05c8e5c198 Fix null deref in fatmach0's rabin2 -x 2015-07-08 19:13:30 +02:00
pancake
6995ea2c93 Handle rabin2 -D cxx - like c++filt 2015-07-07 00:38:51 +02:00
pancake
a67e74c6cd rabin2 -c <-> -C 2015-07-06 01:09:00 +02:00
pancake
e20a1c0ce4 Add r2 -u flag to set bin.filter=false 2015-07-06 00:57:55 +02:00
pancake
6ed4d5a94b Comment the mach0's symtab parser, rabin2 -u and more 2015-07-05 03:25:20 +02:00
pancake
b5d40d11c0 Fix last coverities issues 2015-07-02 09:33:05 +02:00
pancake
3b5f5f3e5d More fixes for tfp0 and iOS codesign 2015-07-02 02:06:25 +02:00
Judge Dredd (key 6E23685A)
e41051aa86 unescape strings for -s (issue #2783) 2015-07-01 13:49:37 +02:00
pancake
1e4638d27e Add -D <lang> all to demangle symbols via rabin2 2015-06-22 11:36:28 +02:00
pancake
6e74dccb0b Fix rabin2 missing newline help 2015-06-14 22:45:50 +02:00
pancake
5946193d29 Fix rahash2 -b issue 2015-06-14 02:43:33 +02:00
pancake
f80f4da65f Add radare2-dev cydia package 2015-06-12 14:12:15 +02:00
pancake
a093958b6d Release 0.9.9 - codename AlmostThere 2015-06-05 04:07:13 +02:00
pancake
47860d67dc Remove more references to r_diff 2015-06-02 10:31:30 +02:00
pancake
3d47337ae6 Fix warnings 2015-06-02 10:25:40 +02:00
pancake
e6c40aa520 Handle SIGUSR2 in r2preload 2015-06-02 04:05:32 +02:00
pancake
721ad8de26 Add r2preweb rarun2 rule to start the webserver in a thread in r2preload 2015-06-02 03:54:26 +02:00
pancake
8efab9329b Fix build 2015-06-02 02:47:14 +02:00
jvoisin
51c6eecf0d Fix a previous mistake of mine in rahash. Sorry :/ 2015-06-02 00:03:43 +02:00
jvoisin
8155c6e8f2 Even more coverifix 2015-06-01 23:06:55 +02:00
jvoisin
2bc5f75f0f Fix some memleaks in r2 -h to make maijin happy. 2015-06-01 20:23:09 +02:00
pancake
b5317ac35c Update r2 -A manpage and help 2015-06-01 11:31:01 +02:00
pancake
a793859d5b Fix some COVs 2015-06-01 11:20:53 +02:00
pancake
10e8351512 Fix #2641 - Run aaa with r2 -A instead of aa 2015-05-29 01:40:06 +02:00
pancake
e19810e875 Fix #2642 - rabin2 -Aj and r2 -ciAj - JSON output for sub-bins 2015-05-29 01:38:31 +02:00
pancake
d9d18dc73b Fix memory leak in rabin2 with pdb.extract 2015-05-26 02:45:25 +02:00
inisider
c9d5d00a55 add env vars 2015-05-26 02:39:50 +02:00
inisider
6536e6cb28 start of implementation of issue #1909 2015-05-26 02:39:50 +02:00
Álvaro Felipe Melchor
75e719362d Fix #2603 2015-05-23 19:10:22 +02:00
pancake
878f81dca1 Fix radiff2 -g regression and some code cleanup 2015-05-19 17:41:09 +02:00
pancake
2c62eab3c8 Fix ASLR baddr while fixing r_file_abspath() on UNIX using abspath() 2015-05-19 15:35:08 +02:00
Kai Renken
56df8c1592 small fix 2015-05-19 14:12:33 +02:00
Kai Renken
720cedd59c some cleanups on radiff2 json output preparation for #1594 2015-05-19 14:12:33 +02:00
Quentin Santos
fc277cbe72 Document -d in r2 for debugging a process 2015-05-15 10:18:01 +02:00
pancake
589ee83f49 Fix ragg2 -v 2015-05-14 15:06:39 +02:00
pancake
45c5cd6b7a Fix ragg2 -w issue 2015-05-13 23:20:56 +02:00
pancake
14c6e46bfc Fix #2569 - alphabetically sort ragg2 -h 2015-05-13 23:07:30 +02:00
Quentin Santos
4f4346d889 Minor: more comments in ragg2.c 2015-05-13 22:55:52 +02:00
Quentin Santos
cfc499b227 Edit ragg2 result regardless of the type of output 2015-05-13 22:55:52 +02:00
pancake
96a44f8ebf Fix 32bit warning in rabin2 2015-03-29 10:23:14 +02:00
dequis
41a5a719f9 Fix #2544 - rabin2: do not d/l pdb if debug_file_name is null 2015-05-10 18:13:07 +02:00
dequis
e8a555bf46 radiff2: update help to reflect that -f was renamed -n
It was changed in 4c1253b but that commit missed the help part
2015-05-06 23:02:42 +02:00
dequis
08ff4e493a Always use ut32 for unix timestamps. Also handle endianness properly
Because it turns out sizeof(time_t) is 8 in 64 bit platforms, but that
results in really broken 'pt' results, where half of the lines are
'invalid date'

Also, endianness handling was swapped in the case of 'pt' and
non-existent in the case of 'rax2 -t' (the latter actually did a weird
hack to swap endianness twice and get valid results).

Now rax2 -t supports the -e parameter to swap endianness.

The usage of r_mem_copyendian with r_print now matches what's done
in other places, with !p->big_endian instead of p->big_endian,
because 0 means swap and 1 means do nothing. Terrible function.

This also fixes some valgrind warnings about uninitialized values
(when copying 4 bytes to a 8 byte time_t)
2015-05-01 10:28:23 +02:00
Maijin
6aefa441b1 Fix shellcheck problem in scripts 2015-04-29 10:46:22 +02:00
pancake
33a64eab7e Load r2e plugins with rasm2 too 2015-04-23 00:56:59 +02:00
jvoisin
ceef56260d Fix #762 2015-04-19 21:54:25 +02:00
Anton Kochkov
549bfbd147 Revert "Fix CID 1293128"
To fix the actual and valid behaviour of rahash2
The corresponding CID is low priority
and could be fixed later proper way.

This reverts commit a48ead7c84.
2015-04-19 00:20:02 +03:00
jvoisin
a48ead7c84 Fix CID 1293128 2015-04-18 01:20:21 +02:00
Maijin
3b26388769 Fix all shellcheck errors 2015-04-17 21:56:01 +02:00
pancake
a0ef11be00 Fix 3 covs and several warnings in windbg for w32 2015-04-07 14:53:28 +02:00
pancake
061a2af999 Add radiff2 -CC for deeper bindiffing 2015-04-07 04:12:18 +02:00
pancake
25518385be Fix radiff2 -g: buffer was not flushed 2015-04-07 02:24:24 +02:00
pancake
24154ca69f Support -f without -t (defaults to eof) 2015-04-07 01:50:34 +02:00
pancake
364bcfc82f Permit rahash2 -i0 and bump capstone 2015-04-07 01:22:56 +02:00
pancake
3b4773d602 Add time.zone and time.fmt eval vars, honor zone in pt and correct PE gmt 2015-04-03 23:24:09 +02:00
pancake
87162dc8bf Add wta support for appending dump. 2015-04-03 04:11:26 +02:00
pancake
b553f607b7 Update rahash2 manpage and support -f/-t in -s/-x 2015-04-03 01:49:01 +02:00
pancake
6e8b84a7b3 Add rahash2 -x and fix other issues related to -f and -t 2015-04-03 01:37:26 +02:00
Jeffrey Crowell
29d583df60 fix some warnings 2015-04-01 21:10:49 -04:00
pancake
aed5e5e4a1 Fix PDB nullderef in rbininfo.file 2015-04-01 14:57:59 +02:00
pancake
e7b310a786 Properly limit rahash2 -Bb boundaries to filesize 2015-04-01 13:38:29 +02:00
pancake
df86cc3124 Fix all t/feat_grep tests 2015-04-01 03:33:12 +02:00
pancake
257ada577c Fix #2269 - rasm2 -d does not handle invalid input well 2015-04-01 01:29:15 +02:00
pancake
7292fbab40 Fix PE and Brainfuck crashes related to RBinInfo
- Fix warn in radiff2
2015-03-27 17:18:15 +01:00
Kai Renken
db4abd8f6b Fix #2061 - Add JSON style output to radiff2 2015-03-27 11:44:06 +01:00
pancake
1a73f5e807 Handle <directory> in r2 as an alias for cd /path;r2 --
Remove noisy eprintf and fix another crash
2015-03-23 00:41:50 +01:00
jcrowell
285b20ce1a disable auto-saving of history while in the sandbox 2015-03-20 22:58:34 -04:00
pancake
12ea9734b5 Fix about 15 more random COVs 2015-03-21 02:04:49 +01:00
pancake
734d1a9a5d Add -e cfg.plugins (speedup tests), initial massive esil-review
- Includes some fixes for the bf, mips and x86
- Toggle some missconcepted swapped parameters
2015-03-11 02:59:33 +01:00
pancake
a00339f1c9 Fix #2168 - rabin2 -gj is now happy again 2015-03-08 18:07:52 +01:00
pancake
0040f8cb44 JSONify PDB and remove useless function in r_util 2015-03-08 17:30:41 +01:00
pancake
ab5b89c610 Cleanup preload/alloc a bit 2015-03-08 01:54:12 +01:00
Clément Vuchener
705e4d56bf Fixing arguments (bugs #1814 and #2117) #2143
Added proper escaping of command line
Creating a command line from arguments when debugging on Windows
Keep backslashes when not escaping a character
Assuming that the path of the binary should be in desc->name and not the command line in ptrace IO plugin
Print the backslash when it is at the end of the command line
2015-02-26 03:05:37 +01:00
pancake
d8f96a765d Fix android build and bin/d installation issue 2015-02-23 01:55:35 +01:00
Kamil Rytarowski
345403f0ea Honor zip configure linkage 2015-02-23 01:07:05 +01:00
Clément Vuchener
fa53b4de51 Rewrote prepending './' on unix platform 2015-02-22 17:05:12 +01:00
inisider
208aa0ce8a fix merged problems 2015-02-19 22:49:44 +01:00
pancake
36b38f50c6 Fix rahash2 output without JSON 2015-02-12 16:19:26 +01:00
Jeffrey Crowell
e4efe92194 Fix crash in pe regressions
http://ci.rada.re/view/All/job/radare2-regressions-formats-pe/2090/console

fixes that
2015-02-11 18:36:28 -05:00
pancake
4ad5a7a27b Fix more base64 warnings 2015-02-09 23:37:49 +01:00
pancake
d1e602f14c Fix static link 2015-02-08 20:17:47 +01:00
pancake
1306b87112 Fix #2050 - Show commit counter in r2 -v 2015-02-07 00:14:55 +01:00
pancake
ba525f1b72 Fix #2049 - Add rahash2 -j 2015-02-06 14:15:19 +01:00
Nick Stephens
4f15eea06d Fix #1945 - Add wide string search to rafind2
Fix styling issues in r_search_keyword_new_wide
2015-02-04 03:28:28 +01:00
pancake
a5a211c1d9 r2 -k is now -o, and -k perform sdb queries 2015-01-31 03:51:01 +01:00
pancake
0cb78f973e Fix #2004 - filter flag names in dm* 2015-01-29 02:25:00 +01:00
pancake
039858fd86 Fix r2 -B, rabin2 -B, Implement oa command
- Now it is possible to load binfiles from debugger memory
* Base address is now honored properly. But it needs more testing
2015-01-29 01:45:39 +01:00
pancake
62617bb14e Fix android build 2015-01-24 23:17:55 +01:00
pancake
1fcf02c98b Add sys/android-build.sh local target and fix sys/static.sh 2015-01-24 03:30:07 +01:00
pancake
99d99aca14 Implement Pc command to show contents of a project script 2015-01-22 02:54:58 +01:00
pancake
ac036b6301 Add Pd to delete projects, Remove rmrf util function, better project file checks 2015-01-22 00:30:19 +01:00
NighterMan
e910bf769a Improved history save support
- Added scr.histsave
- Added q!! to exit without saving history
- Added isatty() check before saving
2015-01-17 19:29:32 +01:00
NighterMan
53a554f358 Fix to always save history when exiting
When exiting radare by using ctrl+d or due to null stdin read it doesnt save
history as expected. Actually it was only saving when exiting using 'q'.
2015-01-17 19:29:32 +01:00
inisider
bd416e4380 fix print usage of rabin 2015-01-12 21:23:06 +01:00
pancake
97d1f70f53 Fix some warns and Use RRegex in parse_mreplace to make support w32 2015-01-12 02:52:12 +01:00
pancake
4c6e2f129c Add rabin2 -F and r2 -F to force the use of a specific rbin plugin 2015-01-11 19:40:26 +01:00
pancake
75c322b613 Add bin.lang, rabin2 -D and iD commands to demangle from commandline
- Fix some warnings in windbg
- Minor fix for ARM analysis (wip)
2015-01-10 01:00:01 +01:00
pancake
48422b07db Fix #1910 2014-12-26 19:42:35 +01:00
pancake
4c1253b0c5 Use radiff -n for numeric addresses instead of function names 2014-12-26 19:28:55 +01:00
Andrew McDonnell
841a00e0d1 Add option to radiff to suppress names 2014-12-26 19:26:06 +01:00
pancake
fb31e2405d Honor PDB_SERVER and rename pdb.sym_srvr to pdb.server 2014-12-24 19:49:07 +01:00
inisider
d052d96415 remove r_cons_printf from rabin2.c 2014-12-24 18:54:22 +01:00
inisider
f18988f21f fix pdb downloader 2014-12-23 15:06:42 +01:00
pancake
c886531195 Implement 'ko' and 'kd' to open/dump Sdbs, Helpers for PE ordinal symbols 2014-12-21 00:55:38 +01:00
pancake
0cb4c60c63 Fix r2 -C crash (thanks zlul!) 2014-12-19 20:58:38 +01:00
inisider
f9048c2a44 Add init function of PDB downloader 2014-12-12 15:31:05 +01:00
fenugrec
55c4963656 describe rasm2 -L output 2014-12-09 04:20:44 +01:00
LemonBoy
3b9164c04c Initial WinDBG support 2014-12-07 19:32:45 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
pancake
153b8b1f9d Add 'rmd' target, enhace io_self and add library version to libr2.so 2014-11-22 02:51:35 +01:00
pancake
9a0d62da22 Finally remove the void*debug pointer from RIOPlugin (use bool isdbg) 2014-11-21 11:36:51 +01:00
inisider
ee429365a7 Add JSON support to the PDB parser 2014-11-21 11:28:12 +01:00
Riccardo Schirone
db6247ac5a Fix linker flags issue on darwin, when USE_RPATH=1 2014-11-20 09:59:29 +01:00
pancake
ccf0ad030d Run -A before -i in r2 (fixes a test) 2014-11-19 15:55:59 +01:00
condret
1b2d87341d fix 'r2 -q'-segfault 2014-11-18 16:40:32 +01:00
pancake
3fadf91a93 Load file from stdin with r2 = (TODO: load RBin) 2014-11-18 11:44:16 +01:00
pancake
cd29612889 No ranal2 for this release 2014-11-10 11:39:43 +01:00
pancake
17b89e3bf6 Fix #1345 - Cleanup some offensive fortunes 2014-11-10 06:04:46 +01:00
pancake
587642619b Re-enable ranal2 build 2014-11-10 03:55:44 +01:00
pancake
9d042142b3 Honor 'q!' and scr.interactive when quitting debug mode 2014-11-08 13:15:45 +01:00
Maijin
e160851174 Add help and man for - and -- 2014-11-03 17:04:14 +01:00