Commit Graph

405 Commits

Author SHA1 Message Date
pancake
083d2faebd * Add memoization in r_print_zoom to speedup the work on big disks
* Added R_NEW0 macro to fill with zeroes
* Add documentation for [] keys in Visual mode
2011-03-23 19:19:23 +01:00
earada
f28d12fe25 * Define PFX globally
* Limit block size in print command by cfg.maxbsize bytes (Thanks phr0nak)
2011-03-13 20:27:28 +01:00
pancake
40bb699f20 * Fix prjfile for absolute path 2011-03-10 21:38:56 +01:00
pancake
f564ced79e * Apply beautified version of the @capi_x patch 2011-03-10 14:29:54 +01:00
pancake
7dd8619477 * Add patch from @capi_x fixing segfault when refering an invalid fun var
* Do not override RANLIB with mingw one by default
2011-03-10 14:14:22 +01:00
pancake
35f8f1de0b * Apply Glyn patch fixing entropy fraction calculation
- Added documentation for pZ?
2011-03-08 13:02:02 +01:00
Nibble
864fd7aa7e * Move gdiff stuff to r_anal_diff
* Make r_anal_diff customizable by plugins
* Refactor r_anal and redesign API
* Add dummy methods for security patches evaluation in r_anal_diff
* Add functions:
  - r_anal_diff_fingerprint_bb
  - r_anal_diff_fingerprint_fcn
  - r_anal_diff_bb
  - r_anal_diff_fcn
  - r_anal_diff_eval
2011-03-06 15:21:13 +01:00
pancake
a365d5ef6b * Some fixes in the filtered reflines
* Implement 'Vta' keys to add flagspaces and flags
* Various r_line_set_prompt fixes in visual.c
* Add ':' as an invalid char for flags
2011-03-05 19:09:38 +01:00
Nibble
88be7aace4 * Fix asm.nbytes
* Fix overflow in r_print_hexpair()
* Fix bytes alignment
2011-03-04 02:10:25 +01:00
Nibble
f53e2ac332 * Fix quick jumps in Visual mode using chache
* Clean up build & remove libr.so target
* Update TODO
2011-03-03 16:52:51 +01:00
pancake
95053501d5 * Fix some warnings 2011-03-03 10:42:45 +01:00
pancake
f777210e30 * Added doc/dospart with list of partition types (mp)
* Use 'obs' instead of blocksize for JK visual keys
  - fixes scrolling issue in visual disasm
* Some more glitches fixed in visual disasm
2011-03-02 14:11:34 +01:00
pancake
782452add2 * Fix build and some glitches in visual disasm 2011-03-02 12:33:28 +01:00
pancake
b921a2af7d * Make r_core_magic be verbose or not
* Initial implementation of /p and /m search methods
  - Cleanup some code (-110LOC)
2011-03-02 11:45:20 +01:00
pancake
3f56ce5a95 * Move RMeta inside RAnal
- Get out of RCore! - rebuild required
* Fix cast after scaling entropy (Thanks Glyn)
* Fix indentation of function/nonfunction code
* Add 'f' and 'F' keys in visual mode to seek next/prev
  - between functions, flags and search hits
  - Use 'e scr.fkey' to configure the mode
* Fix prompt in visual mode for ':' key
2011-03-02 00:02:50 +01:00
Nibble
67e20135cc * Add support for more opcodes in anal_x86
- lea, leave...
* Update asm.decode with these changes
* Add var $o for core->io->offset
* Fix "function"|"loc" comments in disasm
* Fix p%
2011-03-01 19:16:29 +01:00
pancake
80a5cb0651 * Remove all references to r_meta as a separated library
- Initial merge into r_anal
  - Prefix R_META_* as R_META_TYPE_
  - Deprecate folder type and rename Cm->Cf (like in p cmd)
2011-03-01 19:06:22 +01:00
pancake
6d5b22c29c * Fix entropy range 0-8 (Thanks Glyn)
- Use 0-255 in pZ
* Fix symstall for pkgconfig
2011-02-28 13:29:04 +01:00
Nibble
6d5d4f9b7e * Fix segfault in decode after 'aa' is executed 2011-02-28 09:21:58 +01:00
pancake
077ff4c36e * Some fixes in r_anal_reflines
* Implement r_cons->teefile (e scr.tee)
* Use filtered refline for comments and flags prefixes
* Many visual fixes in functions and reflines in 'pd'
2011-02-28 00:03:26 +01:00
pancake
d953cd9adf * Initial implementation of the java name mangling
- Added as comments before the method names
* Some fixes in r_bin_java
* Added r_buf(append/prepend)
* Show flags always in new lines
2011-02-27 20:30:41 +01:00
Nibble
268d6560ad * Complete analysis for more opcodes in anal_x86
* Decode more opcodes in r_anal_op_to_string
* Complete r_anal_value_to_string()
  - Output imm values
  - Fix segfault
* Remove dupped line from x86.mk
* Remove ref to "dummy plugin" from r_asm.h
2011-02-27 16:17:05 +01:00
Nibble
2863b456ed * Output error when 'wx' tries to write an invalid hexpair
* Rename R_ANAL_MAX_VARSUB to R_ANAL_VARSUBS
* Update TODO
2011-02-26 19:16:08 +01:00
Nibble
91addb3791 * Little refactoring of 'Cv'
* Show 'unk' instead of 0xff...ff for unkwnown calls/args
2011-02-26 14:58:54 +01:00
pancake
5495f187a8 * /e is the new /m
* /m is for magic search
* Added ?x ?X ?s ?i and ?e
2011-02-25 11:45:05 +01:00
pancake
e557d9a385 * Drop 'r_cons.h' from r_fs
* Fix visual glitch in Vej and Vt
* Handle demangled names as comments
  - in rabin2 and core->bin_load
  - Needs to be a RAnalCall at some point
  - bin_java calls the dummy r_bin_demangle_java
  - Add R_BIN_NM_ANY enum
* Add asm.lbytes config to align disasm bytes to left
* Fix visual glitch in function boundaries
* Import upgraded versions of the idc2rdb scripts in doc/
2011-02-25 04:19:30 +01:00
pancake
51bb76096f * Fix io->ptrace->write for !=4 lengths
* Add support for recursive and multiline magics
  - e magic.depth = 100
2011-02-25 00:23:58 +01:00
Nibble
ddffdff8d2 * Rename r_asm_aop_* to r_asm_op_*
* Rename remaining r_anal_aop_*
2011-02-24 16:50:29 +01:00
Nibble
332524e120 * Rename r_anal_aop_* to r_anal_op_*
--HG--
rename : libr/anal/aop.c => libr/anal/op.c
2011-02-24 14:06:49 +01:00
pancake
0b3f6c6ffb * mo is now flag friendly
* Added vala test script to find special ops
* Add r_core_disassemble helper
* Remove r_vm.h
* Do not reset cursor when quitting visual zoom mode
2011-02-24 09:40:19 +01:00
pancake
9efa5a50cb * Fix cmd.vprompt
* Simplify some functions in r_bin
* Added support for x86-64 for the 'ap' command
* Added dummy function calls for r_bin_demangle()
2011-02-23 20:53:56 +01:00
pancake
be7307338b * Rename 'pm' as 'pf' (print formatted data)
* pm is the print magic command
  - uses libmagic .. used for templatting data
* Added 'psp' command to print pascal strings
2011-02-23 19:11:39 +01:00
Nibble
d9483833c9 * Remove zfs from r_fs 2011-02-23 17:39:24 +01:00
Nibble
f3c32e3c17 * Remove references to r_vm
* Don't build r_vm
* Deprecate cmd 'av'
2011-02-23 17:27:59 +01:00
Nibble
9845881b25 * Add commands:
- 'Cv-' 0x0ff for deleting var renames
  - 'Cv*' for listing var renames in rad mode
2011-02-23 15:38:23 +01: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
pancake
1c2526c1da * Add 'p=' command 2011-02-23 13:25:41 +01:00
pancake
dc3d11d7d5 * Fix segfault in r_cons_memcat
* Add yp command and document yt
* Add p6d and p6e to decode and encode base64 strings
* Remove vm.* config vars
* Fix RNum evaulation for $ variables
* Implement r_fs_posix
2011-02-23 02:10:28 +01:00
pancake
130d088a2c * Implement /A - search for AES expanded keys
* Added /w command to search for wide strings
* Add 'mo' command to show offset and size of given file
  - cd libr/fs/p/grub ; make fs  # to test
* Drop hardcoded list of partition types in cmd_mount
* Fix r_fs_read for files bigger than 512 bytes
2011-02-23 00:54:40 +01:00
pancake
2290969c05 * Added udf and iso9660 filesystems
* Fix msdos partition type info
* Show all supported partition types in 'mp' command
2011-02-21 15:32:42 +01:00
earada
4cb8868ecc * Add filesystem prompt using ms command (Thanks Adriana)
* Add r_str_chop_path support for ../
2011-02-18 18:22:51 +01:00
Nibble
5c1d473b69 * Fix segfault in r_list_destroy()
* Fix Build
2011-02-18 10:58:17 +01:00
earada
15ca02a355 * Fix chop in r_fs mount, dir and open 2011-02-18 01:43:31 +01:00
pancake
c348fe7a8a * Add install-doc-symlink (install fortunes!)
- thanks ash for reporting
* Some indentation fixes in printzoomcallback
* Fix r_flags.vapi
2011-02-17 01:22:15 +01:00
earada
c089297bd8 * Add print zoom mode 'pZ'
* Visual zoom mode 'z'
* r_print now uses RIOBind
* Add r_flag_space_get
2011-02-17 00:58:54 +01:00
pancake
4fad96ecbb * Make r2-swig happy without valaswig
* Add r_io_raise() and use it in the 'o' command
  - Allow to raise the file handle priority
2011-02-16 09:29:09 +01:00
Nibble
6aea3ed907 * Implement 'pd -n' for backward disassembly
* Use bwdisasm in visual.c for 'k'
2011-02-15 12:31:32 +01:00
pancake
13b4c2d9f1 * Added 'pb' command to print in binary form
* Added 'ap' command to search and analyze function preludes
  - x86 only atm.. just as a PoC
2011-02-12 12:54:26 +01:00
pancake
f950dcb33c * Add RIOMap in r_core_file_open
- RCore.file_open() now accepts one more arg for offset
  - Fix RIO api issues related to RIOMap and opening multiple files
  - Fix infinite loop and simplify design
  - Added test case to ensure it does not breaks
* Fix build of r_lang in OSX (thanks @capri_x)
* Remove debugging printfs
* io.ffio is now true by default
2011-02-12 01:52:41 +01:00
Nibble
9a20ce63b2 * Fix command 'cg' 2011-02-11 15:42:38 +01:00