Commit Graph

1076 Commits

Author SHA1 Message Date
Pankaj Kataria
234b8d7602 Added support for encrypting file 2016-03-09 08:28:26 +01:00
Pankaj Kataria
e78b293f7c Fixed the case when input-string contains null bytes 2016-03-09 08:28:26 +01:00
Pankaj Kataria
aa8a65a852 rahash2 Added xor encryption 2016-03-09 08:28:26 +01:00
Daniel García
cd2e2171ac syms2elf r2pm package 2016-03-09 08:27:18 +01:00
pancake
853411cab3 Handle ~/.config/radare2/radare2rc.d 2016-03-08 23:30:12 +01:00
pancake
3efe247889 Fix newlines in rahash2 -qq 2016-03-08 14:44:08 +01:00
pancake
99d59ebd20 Remove unnecessary newline 2016-03-08 13:19:03 +01:00
pancake
1b937e17fb Add rahash2 -qq 2016-03-08 03:29:59 +01:00
pancake
63b4dacf34 Show filename in rahash2 -q 2016-03-08 01:21:44 +01:00
pancake
588e264f9f Fix latest COVs 2016-03-07 12:54:40 +01:00
pancake
3f5aa46bd5 Add rahash2 -E to encrypt instead of hash 2016-03-07 03:24:52 +01:00
pancake
00ac90f71b Initial import of crypto.rc4 algorithm and modernize RCrypto API 2016-03-07 02:38:50 +01:00
Álvaro Felipe Melchor
bbf8685b3a Fix #4244 - oob write rax2 2016-03-07 01:02:03 +01:00
Matthieu Tardy
bb84bbc276 Fix memory leaks in rabin2 and libr 2016-03-06 23:17:44 +01:00
xarkes
043880cc07 Create swf
Adding swf r2pm package
2016-03-06 11:18:22 +01:00
Matthieu Tardy
1a573e1056 Cleanup binr/*/*.c
r2agent:
- Fix the usage to match other r2 binaries.
- Remove trailing whitespace.
- Remove addressed TODO.
- Add a default case to display usage and exit if -p option was used
  without argument.
- Return 1 instead of 0 if too much arguments are provided.
- Small coding style fixes.

radiff2:
- Small coding style fixes.

rafind2:
- Add a default case to display usage and exit if an option have a missing
  argument or getopt does not recognize an option character.
- Small coding style fixes.

ragg2:
- Small coding style fixes.

rahash2:
- Remove useless optarg check.
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.

rarun2:
- Small coding style fixes.

rasm2:
- Small coding style fixes.
- Missing arguments and unknown options now display usage and exit.

rax2:
- Small coding style fixes.

radare2:
- Missing arguments and unknown options now display usage and exit.
- Small coding style fixes.
2016-03-05 19:52:42 +01:00
pancake
d772c20d24 Fail if cargo is not found in r2pm -i radeco 2016-03-05 19:48:56 +01:00
Matthieu Tardy
797a675b45 Remove optarg checks
getopt is returning '?' if there is a missing option argument, which cause
the switch to branch on the default case. Consequently, tests on optarg are
redundant if a valid argument was given and never executed if the argument is
missing.
2016-03-04 16:17:31 +01:00
pancake
f9b700a2b7 Remove ranal2 tool 2016-03-04 02:16:51 +01:00
pancake
4a0247b594 Implement rasm2 -A to replace ranal2 2016-03-04 02:15:36 +01:00
Adr1
611c3d1752 RBin: Display File Version info 2016-03-04 01:15:56 +01:00
Kevin Grandemange
f0be264b4d [r2pm] add microblaze package 2016-02-27 19:38:16 +01:00
pancake
c8abef97ea Fix base64 decoding overflow in rax2 2016-02-27 16:10:02 +01:00
Anton Kochkov
ae45648bbc Fix build 2016-02-25 13:32:03 +03:00
Anton Kochkov
ce47165951 Fix CID 1351762 2016-02-25 12:44:04 +03:00
pancake
3e53c64553 Fix #4165 - Reduce warning messages in debugger mode 2016-02-25 01:55:16 +01:00
Adrian Stanciu
3a33519533 Add rabin2 -c to compare hash and computed hash from file
- adds support for -c parameter
- bring in line with coding guidelines
- formatted code with tabs
- added -c and exit status info to rahash2 man
2016-02-21 22:45:30 +01:00
William Robinet
a67adbcbb8 Typos 2016-02-17 13:38:43 +01:00
pancake
724a9253dd Fix android build 2016-02-16 23:33:14 +01:00
pancake
7dd32315a5 Fix r_strbuf regression 2016-02-16 00:57:17 +01:00
pancake
d29fe6a43d Add documentation for radiff2 -D 2016-02-15 23:52:12 +01:00
pancake
fd359e9121 Implement radiff2 -D and optimize r_strbuf 2016-02-15 23:51:20 +01:00
pancake
a548fd76dd Fix rabin2 -Q and update manpage 2016-02-04 21:52:32 +01:00
pancake
f5181c4d90 Initial rework for dyldcache 2016-02-04 15:44:49 +01:00
pancake
ca7f55be5a All those bins depend on r_lang 2016-01-30 21:19:36 +01:00
condret
edc7ec2c61 fix a few warnings 2016-01-27 12:39:50 +00:00
pancake
32dbac517f Several bug fixes for gdb-arm and thumb remote debugger 2016-01-26 23:36:02 +01:00
Goncalo Carvalho
c4ea7fd354 convert negative fp numbers to hex and add static assert macro 2016-01-23 23:20:52 +01:00
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