88 Commits

Author SHA1 Message Date
pancake
4d92be77c7 Implement rasm2 -r 2017-05-05 11:13:42 +02:00
pancake
a8106859a5 Fix crash in gdb:// 2017-04-10 17:00:26 +02:00
pancake
d6756e235c Implement author and version of RAsmPlugin 2017-02-28 02:26:55 +01:00
pancake
bfcd6f3147 Fix #6789 - rasm2 obey R2_ARCH and R2_BITS env vars from r2 2017-02-15 03:37:13 +01:00
pancake
70930f4496 Bring back the interest on sys/indent.sh 2017-02-10 02:05:58 +01:00
Sven Steinbauer
4687135c5b Add asm directives help (-hh) and update manpage 2017-01-16 12:03:06 +01:00
Sven Steinbauer
58252b4cc2 Fix #6356 - Move spp integration to libr/asm.c
* Make spp parsing optional
* Add -p arg to rasm2
2017-01-10 00:57:49 +01:00
Anton Kochkov
e20ac7a139 Fix some more coverities 2016-12-22 00:21:11 +03:00
pancake
329e093192 Update spp from git and fix integration with rasm2 2016-12-19 03:07:52 +01:00
Sven Steinbauer
865267fc86 Add spp to r2 utils build (#6334)
Integrate SPP into rasm2 to parse asm files
2016-12-18 09:46:10 +01:00
pancake
d7e0be5dad Implement rasm2 -s? and refactor this a bit 2016-10-04 15:01:02 +02:00
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
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
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
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":
3adb00621b84b271b6473cc35edabaff889141e5
e2afa84443b51faa6be1f09e465aa3d4ebadb879
0761955fdbaa671f87ac67d0f2e6c9918db08fae
17cc18fad09ca92ba88e668e3586054ec34c584f
135c62fb5de928fbc3c85bacb458ba4e9ef410c0
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
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