Commit graph

2433 commits

Author SHA1 Message Date
Eduard Burtescu
dfdee4e6c7 r_bin: improved JSON output and VAPI for the new relocs. 2013-07-19 10:21:06 +03:00
Eduard Burtescu
96ca1d3815 r_bin/mach0: new relocs using dyld_info bind opcodes. 2013-07-19 09:53:43 +03:00
Eduard Burtescu
6408bf4b9a r_bin/mach0: updated mach0_specs.h using original Apple headers where possible. 2013-07-19 09:29:58 +03:00
Eduard Burtescu
4a30d17266 Mach-O: new relocs implementation and complementary fixes for imports. 2013-07-19 09:29:58 +03:00
Eduard Burtescu
88030d6f38 r_bin/PE: implement new relocs. 2013-07-19 09:29:58 +03:00
Eduard Burtescu
5e096a4fd7 r_bin: new generalized relocs, with only arch-independent types.
Basic implementation for ELF relocs (x86, x64 and ARM).
2013-07-19 09:29:58 +03:00
Eduard Burtescu
4c90534f84 r_bin/ELF: don't ignore the r_addend field from Elf_Rela relocs. 2013-07-19 09:29:58 +03:00
Eduard Burtescu
b8e031d91c r_bin: removed hint from RBinImport, as it's only used in PE and even there it's doubtfully relevant. 2013-07-19 09:29:58 +03:00
Eduard Burtescu
8403699f2e r_bin: removed rva, offset and size from imports.
PLT-like lazy import wrappers are now part of symbols, where applicable.
The "imp." prefix is a temporary solution, it should be a flag.
2013-07-19 09:29:58 +03: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
5922cfe530 Fix #150 IO issue. 2013-07-18 12:10:52 +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
fd075de90a Add 16bit dithering for 256/16M rgb console + fixes
Add scr.rgbcolor to disable 16bit ansi escapes
Disabled by default on windows
Implement ansi to rgb and rgb to ansi conversors
Implement 256 color to rgb bruteforcer
ec: renamed to ecr
Fixes for the VE menu
Drop --enable-devel flag from r2-bindings/README
2013-07-17 22:12:14 +02:00
pancake
e5af04856f Fix #133 2013-07-17 20:23:24 +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
pancake
a1123b6a69 Added default color paletes for rcons
Added 'ecf':load colorschemes
Added VE visual menu to configure colors
r_cons_rgb_parse() needs a rewrite
2013-07-17 03:51:53 +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
ea742aee77 Implement analysis for x86-64 LEA reg+delta references 2013-07-16 19:11:19 +02:00
Anton Kochkov
77e2c0c34a Fix ARCompact ELFs loading 2013-07-16 20:10:07 +04:00
Anton Kochkov
8c9af77581 Added ARCompact analysis 2013-07-16 20:10:07 +04:00
pancake
e236f0cf5a Fix ELF regression issue 2013-07-15 18:07:42 +02:00
pancake
dc8e37f420 Update sdb, simplify some makefiles 2013-07-15 02:51:55 +02:00
pancake
209ac5696c Fix '$' alias command (thanks alxchk for reporting) 2013-07-13 01:13:23 +02:00
Anton Kochkov
cec9c39ce8 ARCtangent A4 analysis fixes [2] 2013-07-13 00:07:27 +02:00
pancake
eda345219f Swap pb/pB 2013-07-12 01:04:05 +02:00
pancake
e2537b9484 New command: 'pB', the px-like pb (xvilka idea) 2013-07-12 00:29:27 +02:00
Anton Kochkov
d04dbde9fc ARCtangent A4 analysis fixes 2013-07-12 01:46:29 +04:00
Anton Kochkov
cec6d5aa75 Fix for ARCtangent A4 relative address calculation 2013-07-11 03:23:58 +04:00
Anton Kochkov
eaa0e66fbe More ARCtangent A4 analysis 2013-07-11 02:55:17 +04:00
Anton Kochkov
253b3f136d Fix for local labels 2013-07-11 02:55:16 +04:00
pancake
21ed694196 Fix and update ARM Thumb2 disassembler 2013-07-10 09:40:42 +02:00
pancake
5cc7466191 Enhace rasm2 -D output 2013-07-08 03:38:44 +02:00
Anton Kochkov
c39e6aee82 Added local labels reference display 2013-07-07 01:59:41 +04:00
Anton Kochkov
ad882d1ba3 Fixed indentation 2013-07-07 00:35:49 +04:00
Anton Kochkov
90ffe45826 Fixed colorization for ROR and ROL 2013-07-06 12:06:08 +04:00
pancake
6cadbbcd40 Allow to force screen size, more work on r2wui
Add scr.columns, scr.rows eval vars to force screen size
Fix rightpanel menu glitch in r2wui
Add calculator in assembler panel
Fix open-rightpanel button in main panel
2013-07-05 01:45:45 +02:00
pancake
7c242550f6 Use $r instead of $h in visual print modes 2013-07-04 23:49:53 +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
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
7cb31941a6 Fix double free when loading malformed PE file
FMI: https://corkami.googlecode.com/svn/trunk/src/PE/lfanew_relocW7.asm
2013-07-03 11:57:37 +02:00
pancake
92b50950e4 Fix 'r2 -d ls /' launching program with arguments 2013-07-03 01:38:03 +02:00
pancake
9ab1e04050 Lock config var when sandbox state is locked 2013-07-02 18:59:56 +02:00
Eduardo de la Arada
8a93b6a83d * Add relocs json output
* Fix rabins's homeplugdir
2013-07-01 17:05:15 +02:00
Eduardo de la Arada
f6173bdaf0 * Fix json output for undefined flags
* Add json output to bin_fields
* Fix typo at visual_mounts
2013-07-01 16:29:47 +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