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":
...
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
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
5cc7466191
Enhace rasm2 -D output
2013-07-08 03:38:44 +02:00
pancake
ef781cbadd
New flag rasm2 -c CPU. pointer hints, fix analysis of x86-16 jmps
...
Add ahp (pointer hints)
Add rasm2 -c flag to select cpu (wip for arm)
rasm2 -e toggles instead of setting
Fix analysis of absolute jumps in x86-16
Push and pops are now magenta \o/
2013-06-17 03:26:48 +02:00
pancake
f52fdf762f
Fix armthumb disasm, 64bit inc/dec on x86, syscall in r_asm
...
- rasm2 -k to select kernel like ragg2 does
- rasm2 -k linux -b32 'mov eax, $sys.write'
- Implement x86-64bit INC and DEC
- Add x86-8 and x86-64 bit calling conventions in r_syscall
2013-04-22 01:09:27 +02:00
pancake
68ae2c4463
Fix rasm2 -d - (without -f)
2013-04-22 00:05:35 +02:00
pancake
3aa549ecb0
Share version function between all commands. Fix #76
2013-04-04 02:32:13 +02:00
pancake
735a4f7a4a
Fix -h and manpages. Kill rsc2 and rasc2 from binr/
2013-04-02 12:11:20 +02:00
pancake
0f807f1bdb
Honor RASM2_{ARCH|BITS} environment in rasm2
...
Alphabetically sort the options in rasm2 -h
Globally defined nibble definitions
2013-03-28 18:43:55 +01:00
pancake
133f2dc157
Better r2 -L output. Sync spaces with rasm2/rabin2 -L
2013-03-03 03:23:52 +01:00
pancake
7fbe9071ce
Add rasm2 -w to describe opcodes, fix massemble
...
Add rasm2 -w to get opcode description
Fix multiopcode/multiline comments parsing
Avoid multiple load when there are no sub-bins
Fix r_str_replace_char
2013-02-24 21:12:30 +01:00
pancake
53b7f83749
Fix rafind2 help, honor rasm2 -l and fix objc demangle
...
Fix overflow in objc method name demangling
2013-02-15 13:24:09 +01:00
pancake
d5c68d9766
Add rafind2 -Z, fix rasm2 -dfB, check chroot() return in rarun2
2013-02-14 20:08:42 +01:00
pancake
30cfe3f15c
Initial working enyo console
2013-01-15 00:23:10 +01:00
nion
b8a02eb703
rasm_asm: do not free acode result before returning its length
2013-01-03 16:13:39 +01:00