Commit Graph

13 Commits

Author SHA1 Message Date
pancake
4a50f8a94d * Distribute magic files with w32dist
* Fix symstall of magic files
* Do not walk hidden files in magic
* Add has_va in RBinInfo class for bindings
2011-11-29 18:31:26 +01:00
pancake
048e9ea8ce * Fix some warnings related to alloca(), %llx and O_BINARY for w32
* sync sdb
* Add some more eval var descriptions
2011-11-29 12:28:02 +01:00
pancake
31a11600c5 * Theorically fix the r_magic dirty sanchez bug
* Fix RIO seek undo with io.va
* Warn if file size != region size in dml
2011-11-16 10:06:34 +01:00
pancake
4106e9e1b2 * Bump 0.8.8, but still not release
* Add --with-magic to use system magic library
2011-10-18 09:38:20 +02:00
pancake
f9fe34a2ea * Fix x86im code analysis plugin for 64bits
* 'pm' without arguments load magic files from MAGICPATH
* Add alias r_cons_puts () for r_cons_strcat
* Add 'wao' opcode. like the write hack plugin
  - added help for 'wa?'
  - needs refactoring to add support for !x86 archs
  - current supported commands are:
    nop, jz, jnz, un-cjmp, swap-cjmp
2011-10-11 01:21:38 +02:00
pancake
9efe88a9ce * Fix offbyone in asm.brainbuck bug
* Fix some segfaults and issues in r_magic
* Use the libr/socket/http library
* Added r_io_http plugin
* Magic search is extremely slow
2011-10-07 01:16:45 +02:00
pancake
9884ce9db0 * Initial support for Android NDK build (fix build)
- Not yet runnable, but compiles against bionic
2011-09-25 06:57:13 +02:00
pancake
096b7eb406 * Fix mingw32 build 2011-09-14 12:37:26 +02:00
pancake
37fecf7c0c * Implement RBinCreate.elf-arm
* Fix uninitialized shstrtab segfault in r_bin_elf
* Do not create new objects unnecesarily in r_core_magic
* Handle length argument in pb command
* Fix ps command
* @@ now prefixes each line with the offset (useful for search)
  - can be problematic when used with macros
  > / lib
  > ps @@ lib*
* Huge refactoring in r_magic, now using the r2 coding standards
  - Use r_magic_new() and _free() instead of open/close
  - Reduced -1KLOC
2011-09-12 01:47:28 +02:00
pancake
bf463cae9e * Fix 2 more bugs in OpenBSD file(1)
- ref: http://lolcathost.org/b/openbsd-file.patch
2011-09-11 16:04:38 +02:00
pancake
6afd85a447 * More work on the OpenBSD file(1)
- Fix a segfault bug (not exploitable)
  - Import some magic files and install
  - PREFIX"/lib/radare2/"R2_VERSION"/magic"
  - Output of 'pm' is easier to read now
  - Add pm? help message
* Remove all flags from previous search
* Handle ^C in /m search
* Autocomple ~ with tab (home)
  - Fix autocomplete filenames without '^[\.|/]'
2011-09-11 03:59:24 +02:00
pancake
cfccb47b0f * Fix build 2011-09-11 00:42:59 +02:00
pancake
323441c122 * Initial import of r_magic
- Imported code from OpenBSD trunk
  - Remove the elf part (-1KLOC)
  - Some refactoring in order to be more r2-like
  - fixed warning messages
  - readdir one can be dangerous /cc @vect01
  - Remove libmagic dependency
* Rename asm.case into asm.ucase
2011-09-10 01:30:03 +02:00