117 Commits

Author SHA1 Message Date
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