Commit graph

60 commits

Author SHA1 Message Date
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
Riccardo Schirone
26fc8f92ef libr: remove some unused variables and functions 2016-04-27 12:59:45 +02:00
NaveenBoggarapu
4c04b98b47 few memory leaks fixed 2016-04-13 21:55:48 +02:00
pancake
a461bbc536 Fix #4304 - asm.filter for m68k 2016-03-22 12:45:05 +01:00
Evan Shaw
288763f69a Count hex digits as numbers in parse filter
Without this we chop off number operands as soon as a hex digit is seen.

Also fix and use a previously unused macro.
2016-03-17 11:13:30 +01:00
pancake
384cfb1042 Fix last coverities 2016-02-16 02:08:09 +01:00
Maijin
69c3ffa9e6 Change default syscall ahi S 2016-02-03 17:51:55 +01:00
Maijin
8571a9c2ba Add ahi for syscall numbers fix #4068 2016-02-03 17:05:03 +01:00
pancake
3a2a713775 Implement ahi 32 for IP address hints 2016-02-03 12:29:32 +01:00
pancake
ececf1dcc6 Use snprintf and pnumleft in the ahi2 filter 2016-01-07 13:11:05 +01:00
DZ_ruyk
010e997c3e Fix for issue #3766 2016-01-07 12:38:00 +01:00
pancake
5132a499c2 Fix many coverities 2015-12-31 17:10:02 +01:00
pancake
d49f6dcf7b Fix #3781 - 64bit ahi issue 2015-12-22 22:59:57 +01:00
pancake
2c047083e3 Fix asm.filter issue in some ARM64 instructions 2015-12-19 17:04:01 +01:00
Riccardo Schirone
065728c42d parse/p: fix asm.relsub when replaced string is longer than original
fix #3768
2015-11-27 20:37:19 +01:00
pancake
7b7400c392 Support ansi and rgb in rparse 2015-11-24 01:24:47 +01:00
pancake
b172333386 Another isspace regression for ahi 2015-11-23 23:55:44 +01:00
pancake
0f5740d1a5 Fix regression introduced in ahi 2015-11-23 23:33:50 +01:00
pancake
653e09a0aa Fix #3746 - Handle immbase anal hint in all number bases 2015-11-23 23:04:49 +01:00
pancake
96990424cc Fix #3737 - crash in ahi 1 for huge 64bit nums 2015-11-23 12:45:30 +01:00
pancake
dec1760d54 Minor ahi fixup 2015-11-23 02:54:33 +01:00
pancake
6027d6e44e Implement asm.relsub 2015-11-19 23:12:25 +01:00
pancake
84bd6df03f Fix asm.filter in pi command 2015-10-20 23:48:34 +02:00
pancake
3c78218da3 Fix crash in ds->hint 2015-09-28 11:21:23 +02:00
pancake
c94dd22f4d Enhace drr, also arr. add dbg.slow and better debugmap names in xnu 2015-09-28 02:04:08 +02:00
pancake
50340be871 Fix #3376 - Implement immbase anal hint 2015-09-28 01:00:06 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
22c9b3f0fe Fix #2628 flags offset hashtable issue and Fix #2607 ELF relocs 2015-05-29 00:51:57 +02:00
pancake
43dfbd9820 Initial (bugfix/PoC) for the pdc decompiler command 2015-04-16 06:44:48 +02:00
pancake
c90add54ff Fix t/cmd_pd_bytes 2014-11-19 00:26:26 +01:00
Jody Frankowski
df289d8611 Unify fcn_find and get_fcn_at in get_fcn_in and get_fcn_at 2014-09-26 17:16:28 +02:00
pancake
fd02a741a1 Fix JK in !pd, fix pxa and do not parse.filter <0xff numbers 2014-09-25 00:01:09 +02:00
Andrew McDonnell
a50775ab07 Fix junk (]0m) on the end of some refs in coloured disassembly 2014-06-10 11:31:51 +02:00
pancake
3b69a50b25 Fix mips meta data issue and disasm ansi escape string filter problem 2014-05-16 16:47:44 +02:00
jvoisin
125e9784fa Fix CID 1134595 2014-05-10 21:29:33 +02:00
pancake
5091fa0887 Fix segfaults and minor changes in m68k disasm + anal, webversion is not 2014-04-06 03:29:29 +02:00
pancake
7176c89b1a Fix asm.filter issue 2014-02-13 03:11:23 +01:00
pancake
722659005d Better brainfuck and arm64 support. Fix some bugs
- Fix infinite loop bug in dietline using quoted commands
- Update brainfuck disassembler and analyzer
- Fix #232 - r2 error on corkami's standard.elf (missing strtab)
- Honor 'other' color palete
- Fix bug in disasm.c filtering flag replacements
- Removed '#' prefix for numeric arguments in aarch64 disasembler
- Fix infinite loop in '">"' command
2013-09-30 01:14:04 +02:00
Juan RP
9101835c58 Accept @xtraeme's massive warning cleanup 2013-07-25 15:14:49 +02:00
pancake
11e00e438e Fix Java class crash, better opcode colors and use $c/$r for screensize
Fix segfault in java class parser
Fixes in the opcode reg|num colors
$r renamed to $m (memref)
Use $c and $r for columns and rows instead of $h (height)
2013-07-04 14:08:58 +02:00
pancake
c38a5a3232 Fix 'db -' command parsing 2013-06-20 09:54:42 +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
8c5a6d68ff Handle fcn in r_parse, unify filter() and add locdiff utility 2013-05-22 01:49:18 +02:00
pancake
25df4aef1c Fixed io ports flagspace usage and multiple asm filters
Handle negated flagspace in RParse
Support pseudo+decode+disasm
2012-11-13 02:00:00 +01:00
pancake
8e1dbb443a Better support for IO ports on asm.pseudo and analysis
* Analyze IO opcodes on x86
* Fix 0x0x in olly disasm
* Fix segfault in objc mangling
* Support for writing nibbles with 'wx'
* If optype is IO, use 'ports' flagspace
* Add support for flagspaces in RParse
* Use RList in RParse instead of list.h
* asm.pseudo handles for in/out x86 opcodes
* Random code cleanup
* Fix udis86 64bit disasm bug
2012-11-13 00:53:52 +01:00
Anton Kochkov
e43a1f921d Deep integration of complex types - build fixed 2012-07-22 12:41:53 +04:00
pancake
870518903b * Fix r2-bindings build
* Fix some warnings in r_parse
2011-10-05 12:40:16 +02:00
pancake
098b1ba127 * Implement input and output filters for rasm2
- Experimental.. not yet ready for release
  - Add rasm2 -F flag to specify input and output filters
   $ rasm2 -F att2intel
* Add new att2intel r_parse plugin
  - make mrproper required
* Initial implementation of RBinClass
  - Only experimental and Java-specific atm
  - Add rabin2 -C to display classes
* Optimize some r_str functions
2011-10-05 02:38:37 +02:00
Nibble
8546c2d61b * Initial implementation of cmd 'Cv' for renaming vars
* Add r_parse_varsub() to r_parse
* Add config variable 'asm.varsub'
* Minor fixup in core/anal.c
2011-02-23 15:17:06 +01:00
Nibble
dd310e4352 * Fix bug in r_parse_filter (thx edu!) 2010-08-02 19:34:23 +02:00