Commit Graph

95 Commits

Author SHA1 Message Date
pancake
1449d61850 Fix regression in rasm2 -d 2016-09-15 17:30:38 +02:00
pancake
4429de16f9 Fix pa/pad for big/lil endian 2016-09-01 22:34:28 +02:00
pancake
dc545c8102 Fix regression in rasm2 -e 2016-09-01 21:50:04 +02:00
pancake
00d0aedb9b Fix Android build 2016-08-16 14:41:06 +02:00
pancake
f96f00d62d Fix #5158 - Merge r_db into r_util 2016-06-17 12:19:16 +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
Damien Zammit
a68955c268 Fix rasm2 endian -e flag (#4824) 2016-05-09 15:24:01 +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
8500509605 Add R_DEBUG in rasm2 -hh 2016-05-02 02:47:56 +02: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
Maijin
503fa69d22 Fix #1659, Add json to rasm2 2016-03-30 16:35:01 +02: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
4a0247b594 Implement rasm2 -A to replace ranal2 2016-03-04 02:15:36 +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
deffi420
e7fdedd501 Improve r_hex_str2bin, fix overflow and error check 2016-01-23 11:53:43 +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
8d6c173df7 Implement {R2|RASM2|RABIN2}_NOPLUGIN env var support 2015-11-05 00:38:42 +01:00
Sylvain Pelissier
b3c4f8554f Add -i skip option to file disassembly 2015-10-23 11:45:25 +02:00
pancake
33887acd70 Initial import of r2pm, the package manager for r2 2015-09-24 02:14:40 +02:00
pancake
16b2bb8d50 Load dynamic anal plugs from rasm2 too 2015-09-16 16:28:50 +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
8efab9329b Fix build 2015-06-02 02:47:14 +02:00
pancake
33a64eab7e Load r2e plugins with rasm2 too 2015-04-23 00:56:59 +02:00
pancake
257ada577c Fix #2269 - rasm2 -d does not handle invalid input well 2015-04-01 01:29:15 +02:00
fenugrec
55c4963656 describe rasm2 -L output 2014-12-09 04:20:44 +01:00
pancake
a07530dff1 Fix rasm2 -f return value 2014-10-19 18:16:53 +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
Adam Pridgen
135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
pancake
0acdbd60fa Show Anal and Esil bits in rasm2 -L and 'e asm.arch=?' 2014-08-24 14:35:30 +02:00
jvoisin
724f8dd5b5 Fix some rax2 memleaks 2014-05-24 23:37:29 +02:00
pancake
bc46258402 Show bits and enhace RAsm plugin descriptions 2014-02-25 17:03:12 +01:00
pancake
c6ab7b759d Fix another rasm2 bug 2014-02-10 16:09:40 +01:00
pancake
9a099e9e9e Add RAsmPlugins->cpus and handle it in rasm2 -L <arch> 2014-02-06 00:26:17 +01:00
pancake
4672c2d866 Fix short jmp assemble in x86.nz, add rasm2 -O <outputfile> 2014-01-26 01:58:25 +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
38fc28f960 Added more Jamroot files 2014-01-03 00:13:46 +01:00
pancake
322a8a7654 Fix build for latest refactoring 2013-12-06 05:18:57 +01:00
pancake
7d70f79755 Fix #399 - Add .license to all plugins 2013-12-02 04:44:26 +01:00
pancake
399a48da34 Fix libr plugins path 2013-11-28 05:51:09 +01:00
pancake
ab7e57d568 Handle '0x' in rasm2 -d 2013-11-14 04:24:29 +01:00
pancake
816560dffe Fix #245 - rasm2 -d -f inconsistence 2013-11-14 04:01:48 +01:00
pancake
502add8914 Fix #240 - rasm2 have -l but not -S to skip bytes from the beginning of the file 2013-10-15 01:54:37 +02:00
pancake
18cc767292 More emscripten/android build fixes 2013-09-07 02:20:38 +02:00
pancake
cc5122e3bd Working emscripten build 2013-09-07 01:35:11 +02:00
pancake
fb610cdc62 Update sdb and fix android build 2013-08-26 02:43:15 +02:00
pancake
5cc7466191 Enhace rasm2 -D output 2013-07-08 03:38:44 +02:00