Commit Graph

1051 Commits

Author SHA1 Message Date
pancake f92ca2da8a * Fix r_io_redirect and debugger IO
- Get PID from inner struct instead of aliased by fd
2011-01-22 00:57:43 +01:00
pancake 61e3cd4e50 * Fix some warnings thanks to toys/makewarn :D 2011-01-21 15:05:55 +01:00
earada 2fd808e19b * Fix rafind2 build
* jk visual commands seeks an opcode size
2011-01-21 10:21:04 +01:00
pancake 3ab9e61c22 * Do not show registers if sync fails
* More work on the io refactoring
2011-01-21 09:17:14 +01:00
pancake bbda7ed61e * Much more fixes for the new r_io
- r_io_malloc plugin is now working
  - r_io_size now accepts only one argument
* Fix nullptr bug in r_fs
2011-01-21 00:21:32 +01:00
pancake ed8d076cbe * Fix r2 -n, remove r2 -t
- Some more fixes related to r_io. still more stuff to do
2011-01-20 23:28:20 +01:00
pancake 39f77a430f * Huge r_io refactoring
- Many things are broken in this commit
2011-01-20 22:52:16 +01:00
earada 0283c92f6e * Initial import of Dalvik (Android VM) disassemble plugin
* Change opcode buffer size to 3218 (need refactor)
2011-01-19 00:39:28 +01:00
pancake 74ff5af871 * Fix for r_io_resize -- needs merge with refactor 2011-01-17 15:28:40 +01:00
pancake 4bc2043d78 * Fix build order for r_fs 2011-01-17 08:35:57 +01:00
pancake 5f925ba1f8 * Fix libr_fs on OSX, restrict FS plugins to the only ones
that compile fine everywhere. Need more work and testing
2011-01-14 20:53:36 +01:00
pancake 1f4b2af502 * Transitional commit removing some nested functions and
simplifying/cleaningup grub code. Still needs more cleanup for OSX
2011-01-14 19:38:22 +01:00
pancake d0af9bcc66 * Added support for listing MSDOS partitions
- Other partition types (leeched from GRUB) will be added soon.
  - Added 'mp' command to display partitions
* Clean warns and fix some bugs in the grub code
2011-01-14 14:41:56 +01:00
pancake 08e37d54ab * Added r_fs support for the following filesystems:
fat, ntfs, cpio, tar, hfs, hfsplus, udf, iso9660,
  reiserfs, ufs, ufs2, xfs and jfs
* Added vapi files for r_fs
2011-01-14 09:45:33 +01:00
pancake 28b9e436c6 * Rename r_fs_load to r_fs_slurp 2011-01-14 01:05:23 +01:00
pancake b8b87f050e * Initial working r_fs API with ext2 fs
- Support file reading and directory listing
* Fix build
2011-01-14 01:02:20 +01:00
pancake ca432e3f04 * Initial import of the 'r_fs' API
- Allows to mount filesystems in virtual IO
  - Only dummy ext2 plugin ATM
  - Added 'm' command in r2 to manage mountpoints,
    list directories and retrieve files
  - Bonus: hacky version of grub/fs code to use it
    as a standalone API. Plugins will use it
  - API is quite simple and limited, read-only access
2011-01-12 00:01:06 +01:00
pancake dcb1f9d9fd * Initial draft of the r_fs api 2011-01-07 18:22:02 +01:00
pancake 16eefe9762 * Fix w32 mmap implementation for r_mmap api 2011-01-07 00:42:27 +01:00
pancake 7454f9f224 * Add missing method definitions in r_flags vapi 2011-01-06 23:20:18 +01:00
pancake 92f34b6183 * Add missing define for osx debugger on arm and powerpc 2011-01-04 17:30:10 +01:00
earada 93413ab59e * Oops, type error un r_util 2011-01-02 14:45:36 +01:00
earada 0eaceff162 * Fix function asciiart in r_print_disas
* Add mmap & mmap_free windows support
2011-01-02 14:39:25 +01:00
earada 3e11ab4282 * Use r_cons_free to free the cons buffer. 2010-12-26 23:38:53 +01:00
Nibble 5b9fd63c1f * More work on gdiff
- Follow basic blocks instead of diffing fcn->addr+fcn->size
    vs fcn2->addr+fcn2->size
* Remove unused r_core_anal_graph_fcn
* Fix build
2010-12-24 16:58:27 +01:00
Nibble 2e26e35584 * Add bb list into RAnalFcn structure
* Analyze bbs per function
* Remove gdiff from radiff2 temporary (deprecate?)
  - Meanwhile ragdiff2 should be used
* Update TODO
2010-12-24 13:27:20 +01:00
pancake b0390669c7 * Sync r_flag vapi
* Fix r_util vapi for latest vala
  (no default values for out parameters)
2010-12-24 01:43:34 +01:00
earada cf1d6a1d78 * Use RList in RFLags 2010-12-24 00:51:01 +01:00
Nibble 0b9ca8a330 * Fix bug in udis86 with calls in 64bits (need more testing)
- 32bits operator + 64bits pc = 64bits address
2010-12-23 02:11:28 +01:00
pancake ecf0988c21 * Use 'native' debugger backend by default
- Fixes 'dp*' when not running as debugger mode
  - Added r_debug_pids () (sync vapi)
  - Fix possible segfault if no anal given to dbg
* Some cosmetic fixups
2010-12-22 01:23:35 +01:00
pancake 7725fc7136 * Fix segfault in r_list for null pointers 2010-12-17 10:58:38 +01:00
pancake 13b04ecaf6 * Fix build for w32 2010-12-16 13:55:20 +01:00
pancake 29a870a269 * Minor cosmetic sugar fixes in CODE XREFs
* Some more fields into r_io vapi
2010-12-15 11:32:39 +01:00
pancake b53ea8bec1 * Apply @earada patch
- Fixed redundant check in r_hex_str2bin
  - Initialize fd in r_io_new
  - Added Haret IO (WinCE app) plugin
2010-12-13 10:41:28 +01:00
pancake ef9e96c03d * Some cosmetic fixes in 'pd' 2010-12-13 00:49:33 +01:00
Nibble 058631a555 * Only compare fcns by name if it begins with "imp.", "sym.", "fcn.imp." or "fcn.sym."
- Avoid problems with functions named fcn_offset
2010-12-09 16:04:55 +01:00
Nibble c2da7cf5a2 * Compare fcns with the same name first in gdiff 2010-12-07 16:52:33 +01:00
Nibble 2bb73ba631 * Add getter r_anal_get_fcns()
* Install python bindings also in dist-packages
* Update and fix some vapis
2010-12-06 16:26:21 +01:00
Nibble 28d0a62430 * Change gdiff API so it takes 2 core's as args
* Don't output diff info and vars in 'afl' for loc's
* More refactoring of gdiff
2010-12-06 03:34:44 +01:00
Nibble ea73472ee6 * Add optimization in gdiff based on function size boundaries
- Makes bin diffing 5 times faster
2010-12-05 19:43:12 +01:00
Nibble 92baebdadd * More optimizations in gdiff
* Fix af* output
2010-12-05 10:44:27 +01:00
Nibble a0ae2c2286 * Show detailed info for diffing in afl output
* Create struct RAnalDiff and move diff related fields inside
* Move {RAnalFcn, RAnalBlock}.diff from int to RAnalDiff*
* Add r_anal_diff API
2010-12-05 08:46:56 +01:00
Nibble b3e34d3270 * Free fingerprints in gdiff when they have been used 2010-12-04 19:49:13 +01:00
Nibble e88482e1b7 * Remove DEBUG messages from gdiff 2010-12-04 15:25:45 +01:00
Nibble c254af504f * More optimizations in gdiff
* Fix the usage message of radiff2
2010-12-04 15:24:39 +01:00
Nibble f50fc41794 * Huge refactoring of gdiff using Levenshtein distance and binmasks 2010-12-04 15:14:53 +01:00
pancake 5e2fd3197e * Added dummy r_bin_demangle 2010-12-03 14:53:06 +01:00
Nibble fc11acc128 * More work in var analysis
* Put RAnalVar->type and RAnalVar->dir together
2010-12-03 13:52:11 +01:00
pancake b955a66459 * Apply patch from @earada
- Fixes sha1 and md5 issues on 64bit
2010-12-02 22:32:49 +01:00
pancake 96c998fe78 * Fix XREFs and xdot graph output 2010-12-01 23:30:00 +01:00