pancake
fd93fd3328
Easter egg license has expired
2015-03-31 00:49:45 +02:00
Álvaro Felipe Melchor
2afcbbaee0
Fix #2188
2015-03-30 17:29:52 +02:00
pancake
38aa11cce7
asm.decode ignores asm.filter
2015-03-30 12:52:04 +02:00
pancake
ccb23f43a2
Fix pd missalign issue reported by @hteso
2015-03-27 13:16:40 +01:00
pancake
f4e3f593d4
Add dexdump.sh to import DEX info into r2, VF now fits in screen
...
And 'C' toggles color! a use-after-free has been fixed too
And more instructions are now recognized by the analysis
2015-03-24 03:23:56 +01:00
pancake
14aa79eac9
Better disasm+code analysis for Dalvik
2015-03-24 00:08:48 +01:00
pancake
d991769935
Better vars naming, Add e cmd.fcn.{new|rename|delete}
...
- Bump sdb from git
2015-03-16 02:52:26 +01:00
pancake
cc30de36cc
Fix #1925 - Implement asm.describe
...
- Show instruction descriptions at right
2015-03-08 02:27:39 +01:00
pancake
56adb2533c
Fix some pdj issues and recover a bit of /p scroll
2015-03-06 01:14:09 +01:00
Jaume Delclòs Coll
07c3339873
Show ptr automatic comments in the web UI
2015-03-03 19:38:33 +01:00
pancake
33156c30a2
Fix segfault in pdj -x
2015-02-17 00:54:55 +01:00
pancake
e9b8269ec5
Fix #2102 - Fix crash in pDj 0
2015-02-16 19:10:00 +01:00
pancake
180d5b9793
Oops
2015-02-16 16:35:00 +01:00
pancake
fe7b7c72c2
Fix r2 -a tms320 - -qc "pd 1" segfault (via @maijin)
2015-02-16 02:48:32 +01:00
jvoisin
123a77c022
Coverifix
2015-02-11 19:05:28 +01:00
pancake
a5f53eae05
Initial implementation of asm.features on x86.cs and arm.cs
2015-02-11 03:50:56 +01:00
pancake
7b597ea874
Fix latest COVs
2015-02-08 00:30:25 +01:00
pancake
b534abbea8
Fix empty disasm issue on Dalvik bins after analysis
2015-02-06 18:24:17 +01:00
pancake
519877f264
Fix #2040 - Cropped strings in disasm
...
This patch is wip, because length of string isnt `len`, but
providing a bigger buffer allows proper disasm for 99% of cases.
2015-02-06 14:40:05 +01:00
pancake
28926c1ea9
Fix metadata tests
2015-02-04 02:02:33 +01:00
Jeffrey Crowell
aafea2ec4e
fix crash on pd
...
closes #2026
2015-02-02 18:31:51 -05:00
pancake
8f14b700d2
Add asm.fcncalls to show/hide function calls
2015-01-28 17:05:18 +01:00
pancake
d76d7c1163
Fix memleak related to r_list_join() responsabilities
2015-01-21 13:33:52 +01:00
pancake
538a94fce2
Handle functions in asm.reloff (not only flags) to calculate the delta
2015-01-18 03:02:56 +01:00
pancake
4ecf2eea6d
Fix #1976 - Segfault related to use after free next to a r_list_join () in fcn.locals
2015-01-18 02:49:19 +01:00
pancake
03ab85d632
Show all flags in disasm on every offset
2015-01-17 01:56:20 +01:00
jvoisin
ce9ece1177
Coverifix++
2015-01-16 00:56:54 +01:00
jvoisin
8ac1616daf
Fix some coverity issues
2015-01-14 02:53:34 +01:00
pancake
c6ebdac011
Use lastflag mode for the asm.reloff (previously named asm.reladdr)
2015-01-12 10:45:41 +01:00
pancake
3b3fa3584f
Initial implementation of asm.reladdr
2015-01-12 00:11:06 +01:00
pancake
3f409fb490
Add asm.vars and asm.varxs to show/hide vars and var accesses in disasm
2015-01-11 04:29:15 +01:00
Julien Nabet
164bbc7333
Some cppcheck reports fixed:
...
(warning) Logical disjunction always evaluates to true: regnum < 32 || regnum > 31
(style) Same expression on both sides of '||'
(style) Same expression on both sides of '&&'
(style) Expression is always false because 'else if' condition matches previous condition at line 180
2014-12-28 04:20:14 +01:00
pancake
ef69adb7f4
Better relocs in disasm and support reloc resolution by ordinal on PE
...
- Include OLEAUT32 and WS2_32 ordinal-symbol tables
2014-12-21 04:18:56 +01:00
Alvaro Muñoz
c295e33c70
fix #1825
2014-12-19 20:52:16 +01:00
pancake
a300cb8fb1
Fix memleaks in disasm.c
2014-12-19 17:49:42 +01:00
Alvaro Muñoz
de94f88a0b
fixes to disasm.c
2014-12-18 13:13:01 +01:00
Alvaro Muñoz
81ec413537
fix json output
2014-12-18 01:10:55 +01:00
Alvaro Muñoz
e8b5b9b517
avoid re-reading on every instruction disassembly for pXj
2014-12-18 00:29:43 +01:00
Alvaro Muñoz
73980bf617
Disasm fixes, fix backward disasembly, make pdj not behave as pDj
2014-12-18 00:29:31 +01:00
Skia
4a8d7e6875
Refactor cmd_print_format into r_print_format
...
* Enable nested specific fields access for reading and writing
* Fix pf: json regression
2014-12-17 11:34:54 +01:00
pancake
fda2da3564
Fix uninitialized function pointer crash in disasm.c
2014-12-16 22:49:32 +01:00
pancake
50a6f14763
Fix some more disasm glitches
2014-12-16 13:51:34 +01:00
Alvaro Muñoz
0332d8d332
Add var renaming in webui and fix various bugs
...
- Fix missing spaces when show_functions and not in function
2014-12-16 13:31:53 +01:00
pancake
acb4037383
Fix warnings
2014-12-14 23:08:05 +01:00
pancake
9345a2e59f
Fixed disasm line glitches
2014-12-14 19:50:56 +01:00
pancake
6e7ef1fd3c
Fix #1832 - asm.varsub is working now. Add sys/install.sh --without-pull
2014-12-14 02:36:57 +01:00
Alvaro Muñoz
a6b34c4d53
Fix #1819 - Better var disasm and management. var subst in disasm is back
2014-12-14 01:51:55 +01:00
pancake
ca64ff5027
Honor scr.interactive with asm.cmtright
2014-12-10 23:54:35 +01:00
Alvaro Muñoz
dc5da0898b
Fix #1732 and #1735 - uses 'ec gui. and ai.' prefixes
2014-12-08 23:48:42 +01:00
trndr
0af7751bd8
Fix some big endian print issues
2014-12-07 19:41:25 +01:00
Alvaro Muñoz
fa5078ddda
Declaring variables at the begining of the function
2014-12-05 14:18:51 +01:00
Alvaro Muñoz
cbdf4d051b
fix #1731 and #1733 . Remove all workarounds for the agj non structured output, and fixes some minor bugs
2014-12-05 13:44:55 +01:00
pancake
1612715a33
Check for uninitialized variables in MACH0 parser (thanks cov)
2014-11-25 12:59:24 +01:00
pancake
d503b72801
Some more tuning to bring back the good analysis times
2014-11-25 02:07:01 +01:00
pancake
3c1300a915
Add asm.calls and fix asm.section indentation issue in pd
2014-11-24 00:16:36 +01:00
pancake
7c1d54dcd7
Create and handle asm.section
2014-11-22 05:39:52 +01:00
pancake
bfbf336a22
Fix #1691 - Add comments, xrefs and flags in pdj
...
jump lines should be done in the client side. all the
information required to do the lines is in this json.
2014-11-20 01:14:47 +01:00
pancake
c90add54ff
Fix t/cmd_pd_bytes
2014-11-19 00:26:26 +01:00
pancake
c90179a0cc
More asm.comments honored
2014-11-18 23:53:27 +01:00
pancake
0e0fed096b
Honor asm.comments in more places
2014-11-18 23:48:25 +01:00
pancake
9c6dc4ce2f
Fix crash in x86.cs, handle ^C in /r and fix refptrs in disasm
2014-11-14 03:42:07 +01:00
trndr
2ab0dce285
Fix bigendian pointer dereference
2014-11-13 18:38:48 +01:00
pancake
07568e4f4c
Make .a2f work (fix afbb and such)
2014-11-13 11:17:43 +01:00
pancake
417cab4f93
Some more fixes for the disasm
2014-11-13 03:59:51 +01:00
pancake
6d4529ffbf
Add core.anal plugin a2f command. Fix a bug in x86.cs, align comments at right
2014-11-13 03:36:48 +01:00
pancake
de5919e1ca
Fix auto-strings in disasm regression (thanks Newlog for noticing)
2014-11-11 18:06:20 +01:00
pancake
c7c57e01e8
Fix regression with quoted strings inside the disassembly
2014-11-10 19:26:09 +01:00
pancake
7bafeeed00
Comment dead code from disasm.c
2014-11-10 13:26:03 +01:00
pancake
e530a902e5
Rollback a reggression in 'pi'
2014-11-07 05:16:33 +01:00
pancake
ff324cb682
Honor asm.filter in VV graph and 'pi' command. Maybe we need another command to avoid breaking tests?
2014-11-07 04:27:57 +01:00
pancake
b736119a4a
Colorize S=, Add anal.gp and better op.refs for mips and x86
...
- Add anal.gp to make mips.cs code analysis happy
- S= honors scr.color
- Fixed x86(capstone,udis) memrefs for mov/cmp
2014-11-07 03:48:27 +01:00
pancake
87273cf144
Initial commit enhacing disasm with aop.ref and aop.refptr (x86.udis only atm)
2014-11-07 00:41:29 +01:00
Fedor Sakharov
277f2e8a68
Add symbol reference to RBinReloc and print it in disasm
2014-11-04 13:59:54 +01:00
pancake
e6883804f2
Display RELOCs in disasm
2014-11-03 16:24:04 +01:00
pancake
a2dda7ccea
Add asm.cyclespace and make asm.tracespace independent to asm.trace
2014-11-02 03:06:52 +01:00
pancake
448d8e523c
Minor code cleanup
2014-11-02 02:34:59 +01:00
pancake
1b5d985582
New config var 'asm.tracespace' to indent code with trace.count information
2014-11-02 02:19:31 +01:00
pancake
1be4e0ea35
Handle ^C in several pd,pdr,pi,.. commands
2014-11-01 23:54:51 +01:00
pancake
6fcd870a5c
Bring back asm.trace and dbg.trace to life
2014-10-30 23:58:22 +01:00
pancake
8430ff1dba
r_bp_get -> r_bp_get_at // .. r_bp_get_in
2014-10-28 02:28:58 +01:00
pancake
8c49c1f10d
Add palete colors for address info numbers in pxw/pxq
2014-10-27 11:55:52 +01:00
jvoisin
a60d82b800
Fix a lot of warnings for GCC
...
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
263f776f7d
Fix data xrefs for the ioli crackme
2014-10-25 00:55:11 +02:00
pancake
718e175892
Add $p for getpid(), hide UNKNOWN refs, 'cat' works with bigger chunk if unknown size
2014-10-18 00:25:55 +02:00
pancake
25d2821696
Autodisable asm.flags when asm.flagsinbytes is set, fix esil for x86 call
2014-10-16 02:16:52 +02:00
pancake
859daf9a5b
Add consonance and tango themes. Add asm.flaginbytes
...
* invalid instruction color is now configurable
* fixed SAR as unknown instruction issue
* Bring back dead code to render flags between the offset and opcode
* Fixes for the rasta and solarized themes
2014-10-16 01:51:48 +02:00
pancake
4d1ba3717f
Fix nocolor problem in XREFs in disasm
2014-10-07 11:08:48 +02:00
pancake
b9184a0672
Remove unused hightlight function
2014-10-06 12:08:03 +02:00
pancake
d614c40833
Fix #1484 - ac not honoring scr.color
2014-10-06 02:07:50 +02:00
pancake
cc2ed288c5
Fix labels (local flags)
2014-09-27 04:43:36 +02:00
pancake
cde83cfd0c
Add many experimental enhancements for the visual debugger
...
- V@ is an alias to set cmd.vprompt
- New config variables!
stack.size = size of stack displayed in Vpp
stack.delta = substract that delta to the stack address
stack.anotated = use pxa instead of pxw
scr.highlight = word to highlight by RCons
hex.flagsz = override flag size in pxa
- Fix x86 udis anal plugin size of invalid instructions
- Fix 'hud file not found' issue
- Add 'Vdh' to set scr.highlight
- Fix V: wheel scroll issue
- Realign pxa marks if addr > UT32_MAX
- Set hex.flagsz = 9999 to cover the whole area instead of just 1 byte
2014-09-27 03:48:54 +02: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
0931f502ed
Implement asm.demangle and bin.demangle, add 'fn' to display realname of flags
2014-09-24 03:01:18 +02:00
pancake
be74e633ca
Fix Cs from projects
2014-09-23 11:55:11 +02:00
pancake
2b313c832b
Add asm.maxrefs to display xrefs in columns if they are too many
2014-09-23 10:15:19 +02:00
pancake
09a43efc8d
Reimplemented and working RAnalFcnLocal as RAnalFcnLabel in Sdb
2014-09-23 09:37:21 +02:00
pancake
7e1875e4ff
Fix some warnings
2014-09-22 19:45:14 +02:00
pancake
9ee9521a59
Also quickseek to CCALLs ('0'-'9' in visual disasm)
2014-09-22 17:00:18 +02:00
pancake
342ff7ba4f
Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries
2014-09-22 13:45:36 +02:00
jvoisin
86c3d0e70f
Fix some trivial coverity issues
2014-09-20 15:56:34 +02:00
Jonathan Neuschäfer
163ddbd8d9
pd: use the TODO esil keyword, instead of ": ".
2014-09-13 00:17:37 +02:00
pancake
68e78aef7c
Fix #1291 - remove hex dup in ascii char
2014-09-05 14:52:21 +02:00
pancake
3894cc7b9d
Fix ascii detection and enhace disasm output
2014-09-05 00:11:28 +02:00
pancake
801ba5c232
Some warning cleanup
2014-09-03 23:57:28 +02:00
pancake
e161a915dd
Fix #1276 - Extend 'Vd' to support more types #1276
2014-09-03 10:26:41 +02:00
Jonathan Neuschäfer
ed2470bc2c
Avoid a few out-of-bounds reads
...
* When "omr" is called without any arguments
+ instead just do nothing
* in string_scan_range
* unbounded pdj now works under ASAN.
+ But what did the +5 do there?
* on px/ without arguments
2014-08-26 03:45:14 +02:00
jvoisin
44ac7ec2a4
Implement backward disasm for most commands and remove pdn
2014-08-24 03:21:06 +02:00
pancake
9730c651a2
Fix pdj/pDj
2014-08-22 00:39:31 +02:00
jvoisin
359846b0d1
Fix some buffer overflow
2014-08-18 14:22:36 +02:00
jvoisin
8f0fa7567a
Fix some memleaks found by coverity
2014-08-17 20:30:48 +02:00
pancake
3d994a98a0
Fix #1196 - invalid delta in disasm retry loop
2014-08-15 04:06:51 +02:00
deeso
684b459c20
Bug in the code flipped jump and case value of the switch op, remove dangling in_switch key, and add a formal "case" op-type
...
and changed some strings back to "static" from "R_API"
2014-08-13 03:12:23 +02:00
jvoisin
bcbeb3c066
Fix some gcc warnings
2014-08-11 16:07:17 +02:00
Adam Pridgen
5532f6a918
adding escapes to the jsonification in r_core_print_disasm_json
2014-08-10 21:37:29 +02:00
pancake
7a31c33670
Kill strndup gnuism
2014-08-06 18:42:19 +02:00
pancake
0a292c936a
Add asm.indent, handle 'xX' in aa graph and enhace ptr references
2014-08-05 18:03:14 +02:00
Ilya V. Matveychikov
2affce1f1e
Ability to colorize paired opcodes (like insn1 || insn2)
2014-08-05 01:17:11 +02:00
jvoisin
00ea8dab8a
More coverifix
2014-07-30 22:41:54 +02:00
pancake
f6f48553cd
Fix anoying warn msg in disasm
2014-07-23 01:34:28 +02:00
pancake
338fa079cd
Sport ESIL traps and conditionals, better x86 esil and add asm.fcnlines config var
2014-07-21 04:18:27 +02:00
pancake
b1068c8c6a
Fix #1042 - Do not show off2num if string is found
2014-07-18 18:24:38 +02:00
dequis
b86486609b
Fix disasm highlighting when 'asm.tabs' is set
2014-07-02 16:49:45 +02:00
pancake
ea67c628b0
More warning and build fixes
2014-06-25 02:30:42 +02:00
pancake
7b9d13bbc3
Fix 'afc' (code complexity), fix nulltype xrefs and some helps
2014-06-19 01:11:53 +02:00
pancake
7cde5cd39e
Add 'VX' to follow function refs, Fix 'Vx' xrefs
2014-05-25 03:28:54 +02:00
jvoisin
5301d7c3b0
Fix CID 1157424
2014-05-22 13:21:34 +02:00
pancake
a1224b2156
Refactor rva > vaddr and offset > paddr.
...
That change may make mixing vaddr and paddr more visible
2014-05-21 03:18:00 +02:00
pancake
3b69a50b25
Fix mips meta data issue and disasm ansi escape string filter problem
2014-05-16 16:47:44 +02:00
pancake
45c41d4582
Handle 'mov' color in RCons.pal
2014-05-16 04:07:03 +02:00
pancake
216c183b6e
Remove tons of useless 'if (x) free (x)'
2014-05-09 17:40:28 +02:00
pancake
1eb08738ba
Fix #904 - s/???/invalid/g
2014-05-09 10:48:23 +02:00
pancake
887f15b03d
Add r_bp_del_all (db-*) and fix some more bugs
2014-05-08 17:38:29 +02:00
pancake
d138f61816
Add r_num_as_string() in '?' and in disasm as comments
2014-05-07 02:51:04 +02:00
Fedor Sakharov
14efa3cdef
disasm: print no newline in case of dwarf comments
2014-05-06 16:44:01 +02:00
nobody@no.org
32afcd8215
Fixed some ref/xref issues.
...
Add refs for conditional jumps.
Fixed issue with saving of refs/xrefs to projects
Fixed determination of jump target's enclosing function
Reenabled display of jump target's enclosing function for condition jumps.
Fixed another issue with call refs introduced earlier.
2014-05-06 03:02:39 +04:00
Zakhar Voit
40802addf9
Fix #845 - memory leaks in function filter_refline
2014-05-05 00:40:03 +02:00
Anton Kochkov
547ead1fb9
Fix CID 1191960
2014-05-04 19:21:05 +04:00
deeso
31e9a8c4b3
fixed null pointer dereference in handle_print_meta_infos
2014-04-30 22:00:54 -05:00
pancake
08ecf4fd99
Enhace disasm reflines in comments
2014-04-23 04:27:21 +02:00
pancake
b05e504f2f
Add CC+ and CCa+ to append comments
2014-04-23 04:19:21 +02:00
Fedor Sakharov
d75043c6eb
disasm: read asm.dwarf var from config, fix segfault and remove asm.dwarf disabling in case of error
2014-04-21 19:22:37 +04:00
pancake
6a61706d05
Random offby8 fixes for /R
2014-04-09 04:53:34 +02:00
Anton Kochkov
b4f1cd220f
Show imports in disassembly
2014-04-03 00:59:13 +04:00
Adam Pridgen
6bc694f873
Added colorization to pdn and added a dead code warning if all the bytes in a method are not consumed during analysis.
2014-04-01 16:22:56 -05:00
pancake
9e08e07b7b
Fix build, remove useless debug printfs
2014-03-31 16:39:16 +02:00
pancake
bc344eea1d
Add r2048 game in V! command. Initial sdbization of fcn vars
2014-03-31 03:06:45 +02:00
condret
d6dae07979
Implement RAnalCycleFrame Stuff, New optypes and esil-adc/sbc
2014-03-25 02:36:54 +01:00
pancake
73a46d574c
SDBize and refactor Anal-Hints, still unfinished
2014-03-11 02:47:10 +01:00
pancake
7c8daf1e70
Refactoring RBinMeta into RBinDbgInfo
2014-03-10 02:27:32 +01:00
Fedor Sakharov
7682a33646
Fix #689
2014-03-09 00:04:19 +04:00
pancake
f7bdfb2bbc
Fix #575 - Thanks @montekki - plus other enhacements
...
- Use ↑ for utf8 backlines
- Support multiple RAnalMetas on every line in disasm.c
- Use sdb in disasm to retrieve RAnalMetas instead of api
2014-03-08 02:36:33 +01:00
pancake
ddd9bd811d
Fix newline in multiline comments and use ! for backjumps
2014-03-06 23:42:01 +01:00
condret
bf61ecdeee
Add cpu fail cycles, Add CCALL and improve GB
2014-02-26 01:15:34 +01:00
pancake
ec58f84572
Add asm.bytespace=true config variable
2014-02-25 01:35:23 +01:00
pancake
4180b24f56
Fix graph with trash data in it
2014-02-25 00:38:18 +01:00
pancake
bec7627f9a
Fix zero byte invalid instructions issue in disasm
2014-02-24 10:55:15 +01:00
pancake
070bc97286
Fix #582 - Escape binary strings in output error message
2014-02-23 01:56:26 +01:00
pancake
25809a0887
Fix some warnings and indentations
2014-02-20 03:08:12 +01:00
pancake
932e9e41d2
Fix #502 - Fix hotkey numbering for the same function
2014-02-18 16:07:21 +01:00
Adam Pridgen
f2745f602d
removed the NULL check for core->anal in disasm and fixed formatting in anal_java
2014-02-17 08:24:22 -06:00
Adam Pridgen
27674ad03e
Fixed Java crashes and case statements for anal and print disasm by adding
...
a reset_counter (added to RAnalPlugin) or reset method address at the beginning
of each print disasm or analysis. Also fixed a bug in reflines.c/disasm.c,
s.t. lines will be respected when printing disasm.
2014-02-15 09:42:14 -06:00
condret
fbd6269b0c
Add cpu-cycles
2014-02-14 00:53:54 +01:00
pancake
8279f508db
Implement /P and Optimize + Fix #412 ROP search
2014-01-27 01:12:16 +01:00
Adam Pridgen
e6fe3354d9
Fixing coverity issues for io_zip, hanging caused by infinite loop in disasm.c,
...
and io map collisions (which adds file.loadalign, file.loadmethod (append or fail),
and file.suppresswarnings.
2014-01-25 23:48:22 -06:00
Adam Pridgen
2e20adb68d
Proposed fix to printing function disassembly with rewrite of the function handling reflines.
2014-01-24 02:40:02 +01:00
pancake
666ab166d1
Add 'cu' and 'arC', better 'cc'
2014-01-24 02:37:14 +01:00
pancake
0cce4f19fb
Refactor to fix bindings
2014-01-23 04:34:59 +01:00
pancake
a4ffd58ad8
Fix bug in disasm.c
2014-01-23 03:47:20 +01:00
Adam Pridgen
51a27ab1cc
Coverity Fixes
2014-01-22 16:58:23 -06:00
pancake
4f73ee605b
Fix #558 - color=0 not working in xref comment
2014-01-21 12:10:32 +01:00
pancake
62d11ca574
More disasm fixes, remove old code
2014-01-20 01:42:16 +01:00
pancake
ae85c1c16b
Fix data references and prefix after flag in disasm
2014-01-20 00:14:00 +01:00
pancake
4c8346fd8a
Fix more coverity issues
2014-01-18 23:02:53 +01:00
pancake
e31d6492d8
Fix iOS entitlement and use the refactored disasm by default (let's test)
2014-01-18 02:17:01 +01:00
pancake
ec016d8cc5
Fix w32 build
2014-01-18 01:55:03 +01:00
deeso
b3badc7cf2
Refactored r_core_print_disasm so that it is more manageable
...
for edits. right now, its experimental and needs testing
it is currently disabled, but can be enabled by setting
USE_REFACTORED to 1 and USE_OLD to 0.
2014-01-17 03:59:45 -06:00
pancake
1066c7a4f6
Fix uninitialized string in disasm.c and do not use of strcasestr
2014-01-10 18:45:51 +01:00
pancake
01a2b485e7
Implement 'drc' command with all the RRegCond magic
...
- Fix all debug register profiles
- Support for X86 and ARM
- Allow to check conditional instructions
2014-01-08 23:23:06 +01:00
pancake
54dc8b7f17
Fix uninitialized buffer
2013-12-14 03:00:36 +01:00
pancake
bd6824baaf
Fix arm64 disassembler and obey op->size
2013-12-11 03:06:51 +01:00
pancake
0df2759c18
Obey opcode size rules when disassembling instructions
2013-12-11 02:18:39 +01:00
pancake
c165361124
Add bin.bf for brainfuck and use static ESIL struct
2013-12-10 03:35:59 +01:00
BatchDrake
b04a9776a2
Refactorization of RAnalOp.esil to make it compatible with RStrBuf
2013-12-08 22:47:50 +01:00
pancake
b97eecc06f
RStrBuf setters return boolean for success
2013-12-08 02:47:55 +01:00
pancake
2fb1da0fe3
More .size refactoring
2013-12-06 05:31:54 +01:00
pancake
322a8a7654
Fix build for latest refactoring
2013-12-06 05:18:57 +01:00
pancake
44a959fa78
Fix #423 - asm.tabs parser to bound words between brackets
2013-12-06 02:44:43 +01:00
pancake
2186875a55
Fix #411 - Fix asm.tabs and write test cases
2013-12-04 00:47:34 +01:00
pancake
32bfab2a50
Fix toro loop in disasm that broke visual reflines
2013-12-02 17:15:22 +01:00
pancake
6e310937cb
Fix for asm.tabs
2013-12-02 17:03:46 +01:00
pancake
3bb57ebe87
More fixes for pd/pD
2013-12-02 05:43:29 +01:00
pancake
4e368ae2b3
Fixes for pd, pdn and pD, Fix Vppj issue
2013-12-02 03:53:29 +01:00
pancake
e98c0d4f19
Fix of scr.color in disasm.c
2013-11-26 10:49:39 +01:00
pancake
1bb99e41f2
Fix double-cursor issue in disasm with invalid instructions
2013-11-14 04:49:48 +01:00
pancake
510cd072be
Fix #352 - Some x86 instructions translate to ":" in esil
2013-11-14 01:22:07 +01:00
pancake
e8c120ae89
Use asm.esil in 'pi' and 'pdi'
2013-11-13 01:59:16 +01:00
pancake
7a8b342f5c
Add asm.esil boolean to show esil instead of opcodes
2013-11-13 01:51:15 +01:00
pancake
737ac0f81f
Fix #346 - Segfault in disasm.c
2013-11-13 00:20:47 +01:00
pancake
1d0eeb9955
Use ';' comment prefix in branch keys comments in disasm
2013-11-10 02:04:22 +01:00
pancake
ec9b04e758
Fix #319 - Fix recursive loading the same script
2013-11-09 03:25:43 +01:00
pancake
603b595e53
Fix reflines overflow
2013-11-07 15:13:33 +01:00
pancake
a0d5af1875
Fix #310 - Wrong disassembly when seeking backwards
...
Handle ~/.config/radare2/radare2rc script
Add 'cls' command
Use '?' instead of 'K'
2013-11-07 02:07:10 +01:00
pancake
486b87a870
Re-enable disasm retries and add test
2013-11-06 02:10:53 +01:00
pancake
19165d308a
Fix #309 - Wrong symbol in reflines if UTF8
2013-11-06 01:48:55 +01:00
pancake
438d502646
Fix #309 - Use utf8 vertical line in comments
2013-11-05 03:23:29 +01:00
Anton Kochkov
37a655a889
Fix #309 - wrong refline symbol on references lines
2013-11-04 18:58:18 +04:00
pancake
629c64c851
Fix 'dr=' columns width for 64bit registers
2013-10-31 01:53:17 +01:00
pancake
8cc4809c3a
Refix for #288 and do not stop on invalid reflines
2013-10-27 02:20:36 +01:00
pancake
64b6750ee3
Fix #277 - Segfault in radiff2 - Thanks nibble!
2013-10-25 10:42:46 +02:00
pancake
84481c53ec
Fix ARCompact disassembly
2013-10-24 23:11:56 +02:00
pancake
bec4f5b63a
Fix radiff2, Ps segfaults and ARC syntax
...
- Fix some nullptr derefs on uninitialized graphdiff structs
- 'ar' is now r_cons compliant and rnum friendly (add arj)
- Fix some arc disasm syntax issues
- Fix segfault when saving analysis info in projects
- ARCompact analysis needs to be rewritten
2013-10-24 13:59:19 +02:00
pancake
a5b9d9126a
Code analysis fixes, add 'sf' command and add visual seek feedback
2013-10-20 00:25:37 +02:00
pancake
6d4c0fcdaf
Fix #273 - pxo segfaults, add 'bm' command and 'pd' honors ^C
2013-10-19 23:10:08 +02:00
pancake
a52b4eaf6d
Handle type 'd' in disasm
2013-10-19 01:13:44 +02:00
pancake
6e54a0c7a7
Fix #255 - Too much function informations
2013-10-15 01:17:54 +02:00
pancake
3406d5eb52
Fix visual jmp keys reset and malloc:// write error
2013-10-14 01:12:09 +02:00
pancake
7867d8cdc1
Handle 'hlt' x86 instruction as trap in analysis
2013-10-10 00:59:12 +02:00
pancake
d100e603c9
Fix #157 - sandbox issue in webui
...
- add 'f' and ':' print formats
- fix nocolor disasm artifact
- add VW command to launch webui
- rename sN to sp (seek to previous hit)
2013-10-09 00:29:49 +02:00
pancake
9210656589
Fix visual glitch for one-op functions in disasm
2013-10-08 02:08:59 +02:00
pancake
f3d6ad2eec
Fix colorization of dalvik opcodes
2013-09-30 12:56:00 +02: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
pancake
f058b5e0ad
Handle \n as well as ; for line separators in r_core_cmd
2013-09-11 23:41:40 +02:00
pancake
f61fa0565e
More work for cparse, Show type links in disasm. Fix some warns
2013-09-04 02:01:42 +02:00
pancake
f4aa5ab6f3
Minor utf8 changes
2013-09-02 23:16:33 +02:00
Anton Kochkov
2d3297e26d
UTF8 arrows initial support
2013-08-28 00:26:30 +04:00
pancake
9850c0a3c3
Fix some warns and enhace GIT_TAP in makefiles
2013-08-26 01:07:21 +02:00
pancake
c27838a59c
Do not show ; -- after rets in disasm
2013-08-26 00:57:56 +02:00
pancake
beeb0cd7f8
Fix #183 - pif doesn't stop at function's end
2013-08-24 23:45:10 +02:00
pancake
9915108a47
Only show flags when differs from function name
2013-08-23 17:39:34 +02:00
pancake
c13284cd71
Minor refline hacky fixes in disasm
2013-08-11 15:38:42 +02:00
Eduardo de la Arada
18b0268443
Fix asm.pseudo
2013-07-26 12:19:17 +02:00
pancake
756bd5645e
Fix #145 (trash in opcodes)
2013-07-23 17:58:13 +02:00
pancake
a597b0e414
Bring back code|data xrefs to life. Use 'ar' command
...
'ax' and 'ar' are in conflict. must resolve
Uses sdb to store code and references
Ugly code that needs a huge cleanup
Update to latest sdb
2013-07-19 03:35:45 +02:00
pancake
19314bc27f
Better comments in disasm, fix io->size = 0 regression
2013-07-18 23:00:38 +02:00
pancake
670bb111d8
Add 'floc' and 'invalid' color palettes, Vdr renames locals
...
Vdr now support renaming local function labels
Do not colorize lines when scr.color=0
2013-07-17 23:06:06 +02:00
pancake
be46b9da31
Initial support for truecolor (xterm only)
...
Add e scr.truecolor variable
Add !! command to save history
Add ec: command to randomize palette
Minor rgb trash fix,
2013-07-17 19:34:27 +02:00
Anton Kochkov
e81d4e900d
Fixed "cmp" opcode colorization
2013-07-17 03:30:11 +04:00
Anton Kochkov
2f7224f64d
Added colorization for flows
2013-07-17 01:45:38 +04:00
Anton Kochkov
00c3c70f3b
Implement functions flow lines colorization
2013-07-17 00:38:02 +04:00
pancake
e2537b9484
New command: 'pB', the px-like pb (xvilka idea)
2013-07-12 00:29:27 +02:00
Anton Kochkov
253b3f136d
Fix for local labels
2013-07-11 02:55:16 +04:00
Anton Kochkov
c39e6aee82
Added local labels reference display
2013-07-07 01:59:41 +04: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
6fa47bb40f
Only colorize ops when scr.color is set
2013-07-04 03:47:19 +02:00
pancake
b8f7138092
New palette in disasm, fixed 'fs*', better scr.colorops
...
Fix 'make w32'
Some more enhacements on the webui
New palette. im open to suggestions
Fixes in the scr.colorops parsing
Fix 'fs*' command
Analop now sets Type.ILL if invalid
2013-07-04 03:34:28 +02:00
pancake
2992f7c951
Add cfg.colorops and 'reg'+'num' palete elements in r_cons
2013-07-03 17:43:20 +02:00
pancake
b963192a31
Redefine local flags commands and minor fixes in disasm.c
...
Use Color_RESET after fcn, label and flags in disasm.c
RCore.anal_fcn_local_list() now takes RCore* as 'self'
Redesign commands to add/list/remove local flags (f.)
f.a@3: set local flag 'a' at offset 3
f. : list locals in current function
f.* : as above using radare commands output
f.** : list all locals from all functions
2013-06-30 02:45:33 +02:00
Anton Kochkov
0711e60667
local labels inside functions - initial support
2013-06-29 10:21:15 +04:00
pancake
438e90a069
Fix minor indent issue in disasm
2013-06-28 13:12:46 +02:00
pancake
72581dd93e
Many enhacements for the lua bindings
...
Load module and cast core instance at startup
Requires latest valabind.
Add RCore::ncast api
Use pkg-config everywhere to fix lua plugin build
Fix install path for lua bindings
Export RCore instance to #!lua shell
Example:
#!lua
print(c.assembler.bits)
2013-06-25 02:45:12 +02:00
Anton Kochkov
3be06f30c0
Fixing function colorization
2013-06-21 22:13:43 +04:00
Anton Kochkov
b30a148be6
Colorize function names: step 2
2013-06-21 00:34:03 +04:00
pancake
04cfefb9d8
Fixes on dyldcache list and x86 branch analysis
...
Fix some branch analysis issues for x86
Add new simpler r_reg api r_reg_getv()
Store library offset in dyldcache xtract info
Accessible via rabin2 -A or r2 <file>
Looks like dyldcache is too slow and buggy for latest caches
Fix indentation in branch comments
2013-06-20 02:49:39 +02:00
Anton Kochkov
83b40a7b4e
Added cjmp, fname and flow color categories
2013-06-17 09:42:46 +04: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
Anton Kochkov
5341081d1d
Added binary arithmetics operations in color 'bin'
2013-06-16 23:18:29 +02:00
pancake
082fccc1b2
Change r_anal ABI to fix bindings +to_esil_string()
2013-06-09 03:25:32 +02:00
pancake
4d32b6b8e4
Initial import of r_bin_bios plugin
2013-06-09 02:11:17 +02:00
pancake
3f1d3ba146
Better r_str_hash(), Fixes in CCa, Added ?h, Better rbin for BEOS bins
...
Identify Haiku binaries as 'beos' with noodle()
Fix CCa for non numeric offsets
Use sdb's r_str_hash() instead of old one (much less collisions)
Added ?h command to hash strings
CCa now appends instead of replacing comments
Do not mark as static if bin links to libs
2013-06-07 10:26:37 +02:00
pancake
29066085de
New 'afb <bits>' per-function asm.bits, Renamed 'afb' to 'afbb'
2013-05-24 02:53:15 +02:00
pancake
3ba48ac9ad
More color theme fixes and categories (math, bin, other)
2013-05-23 12:37:40 +02:00
pancake
ecc45d8d53
More fixes in 'ec' and 'ecs' commands for color palette
2013-05-23 03:03:40 +02:00
pancake
e5cdab6d20
Fully configurable console palette for disassembly, hexdump and prompt
...
- Fix overflow in r_cons
2013-05-23 02:26:48 +02:00
pancake
a42ab6898d
Extend the fix of #92 to handle func name refs on nonlinear addressings
2013-05-22 04:30:46 +02:00
pancake
9d65bfe70c
Initial r_cons palette support. See 'ec' command
2013-05-22 04:22:49 +02:00
pancake
8c5a6d68ff
Handle fcn in r_parse, unify filter() and add locdiff utility
2013-05-22 01:49:18 +02:00
pancake
e3129f246e
Show flag comment in branch references ( fixes #92 )
2013-05-21 08:59:08 +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
4cf83c6a63
Detect more c++ bins, demangle symbols and fixes in udis86
...
Better detection of c++ bins
Handle symbol/import name mangling as code comments
Fix visual menu 'VT'
Fix udis86 call analysis
2013-04-16 03:24:47 +02:00
pancake
469db755bf
Enhace 8085 disasm and add basic code analysis support
2013-04-10 02:04:50 +02:00
pancake
d5f3ddaaf0
Refix #72
2013-04-01 01:45:28 +02:00
pancake
7ff12dfeee
Fix #72 : Honor per-section arch/bits in io+core
2013-03-31 04:34:46 +02:00
pancake
c829b88c3f
Bump for the 0.9.4 release
2013-03-21 18:42:31 +01:00
pancake
67f0794b82
Fix disasm indent. Add 'mvn' and 'cmp r, n' opcodes
2013-03-13 17:57:40 +01:00
pancake
4c244a818c
Add 'Ch', handle c++ lang in rbin and obey cursor in V:
2013-03-01 09:57:30 +01:00
pancake
dc2690e529
Support get/set introspection in 'pf' and handle scr.stride in px
...
Rename pf$ to pf.
Add support for introspecting and setting named pf fields
Introspection supports get and set
Add scr.stride property for 'px'
Initial work on slist
Add judy arrays implementation (not integrated)
2013-02-01 03:15:48 +01:00
pancake
1f6174c6ae
Better webui, 'pi' counts opcodes and remove /new and htmlgraph
...
pi honors number of instructions, not bytes
Remove htmlgraph and lungo webui
More work on the enyo webui
2013-01-25 03:22:09 +01:00
pancake
1c93e8a727
Better webui, fix segfault in ag, add agj for json graphs
...
More work on the webui
New 'agj' command to get function graphs in json
Fix segfault in 'ag' command
'agv' now launches the internal http server
Initial refactoring for RAnalHint integration into RCore
Add basic mime-type support in the http server
Enhace the graph view style
2013-01-24 03:48:24 +01:00
pancake
4ffa7952a2
Fix segfault in DEX parser, remove more r_print refs
2013-01-23 01:53:32 +01:00
pancake
2365918652
Fix slow ELF loading and add anal hints support to projects
...
Fix slow ELF loading when shstr section was huge
Added 'ahj' command to list anal hints in json
Add 'ah*' and use it from r_core_project
Fix 'i*' command
2013-01-22 18:08:33 +01:00
pancake
fc9301b14b
Add hints and named print formats and more
...
Initial implementation of anal hints (ah?)
Use anal hints in core/disasm. Needs more work
New data structure StrHT (string hashtable)
Simplify core/libs.c with cpp macros
Added r_cons_color() wip function for ansi256 consoles
RPrint no longer depends on r_cons
Sort 'a?' help commands
Add support for named print formats with pf$ command
Add support for 64 bit string pointers in 'pf' ('S')
Add r_print_mute and r_print_format_length functions
Bump r2 nodejs bindings version number
Merge r_print into r_util
2013-01-22 05:06:12 +01:00
pancake
a8a4c5e3e8
Initial implementation of http.upload (disabled by default)
...
Open http://localhost:9090/upload.html to upload
curl -F file=@/bin/ls http://localhost:9090/up/ls.bin
Tested on 10MB files without problems
Default upload directory is $TMPDIR
2013-01-03 00:47:58 +01:00
pancake
2d0dd302be
Add RCoreLog API ('l' command), '-' cmd is now '$'
...
Fix in disasm comments
Fix bugs in r_strpool api
Log API allows rss-like messaging
2012-12-23 13:52:57 +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
0f6b4e34e1
Fix null pointer in disasm
2012-12-18 15:46:00 +01:00
pancake
a14f48918f
Fix build and pdj on invalid opcodes
2012-12-07 16:00:36 +01:00
pancake
70b037e154
Show refs in disasm, better analysis for ARM and x86-16
...
Fix status line bug in visual debugger
2012-12-07 03:12:25 +01:00
pancake
83da070d44
Fix fcn lines in disasm, minor fix in meta
...
Initial work to fix linux32 debugger on linux64
2012-12-06 03:11:40 +01:00
pancake
475372ec2c
Fix archbits in overlap mem, fixes for ad, pd and segmented addressing
...
Fix invalid wide string identification in 'ad' command
Temporal blocksize syntax ':' has changed to '!'
- x @ 1024!33
Fix overlapped IO sections handling
Add support for segmented address in temporal seek
Fix disassemlby to print more lines than blocksize
2012-12-06 00:55:22 +01:00
pancake
84002a421f
Better new WebUI, fix pdf,pD, implement http.timeout and more
...
Enhacements in the new webui
Fix r_socket_block_time()
Implement assembler for the 1bit arch RAR (wip)
Fix pdf, pdb and pD (print_disasm)
Implement http.timeout and http.sandbox
2012-12-03 04:01:55 +01:00
pancake
b6c5e7dc72
Honor meta item length in core disasm
2012-11-20 04:22:16 +01:00
pancake
e495421782
Initial implementation of 'ad' (analyze data)
...
Force tid=pid when tid=-1 in r_debug_select()
Add support for 16bit mov in x86.nz assembler
2012-11-20 03:59:00 +01:00
pancake
8ea25c4a46
Use RNum in RAsm, fixes for segoff and better disasm
...
Reference of RNum in RAsm (use flags in 'wa/pa'!)
Use RNum in x86.nz plugin
Rename scr.segoff to asm.segoff
Fixes for segmented addressing resolution
Honor lineswidth in disasm
Remove rabin2 -p flag in help and manpage
Fix disasm.c loop for small blocksizes and invalid ops
2012-11-16 01:34:26 +01:00
pancake
56b442fb70
Fixes in RCore's disassembler
2012-11-13 04:38:26 +01:00
pancake
23bd67ce59
Fix 'invalid' instructions in disassembly (reported by xvilka)
2012-11-13 04:09:59 +01: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
pancake
1a6d3155e5
Enhace r2wui and implement 'pdj' command (disasm to json)
2012-11-08 09:49:27 +01:00
pancake
21c4d1c5f5
Enhace ARM disassembly and code analysis
2012-11-05 06:01:55 +01:00