Commit Graph

1083 Commits

Author SHA1 Message Date
pancake
675b04e7cd * Integrate r_vm into r_core
- Analyze code in order to do syscall analysis
  - Some fixes in r_vm to make it work
  - Add 'av' command to interact with the virtual machine
  - added r_str_subchr helper func in r_util
2010-08-22 17:56:50 +02:00
Nibble
5b9d174fbc * r_anal
- Add test_anal (to speed up the development of analysis plugins)
  - Add test_anal.sh (helper)
* r_core
  - Remove debug msg from the output of cmd 'i'
2010-08-20 21:47:58 +02:00
pancake
b6cc9ca1ba * Merge r_meta inside r_anal
* Display filename in title line of Visual mode

--HG--
rename : libr/meta/README => libr/anal/README.meta
rename : libr/meta/meta.c => libr/anal/meta.c
rename : libr/meta/t/test.c => libr/anal/t/test_meta.c
rename : libr/meta/type.c => libr/anal/type.c
2010-08-20 00:36:22 +02:00
pancake
82d8b0f336 * Implement r_core_sysenv_update()
* Simplify some functions in core/cmd
* Move CF -> afs
  - Add documentation for 'afs' command
  - Accept numeric argument
  - Add support for 'get' and 'set'
2010-08-19 20:28:25 +02:00
Nibble
4b052b53ee * r_core
- Add cfg var anal.ptrdepth to define analysis depth for indirect references
  - Add support for indirect references to /a (needs more testing)
* r_io
  - Remove perror msg from r_io_read_i()
* r_anal
  - Minor fixups in arm and x86 plugins
2010-08-19 02:30:12 +02:00
Nibble
283c2efef9 * rabin2
- Add flag -n to filter by {symbol, import, section} name
* r_core
  - dmi accepts argument symname
  - more work on cmd parsing
2010-08-17 13:15:18 +02:00
Nibble
37fdce78f8 * Minor fixup O:) 2010-08-17 01:56:49 +02:00
Nibble
f41acb4729 * r_core
- Fix ."raw cmd" to interpret raw cmd output
  - Fix .cmd~str to interpret grepped output
* r_cons
  - Add r_cons_filter() to apply cons filters (grep, html...)
* Update TODO
2010-08-17 01:27:24 +02:00
pancake
1fa134ca4f * Clean many warnings
* Reasign TODO points
2010-08-16 17:48:47 +02:00
Nibble
f841376cc8 * r_core
- More work on dmi
  - Don't flag symbols without any output
  - Output human readable format with 'dmi'
  - Output radare commands with 'dmi*'
2010-08-16 16:07:45 +02:00
pancake
3287f8d64d * Filter string to avoid escaped commands execution (r_str_unscape)
* More chars filtered in rabin2 -z (flag ..)
* Parse PLT in order to find matching ordinal in rgot.vala
2010-08-16 14:58:10 +02:00
Nibble
6727897e73 * rabin2
- Add flag -b to set a custom baddr
* r_core
  - Add command 'dmi' to flag the symbols of a given lib in memory
2010-08-16 14:35:15 +02:00
pancake
14516c7e9c * Implement 0x2e and 0x64-0x67 conditional jmp opcodes on x86
* Stop parsing commands at '#' char (comment)
* strclean command strings before executing them (fixes some issues with spaces..)
* V: is now honoring cursor position in cursor mode
2010-08-16 13:59:48 +02:00
pancake
ddd67f7f3e * initial parsing of 'jns' in anal_x86.c
* Use RList in RIOMap
  - deprecate _list
2010-08-16 11:24:13 +02:00
pancake
616b256795 * Fix build of vala test programs
- minor fixes in vapi files
2010-08-16 09:46:11 +02:00
Nibble
536d639fc8 * Merge 2010-08-16 01:50:38 +02:00
Nibble
c1c8c32284 * r_core
- Fix 'S' and 'S='
* r_io
  - Add field 'debug' to r_io_t
  - More refactoring of io.va code
2010-08-16 01:50:01 +02:00
pancake
fe8967062b * Added rgot.vala test example
* Enrich r_util vapi
2010-08-16 01:24:42 +02:00
Nibble
28ef002c21 * Fill field 'ordinal' in elf symbols 2010-08-16 01:14:54 +02:00
pancake
b7dbae4ebb * Display '*' in S= where you are
* Add note about the bug in io.va/-d/rabin2-r{v}S
* Fix rarc2/t
2010-08-15 21:30:59 +02:00
Nibble
8ac0f9e734 * fix get_main for x86 elf64 2010-08-13 15:58:11 +02:00
Nibble
28af3ddf7b * Refactoring of r_str_ansi_filter() 2010-08-13 08:38:00 +02:00
Nibble
e22bdf0c79 * r_util
- Add r_str_ansi_filter() for removing ansi codes
    in a given string
* r_cons
  - Remove ansi codes before doing grep, avoid problems
    with colors
2010-08-13 01:18:06 +02:00
Nibble
42f7b31d55 * r_bin_elf
- Fix resolution of imports in bins without section ".got"
2010-08-12 17:32:23 +02:00
pancake
2039bbe3eb * Apply edu's patch implementing V[yY] and +- for blocks using woa/wos 2010-08-12 15:52:07 +02:00
Nibble
8768a18a88 * r_core
- Add support to '/c' for "multiple instructions" search
    with search.asmstr=1
  - Move r_core_asm_search functions to core/asm.c
  - Fix typo in r_core_anal_search()
2010-08-12 14:54:24 +02:00
pancake
a324e5579b * Some workarounds in radare2-swig/perl for slpm 2010-08-12 12:48:15 +02:00
pancake
3ced8a528c * Initial work on function_from_string parser for r_anal
- CF? for testing
2010-08-12 12:19:25 +02:00
Nibble
b218d39420 * Implement '/c' for 'search.asmstr=1' 2010-08-11 19:10:47 +02:00
Nibble
16f6c7a392 * r_asm
- Handle errors in x86_nasm plugin
* r_core
  - Minor fixup in debug message in '/c'
2010-08-11 18:29:15 +02:00
Nibble
02251522ea * r_core
- Add cmd '/c' for searching asm code
  - Add config var search.asmstr
* build
  - Minor fixups in "make mrproper"
2010-08-11 17:48:02 +02:00
pancake
8a3c845627 * Implement @:blocksize syntax for commands
* Some reordering of the TODO
2010-08-10 12:34:10 +02:00
pancake
c101235102 * Analyze 'svc' opcode in ARM as software interrupt
- Interrupt number is stored in aop->value
  - Add dummy syscall table for osx/arm
  - Fix identification of syscall table on iOS bins
* Fix rabin2 -z on MACH0 binaries
2010-08-09 23:38:32 +02:00
pancake
01fa57d832 * Merge old w32 build fix
* Add 'c' in '?' help message
* Import edu's RList-ification of RSearch patch
* Deprecate r_search_kw_list() method
* Fix build of r_socket_to_string() method on w32
2010-08-08 19:03:51 +02:00
Nibble
38b4665bb1 * visual mode
- Fix flickering while keeping pressed s or S (step, step over)
  - Prompt "Press any key" after using ':'
* r_core
  - Group refs under CODE & DATA in afl output
  - Remove command CF (use af+ instead)
2010-08-06 17:19:09 +02:00
Nibble
e1e9eeca24 * Minor fixups in grep-cut 2010-08-03 13:30:58 +02:00
Nibble
27cce9d830 * Add cut-like syntax to the built-in grep
- f~str[1]    prints the column 1
  - f~str[-2]   prints the columns from the first one to column 2
  - f~str[1-]   prints columns from column 1 to the last one
  - It can be used with ':', so
    f~str:2[1]  prints the column 1 of the line 2
2010-08-03 11:36:41 +02:00
Nibble
dd310e4352 * Fix bug in r_parse_filter (thx edu!) 2010-08-02 19:34:23 +02:00
Nibble
a7750b3204 * r_anal
- Add field at to RAnalRef
  - Set ref->at to the addrees of the opcode which does the
    jump/call
  - Set correctly the xrefs "from" address
* r_core
  - Modify afl to accept an optional argument [fcn name] to
    filter output by function
  - Change afl output to group xrefs by type (code and data)
2010-08-02 12:42:59 +02:00
Nibble
cfc552e156 * r_anal
- Fix bb split algoritm
* build
  - Fix "make clean" in bin/t
2010-08-02 09:54:50 +02:00
Nibble
d094f42d2f * r_bin
- Fill RBinImport->size within bin plugins
  - Add field size to RBinImport
* r_bin_elf
  - Correct value of r_bin_elf_symbol_t->size for imports
* rabin2
  - Output af+ command in radare mode
* Update TODO
2010-08-01 11:02:55 +02:00
Nibble
2251f089fa * Fix bug analyzing fcns
* Update TODO
  - stackptr is correctly handled in 'ret n' instructions
2010-07-31 20:00:54 +02:00
Nibble
24d541c209 * Fix class & fat mach-o detection in big endian machines 2010-07-29 19:56:07 +02:00
Nibble
f714f243c4 * r_bin
- Fix bug in autodetection with class and fat mach-o files
2010-07-29 19:52:13 +02:00
Nibble
62e24bd0c6 * r_bin_fatmach0
- Huge refactoring of r_bin_fatmach0
* rabin2
  - Don't print msg "n bins extracted" in radare mode
2010-07-29 18:15:02 +02:00
Nibble
bb8cfd866d * r_bin
- Add function r_bin_extract()
  - Add lib r_bin_fatmach0 into format/mach0/
  - Complete mach0_specs with fat mach-o stuff
  - Add plugin bin_fatmach0
  - Initial import of mach-ex into r_bin
  - Remove mach-ex
* rabin2
  - Add flag -x for extracting bins from file
* Build
  - Update plugins.def.cfg
  - Remove mach-ex stuff from libr/Makefile
2010-07-29 16:04:18 +02:00
Nibble
495fc15d89 * Fix bug installing mach-ex 2010-07-25 13:29:16 +02:00
Nibble
f853dab09f * More fixes on mingw32 build
* Update VERSION in swig configure script
* Update doc/windows
2010-07-24 12:44:19 +02:00
pancake
6d35b040f8 * Fix build of r_socket on mingw32 2010-07-23 15:44:40 +02:00
Nibble
a3967b49bf Added tag 0.5 for changeset d6e0b8042543 2010-07-23 12:45:40 +02:00