Commit Graph

150 Commits

Author SHA1 Message Date
pancake
a3050fce7b * Implement r_fs_view() method to set visibility options for filesystems
- Added enum for VIEW_{DELETED|SPECIAL} ...
  - Implement support for listing deleted files for FAT.
  - Experimental state
* Add 'fs.view' eval variable
  - values normal, all, deleted and special
  - only 3 letters are checked 'del' and 'spe' are ok
* Add missing include files
2011-05-13 02:31:18 +02:00
earada
95e51548b6 * mg now support files and dirs
* Fix bin_fs build
2011-05-12 15:01:29 +02:00
earada
21891a992a * Add dir_dump and find functions to r_fs
* Update RFS vapi
2011-05-12 01:17:35 +02:00
pancake
3f2677ab7f * Added initial untested support for native gdb debugger mode
- r2 -d gdb://<host>:<port>
  - register maps not yet implemented
  - some basic step/continue should work in cfg.debug=true
  - gdbwrap instance is shared between RIO and RDebug
* RDebug is now arch-sensitive
  - Plugins describe which architectures and register sizes are supported
  - Native debugger is restricted to local CPU
  - Remote debugger (GDB) arch can be specified with -e asm.arch=arm
* Fix some random warnings
* Move R_ASM_ARCH into R_SYS_ARCH
  - Helper functions to translate id to string and string to id
    are now in util/sys.c (r_util)
  - Move all R_SYS_* from r_util to r_types
    - Endianness, OS, CPU and regsize is now 'global'
2011-05-06 00:59:10 +02:00
earada
f49b0c573a * Update r_fs vapi
* Refactor r_socket unix connect
2011-05-05 17:32:56 +02:00
pancake
020dd97a8b * Fix many segfaults discovered in OpenBSD
* Fix segfaults caused by read buffer overflow in x86im
  - use a 16 byte delta buffer in function and basic block analysis
* Fix r_list_delete segfault caused by an use-after-free bug
  - Thanks Edd Barrett for notifying :)
* Clean up many warnings reported by OpenBSD's gcc
* Reduce analysis depth to 50
* Fix OpenBSD syscall definitions and fix generator python script
2011-04-03 02:43:15 +02:00
earada
58cb9fc42f * Fix fs_open and fs_dir with ext2 filesystem
* Fix r_str_chop_path
* Add new funtion to join two lists
* Update fs.vapi
2011-04-24 13:46:28 +02:00
pancake
205a9285a4 * Apply some fixes for kFreeBSD debugger and OS detection
* Add --with-libversion flag to configure
  - Make OpenBSD version numbering system happy
* Force -ldl for HURD
* Fix off by one bug in grub/fs/fat.c
2011-04-20 13:56:58 +02:00
pancake
78209c2d43 * Do not use NULL hook on mount->dir check
- Seems to be problematic on some filesystems
2011-04-20 13:15:42 +02:00
pancake
ae2ee76dd9 * Fix r_fs_mount on delta != 0
- Show partition list offsets column aligned
2011-04-20 13:04:24 +02:00
pancake
f468132621 * Allow grub dir closure to be NULL
- Used to check if mount was successful or not
* Fix r_fs.vapi owning attribute for r_fs_mount()
2011-04-19 13:11:27 +02:00
pancake
194bc4dafd * r_fs_mount returns boolean value for success 2011-04-19 10:04:06 +02:00
pancake
8b27aa6723 * Make io.gdb plugin work again
* Fix more unused var bugs
2011-04-06 12:26:19 +02:00
pancake
6c822b9090 * Added 'make purge'
* Added pipelined RAnalOp
  - Added r_anal_(op|value)_copy
  - Some minor review of RFS api
2011-03-28 10:24:01 +02: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
7df412ae25 * Fix build on W32
* Added --without-magic flag
2011-03-10 11:36:16 +01:00
pancake
b6258561f4 * Re-fix bfdlink issue on non-gnu includes
* Fix race condition in r_fs
2011-03-09 18:30:17 +01:00
pancake
70caff4609 * Import @capi_x patch fixing support for x86.nasm on OSX 2011-03-04 11:32:10 +01:00
pancake
9e18792bd4 * Apply fix for r_fs (thanks @earada) 2011-03-03 11:02:35 +01:00
pancake
95053501d5 * Fix some warnings 2011-03-03 10:42:45 +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
4c66b9177a * Fix io-ptrace on 64bits
* ls command in ms shell now support path arguments
* cd now accepts .. as argument
* Fix access to subdirectories
* Fix nested mount directory resolution
* Added test scripts for r_fs
2011-02-25 03:17:20 +01:00
Nibble
d9483833c9 * Remove zfs from r_fs 2011-02-23 17:39:24 +01:00
earada
4c72f5f082 * Zoom out in cursor mode
* Fix dalvik goto opcodes
* Initial import of the dalvik anal plugin
* Fix 'ms' mount a non-exist root
2011-02-23 03:01:26 +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
capi
5541748e6b * Fix some warnings in r_fs
* Add new filesystems to r_fs
* Fix r_lang Makefile for OSX
2011-02-22 10:49:45 +01:00
pancake
26fa19b3d8 * Fix r_fs_dir() for r_fs_plugin_posix
* Fix r_str_chop_path() for "/"
  - Allows to mount filesystems in /
  - Added test program
2011-02-21 19:07:57 +01:00
pancake
a6f49396a6 * Fix build of r_fs in OSX 2011-02-21 18:33:52 +01:00
pancake
7ba206b3f8 * Oops. add missing posix.mk 2011-02-21 18:17:50 +01:00
pancake
beb735e6e9 * Fix build for python plugin in osx
* Added UFS JFS and POSIX filesystems
* Many fixes in the 'ms' command
* Fix segfault in r_list_empty()
2011-02-21 18:10:22 +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
pancake
237f90bb4a * Add hfs and hfsplus as default r_fs plugins
* Fix build and fix some implicits security bugs from GRUB
2011-02-21 15:20:33 +01:00
pancake
6df760a04c * Some C90 fixes in r_fs using r_str_chop_path
* Apply patch from @capi_x using burg code instead of grub one
  - Fixes build in OSX and opens the door to new filesystems
2011-02-21 09:26:32 +01:00
earada
4b86cadf91 * Fix fs prompt:
- Added Unknown command
- Chop root path
2011-02-18 22:34:50 +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
earada
15ca02a355 * Fix chop in r_fs mount, dir and open 2011-02-18 01:43:31 +01:00
pancake
ad027ba004 * Apply patchsets from Glyn Kennington (Thanks!)
- Added new method r_io_shift (start, end, move)
  - Added 'r' command (like in r1)
  - Fix parallel builds with -j>1
2011-02-05 12:51:37 +01:00
pancake
92073badf0 * Fix build for r_fs partmaps 2011-01-23 23:58:46 +01:00
pancake
e24453348a * Chop last '/' in r_fs_mount
* Add support for other partition types:
  - msdos, acorn, bsdlabel, amiga, sun, sunpc, apple, gpt
* Honour make return values
2011-01-23 21:54:18 +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
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