Commit Graph

1239 Commits

Author SHA1 Message Date
Jeffrey Crowell
ae52bb5ded add keystone-lib package to r2pm 2016-05-31 20:27:46 +00:00
@bezjaje
aa02c43af9 r2pm: added esilburner package (#5051) 2016-05-31 11:49:43 +02:00
pancake
eca8aaedc2 Add C# plugin r2pm package 2016-05-31 11:10:30 +02:00
NikolaiHampton
2c50dd0c59 Memory efficient implemenation of Levenshtein Distance for radiff2 (add -V)
Implemented the iterative two matrix row version from here: https://en.wikipedia.org/wiki/Levenshtein_distance
and here: http://www.codeproject.com/Articles/13525/Fast-memory-efficient-Levenshtein-algorithm

Memory usage was originally 200Gig for a couple of 100K files ~(sizeA*sizeB), now about ~(sizeB*2)...
2016-05-26 11:03:01 +02:00
pancake
132b173b87 Refactoring $B and decompose $F into $FB $FE $FS and $FI + code cleanup 2016-05-25 23:34:06 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
zlowram
96ede64b25 Fixed www-enyo uninstall (#4989)
Fixed uninstall for www-m package

Fixed uninstall for www-p package

Fixed uninstall for www-t package

Fixed global install for webuis
2016-05-24 15:39:13 +02:00
pancake
4e99730e44 Add r2pipe-vala r2pm package 2016-05-24 04:33:08 +02:00
pancake
9130c78da9 Avoid home install for vala and valabind r2pm pkgs 2016-05-24 03:38:29 +02:00
pancake
730fde95b4 Fix microblaze r2pm package 2016-05-24 03:31:42 +02:00
pancake
5142640dab Fix bcl uninstall target 2016-05-24 03:29:30 +02:00
pancake
99d3edd6e4 Fix msil r2pm package 2016-05-24 03:26:15 +02:00
zlowram
b8c81d293f Fixed r2pm and implemented -gu option (#4988) 2016-05-24 03:10:09 +02:00
gk
0461e567e9 Fix #4927 - Add rabin2 -qqz to list only strings (no offsets or sizes) 2016-05-23 22:53:40 +02:00
pancake
801b18c9d7 Fix bcl r2pm install issue 2016-05-23 20:16:28 +02:00
pancake
5fa0f2f7d2 Update many r2pm packages. still some more work to do 2016-05-23 19:04:21 +02:00
pancake
6385ebdd58 Fix psosvm and armthumb r2pm packages 2016-05-23 18:53:26 +02:00
pancake
2a39d78ed9 Fix r2pm unicorn packages 2016-05-23 16:20:57 +02:00
pancake
f900683419 Fix x86bea r2pm pkg 2016-05-23 15:41:33 +02:00
pancake
1f63bdc764 Initial import of the VC4 disassembler 2016-05-23 13:04:00 +02:00
pancake
be6030620e Honor MAKE env var in r2pm 2016-05-23 12:58:33 +02:00
Sven Steinbauer
8da8ad740f Cleanup fixes
* For commit comments and compiler errors
* Fixes for PR comments
* fix some "infer fixes" commits

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
Sven Steinbauer
eef32d0260 First few fixes for infer scans
Fixes a few memleaks and several NULL dereferences

Signed-off-by: Riccardo Schirone <sirmy15@gmail.com>
2016-05-23 11:25:44 +02:00
pancake
3b7d4be902 Honor BINDIR in radeco, Add r2pipe-cs 2016-05-19 04:43:22 +02:00
pancake
7ea97d30d3 Fix bpf package 2016-05-19 04:26:46 +02:00
pancake
f933d584de Fix mdmp r2pm package 2016-05-19 04:24:00 +02:00
pancake
5ec01b1414 Fixes for r2pm -i vala 2016-05-19 04:11:10 +02:00
pancake
4a5085acb0 Add keystone r2pm package 2016-05-19 01:24:50 +02:00
pancake
c967514443 Add support for quiet and json listing of rasm2 -L and e asm.arch=? 2016-05-19 00:38:33 +02:00
Gautier Colajanni
c812522522 Update r2pm installation of UI 2016-05-18 18:31:26 +02:00
pancake
ca73b22c02 Hint -A in -C for radiff2 2016-05-17 21:48:36 +02:00
pancake
2e06158c71 Handle -- in rarun2 2016-05-17 10:36:33 +02:00
pancake
a59bd2fad6 Update r2pipe-js, retdec and fix swf build 2016-05-16 23:55:03 +02:00
pancake
479449b23b Fix r2pm retdec package to handle -i and -gi 2016-05-16 23:36:25 +02:00
pancake
d9cdd29268 Fix endian issue in crc16 and crc32 2016-05-16 02:08:59 +02:00
pancake
a2fb171a37 Add R2PM_WWWROOT, update www-t and add http.homeroot r2 var 2016-05-16 00:59:29 +02:00
pancake
411cad06e2 Update r2pm manpage and fix #4843 2016-05-15 23:54:47 +02:00
pancake
df2ce5cdcf Initial support for r2pm -gi and -go, export HOME_PKG_CONFIG_PATH and R2VERSION 2016-05-15 23:43:15 +02:00
pancake
02161f0bb8 Add r2 -qv and update manpage 2016-05-15 23:19:06 +02:00
Anton Kochkov
33fd28192f Fix Yara installation with r2pm 2016-05-15 22:57:47 +03:00
Rakholiya Jenish
502870f07b list all encoders/decoders supported by woE/woD and rahash2 -E/-D (fix #4851)
list all encoders/decoders supported by woE/woD and rahash2 -E/-D (fix #4851)
2016-05-11 22:25:54 +02:00
Maijin
6464e44a75 Fix #4834 2016-05-11 20:46:24 +02:00
SkUaTeR
75ea9cea3c Fix w32 debugger 2016-05-11 13:09:40 +02:00
pancake
9a86edb6b3 Use '0' in visual to seek at the beginning of the function and fix r2 -AAAAA 2016-05-11 04:25:16 +02:00
Sven Steinbauer
b276795f1c Add r2 -r ? style output to rax2 2016-05-10 22:13:24 +02:00
Álvaro Felipe Melchor
b7cc6c04d7 LDID parse signature in mach0 binaries
* added iC command to show signature info

in the case of mach it shows entitlements

* added rabin2 -OC to get signature info from binary

* change swap to r_read_bleX new API

* change eprintf to r_cons_printf

* add const char in plg->signature
2016-05-09 23:42:28 +02:00
Damien Zammit
a68955c268 Fix rasm2 endian -e flag (#4824) 2016-05-09 15:24:01 +02:00
pancake
d651283c57 Fix #4813 - Use dbg.map when in r2 -d 2016-05-09 11:35:52 +02:00
Rakholiya Jenish
3019bb477c Add support for punycode via woE and woD and rahash2
Also add aes-cbc support by getting IV from user
2016-05-07 12:31:13 +02:00
Damien Zammit
632dccc217 Remove LIL_ENDIAN macro and configure option
TODO: Remove other endian cruft from:
- hashing algs
- judy
- squashfs
- grub
- tms320

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-06 10:21:55 +02:00
Damien Zammit
af0a865d9f WIP - Totally remove host endianness dependence
- Adds endian aware functions
- Removes references to host endian
- Uses binary detected endianness else tries LE and restricts by RAsmPlugin
- Fixes gdb debugger endianness when debugging BE qemu gdbserver

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-05-04 23:42:17 +10:00
pancake
6261fe32fb bugfixes + testsuite for the Internal Swift demangler 2016-05-03 04:31:36 +02:00
pancake
8500509605 Add R_DEBUG in rasm2 -hh 2016-05-02 02:47:56 +02:00
Qwokka
8b0adb129a Add "-m32" and "-m64" flags for cross compilation (#4743) 2016-05-01 18:33:13 +02:00
pancake
d4116d5c4f Fix rabin2 -D 2016-04-28 02:02:16 +02:00
pancake
e9dc4ae89e Fix #4695 - no prompt after r2 -qp 2016-04-26 19:11:11 +02:00
pancake
7e9c1db208 Honor r2agent -a in children 2016-04-25 23:09:39 +02:00
pancake
627e1a74a0 Fix ios-sign 2016-04-25 16:52:36 +02:00
pancake
3dc15adbe0 Oops, missing static build fix 2016-04-25 14:52:28 +02:00
pancake
3758b3a54a Fix static/android build 2016-04-25 12:40:01 +02:00
Andrey Torsunov
1e910dca6c Fix #4670 - Add checking of dbg.exitkills in non-interactive mode 2016-04-25 12:46:24 +02:00
pancake
fafc626b55 Performance optimization for rabin2 (request vs all) 2016-04-23 00:47:00 +02:00
andrey.torsunov
de1dac3f60 Add config option dbg.exitkills for issue #4670 2016-04-22 16:13:32 +02:00
pancake
1ac0d47652 Honor aho in pd 2016-04-21 01:38:08 +02:00
pancake
8b08a8cba8 Add radiff2 -x in help 2016-04-21 01:29:57 +02:00
pancake
a1eb92966e Fix #4663 - segfault in r2 -d 2016-04-19 19:46:41 +02:00
pancake
1f1a963cf2 rabin2 -x is now like r2's cc 2016-04-18 03:21:52 +02:00
Rakholiya Jenish
f1fe53ef48 fix warning
minor fix

update -h
2016-04-15 15:52:52 +02:00
pancake
2b6ccd5a3f Make clean in pyc swf r2pm packages 2016-04-15 04:01:50 +02:00
Rakholiya Jenish
e1660b352a add aes-cbc encryption to rahash2
remove unnecessary comment

update man
2016-04-14 22:39:57 +02:00
Rakholiya Jenish
421a63a849 cleanup code, and use direction for specifying encryption/decryption 2016-04-13 21:54:12 +02:00
pancake
ad795c2b8e Fix static build 2016-04-13 15:10:53 +02:00
Rakholiya Jenish
cfe1cc8c6c refactor the code and fix rc2 ecb implementation
Cleanup in cmd_write.
2016-04-13 12:54:34 +02:00
Rakholiya Jenish
27fba6fa10 Add crypto plugin for base64 and base91
update error occurence.
2016-04-13 10:34:55 +02:00
Rakholiya Jenish
2a68cea14c add woD, and rahash -D option
TODO done

fix error output
2016-04-13 10:34:54 +02:00
pancake
5ef2b3cc0f Fix many warnings 2016-04-11 12:22:15 +02:00
Roi Martin
a0c158c9ab Check go error in r2pipe-go uninstall 2016-04-10 23:22:13 +02:00
pancake
035d04b744 Quote r2pm r2pipe-go path 2016-04-10 23:18:51 +02:00
xn0px90
3b9534803d Add r2pipe-go 2016-04-10 23:09:24 +02:00
Rakholiya Jenish
85419d7356 Refactor and correct code for getting seed as string 2016-04-10 00:37:33 +02:00
pancake
e7c832d513 Fix -d gdb:// issue 2016-04-10 00:33:54 +02:00
pancake
5867365cd5 Add dummy work for mach0 in rabin2 -O 2016-04-07 15:42:06 +02:00
Anton Kochkov
232ce009fd Fix CID 1353775 2016-04-06 01:00:08 +03:00
Lukas Dresel
5a4fe03d41 Fix #4495 - rasm2 not loading all the plugins
- Fixed misplaced free(tmp) i broke
- Made plugin loading work the same in every tool.
- Removed last instances of hardcode 'LIBR_PLUGINS' string
2016-04-05 22:42:19 +02:00
pancake
a2bd77e43d Fix #4501 - implement rax2 -B and fix -b 2016-04-05 00:55:57 +02:00
Álvaro Felipe Melchor
b0c6ae4409 Fix #4295 and #4155
This commit is the first attempt to improve relocation
recognition when dealing with relocatables elf-files
2016-04-04 23:09:58 +02:00
NaveenBoggarapu
7d61361361 fix some memory leaks 2016-04-01 19:25:32 +02:00
Maijin
503fa69d22 Fix #1659, Add json to rasm2 2016-03-30 16:35:01 +02:00
pancake
a4d298e8b9 Fix -d:// alias 2016-03-30 12:56:50 +02:00
pancake
cddb39535d Fix #3164 - r2 -d gdb:// is an alias for r2 -D gdb gdb://... 2016-03-30 12:01:44 +02:00
pancake
9fec5ae3b2 Add www-m r2pm pkg 2016-03-27 16:03:12 +02:00
pancake
d1455c5aa6 Do not override file.analyze if -A is used 2016-03-27 14:20:33 +02:00
pancake
365162d4a8 Run file.analyze only when file contains entrypoint 2016-03-27 14:05:43 +02:00
pancake
699e3b84d1 Fix static link of the blob 2016-03-27 13:25:52 +02:00
pancake
b6d5e6c9e3 Initial implementation of the make menu 2016-03-25 11:10:16 +01:00
pancake
f1f83276ea Fix static build with libbochs 2016-03-25 10:13:50 +01:00
Aneesh Dogra
4562283f66 Rabin2 Xtr: Add error message if none of the plugins can extract bins from the file. 2016-03-24 22:46:35 +01:00
pancake
f4618c0bbd Remove radiff2 -CC because we already have -A, -AA, -AAA ... 2016-03-22 13:00:02 +01:00
pancake
f9649cd144 Add rarun2 -R as alias for dbg.profile 2016-03-21 23:49:18 +01:00
Álvaro Felipe Melchor
146d7b8e25 Fix oob write in rahash2 2016-03-21 16:16:01 +01:00
pancake
1aaa475298 Fix #4335 - radiff2 -A 2016-03-19 02:57:53 +01:00
pancake
7235fab252 Add www-t package 2016-03-19 02:11:41 +01:00
Matthieu Tardy
b858467162 Add PYC file format plugin 2016-03-18 15:03:24 +01:00
pancake
bab0eb62c8 Fix sdb leaks in elf versioninfo 2016-03-17 11:11:12 +01:00
pancake
f4eb0893a9 Add r_crypto dependency for radiff2 2016-03-16 15:00:17 +01:00
Álvaro Felipe Melchor
c0fff5e3e7 fix typo 2016-03-16 14:35:06 +01:00
Álvaro Felipe Melchor
53be2c8e7c added r_crypto to rabin2 2016-03-16 14:34:05 +01:00
pancake
729b54222d Fix zip test by flushing file list 2016-03-14 00:28:37 +01:00
xarkes
edd05522b2 Update swf 2016-03-13 03:21:42 +01:00
Maijin
daafa94407 Enable demangle by default fix #4266 2016-03-12 18:01:12 +01:00
Maijin
38bc88fb67 Also add the warning in aaa 2016-03-12 17:48:53 +01:00
pancake
f9671be16e Fix #4191 - Use -AA to run aaaa and therefor aae 2016-03-12 17:34:18 +01:00
pancake
342961a3c5 Fix #4251 - Blank space using fcnlines=0 and flgoff=1 2016-03-09 10:08:53 +01:00
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