424 Commits

Author SHA1 Message Date
pancake
d6de30eba4 More R_LIB_VERSION and initial r_asm_set_cpu() dummy api 2013-06-15 02:56:25 +02:00
pancake
d47a0176cf Update arm-dis from git 2013-06-14 03:57:47 +02:00
pancake
bc0104563b Initial support for runtime versioned libraries
- This check will ensure you are running the latest r2 version.
2013-06-14 02:51:33 +02:00
pancake
082fccc1b2 Change r_anal ABI to fix bindings +to_esil_string() 2013-06-09 03:25:32 +02:00
capi_x
c9eb90adbc Add initial Haiku support 2013-06-06 00:21:52 +02:00
pancake
356640967b Fix double warning for -zz and add support for openSUSE in mingw32.sh
- Fix mingw32 build
- Fix double warn for -zz
- Some code indentation in c55plus code
- mingw32.sh now supports openSUSE
2013-05-17 01:42:24 +02:00
th0rpe
a42e574954 Initial import of the c55+ disassembler (by th0rpe) 2013-05-15 16:11:15 +02:00
pancake
f0bce391b8 Fix thumb arm assembler for push/pop (TuXeD patch) 2013-05-12 23:24:26 +02:00
pancake
4c6bc1d28b Fix build 2013-05-01 23:03:52 +02:00
pancake
1e325fc5b0 Fix 16bit disasm bug using udis86. Fixes #25 #83 2013-04-29 09:20:16 +02:00
pancake
f04dbd3ab4 Use '$$' instead of '$pc' in r_asm_assemble() 2013-04-24 09:14:08 +02:00
pancake
79b23a35d4 Fix .string and .ascii directives 2013-04-22 01:18:21 +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
6ad7ed7925 Lot of bugfixes in r_asm, x86 assembler and ragg2 -x
- Thanks Ripe for reporting
- Handle $pc in r_asm assemble
- New ops for x86.nz: sar, shl, shr, shl, rcr, rcl, ror, rol
- Fix disassembler indentation for functions
- Fix memory align issue in r_sys_run()
2013-04-22 00:01:41 +02:00
pancake
5ef42734ab Add 'sar' opcode for 32 and 64bits in x86.nz 2013-04-21 22:11:33 +02:00
pancake
b612d2a6b1 Fix static build (+android) 2013-04-12 02:39:46 +02:00
pancake
469db755bf Enhace 8085 disasm and add basic code analysis support 2013-04-10 02:04:50 +02:00
pancake
5285d1bdea Break ABI. r_asm_disassemble's length is now 'int' 2013-04-09 22:54:04 +02:00
pancake
189e5553cc Initial 8051 disasm and ihex:// io plugin 2013-04-09 20:05:36 +02:00
pancake
7e4d92c6fb Fix some warnings 2013-04-02 12:45:16 +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
85a9fe184f thumb ARM assembler supports 'push {}' and 'pop {}' 2013-03-27 00:40:01 +01:00
pancake
8846cb79cf Pass t/test.arm, new cmd !123 to run historic command
Fix all opcode constructions listed in t/test.arm
Add 'hlt' opcode for arm.
Minor changes in arm disassembly output
Typing !#number you re-run the command in !history
!history is now listed (! is an alias)
Added API to access history from dietline
2013-03-14 02:32:53 +01:00
pancake
67f0794b82 Fix disasm indent. Add 'mvn' and 'cmp r, n' opcodes 2013-03-13 17:57:40 +01:00
pancake
f0a485d108 Add support for bkpt (arm) and cmovz (x86.nz) opcodes in assembler 2013-03-13 10:45:41 +01:00
pancake
5f4623ed46 Fix some bugs appeeared during the training course
Fix segfault in "rasm2 'xor e'"
Fix overflow in 'ad@esp' when long strings are analyzed
Fix null pointer check in r_num
2013-03-07 13:08:05 +01:00
pancake
57503ff1fe Fixes for arm64 disasm, string filter in rarun2 arg directives 2013-02-26 09:27:09 +01:00
schrotthaufen
400fecdf47 Fix aarch64 build 2013-02-26 02:52:17 +01:00
pancake
19a1f84f1f Initial import of the GNU aarch64 disassembler from binutils
$ r2 -a arm -b 64 -
2013-02-26 01:37:42 +01:00
pancake
2264763336 Fix some bugs reported by clang-analyzer 2013-02-25 11:09:24 +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
Anton Kochkov
958e855173 Add IRET and IRETD opcodes in x86 assembler 2013-02-22 13:06:35 +04:00
pancake
34decb02e1 Implement push/pop {segment} for x86 2013-02-22 02:45:46 +01:00
pancake
5225c95d18 Fix 'ad', 'a8' and add more test cases for x86/arm assemblers
Fix 'a8' command
Honor argument in 'ad'
Add more tests for x86 and arm assemblers
2013-02-21 11:31:04 +01:00
pancake
27643193f8 Fix segfault in java disassemler, and cleaner output. 2013-02-20 02:24:37 +01:00
pancake
8186395ebd Fix rax2 -S and ragg2-cc -x, better radiff2 error msg
rax2 -S is now obeying 0 input length for stdin streams
ragg2-cc -x is now working properly (needed rax2 -S)
Fix stupid parsing bug introduced in previous commit in armass
2013-02-19 21:21:39 +01:00
pancake
018b383344 Fixes in the Java CLASS parser and arm assembler
Some fixes in the java class parser (still leaky and buggy)
Ignore '#' char in armass and support upper/camel-case input
2013-02-19 19:32:02 +01:00
pancake
766563cc6e Big endian for arm.winedbg and addn randomart in rax2 -k
r_asm: Add support for big endian arm.winedbg
rax2: Add -k randomart to rax2, -k is now -B
rax2: Handle multiple flags on a single argument
rax2: update manpage
2013-02-13 01:20:42 +01:00
Sebastián Guerrero
98da9c80f5 Fix some bugs reported by scan-build 2013-01-25 02:03:57 +01:00
pancake
b5b8a78e87 Support ';' comments in rasm2 and add asm in webui
Add a working assembler panel for enyo
Allow ';' as comments in multiline assembly
2013-01-15 09:47:29 +01:00
pancake
30cfe3f15c Initial working enyo console 2013-01-15 00:23:10 +01:00
pancake
5656505e79 Draft anal_hint. Fix build and fix build (armass.c)
Minor update in the enyo $webui
2013-01-13 03:19:32 +01:00
pancake
ebe2f35630 Fix arm thumb disassembler (needs testing) 2013-01-11 14:21:23 +01:00
pancake
da837ad4ce Fix static build. Generate single libr.a 2013-01-04 14:38:07 +01:00
pancake
0d04880367 Add support for small push in x86.nz assembler
Better Visual Assembler and help ('?' show help)
2012-12-22 04:28:19 +01:00
pancake
4d22fcb806 Implement VA (Visual Assemlber), readline with callback and chs
r_cons_readline now have a callback api
r_num_chs() to convert from disk CHS to real address.
2012-12-22 02:37:01 +01:00
pancake
2596d11fc3 Fix buffer overflow in arm assembler (fix #41) 2012-12-21 14:40:26 +01:00
pancake
48f710abe8 Share RBinJavaObj to RAsmJava plugin, better java and fixes in config
Some more work to get java support back (analysis, disasm, bin share)
Honor ordinal field in java r_bin methods
Fix segfault in 'af*' on FreeBSD (thanks idwer for reporting!)
Fix some valgrind warnings
Better io.maxblk handling
Fix div by zero when blocksize is 0
Fix disasm lines when no function and extra code comments
2012-12-20 11:31:38 +01:00
pancake
51b7147df6 Add asm.linesright to show lines before opcode instead of offset 2012-12-19 01:28:34 +01:00
pancake
caaccaddc9 Fix some warnings 2012-12-13 18:32:26 +01:00