Commit Graph

1743 Commits

Author SHA1 Message Date
pancake
1732541915 * Fix OS identification in ELF on r_bin
* Add missing OSABI definitions
* Fix r_str_case()
* Remove already defined or useless commented config code from r1
2011-09-08 15:10:46 +02:00
pancake
aebf800b8e * Lot of fixes in r_syscall api related to the use of RPair
- Fix segfault in OpenBSD (thanks vext01 for reporting)
  - Add openbsd-x86-64 syscall definitions
2011-07-02 10:14:46 +02:00
pancake
e791d8c1b6 * Merge heads 2011-09-07 12:42:53 +02:00
pancake
67a03030d0 * Bump revision to 0.8.5 to avoid collision with last release 2011-09-07 12:22:04 +02:00
pancake
4af07f8f2f * Fix linkage of rabin2 in OpenBSD 2011-09-06 17:12:45 +02:00
pancake
96102fb04b * Fix link of rabin2 in OpenBSD 2011-09-06 13:29:44 +02:00
pancake
deb6e216fa * Build syscall/d at compile time
* Handle ud_disassemble return value
* Added dummy r_pair_{[de]serialize}
* Fix 'pf' command for arrays
2011-09-06 00:38:56 +02:00
pancake
55a29f976b * Add dummy darwin-x86-64 syscall information
- OS is 'darwin', not 'macos' (r_bin)
* Fix r_syscall vapi
* Honor DESTDIR (thanks l0gic)
2011-09-04 20:25:32 +02:00
earada
5f0043a846 * Add linux-x86-64 syscall definition 2011-09-04 18:02:37 +02:00
Nibble
ee8ca52b57 * Add decode str to ranal2 output
* Fix syscall installation
2011-09-04 17:47:26 +02:00
Nibble
653dbea643 * Minor fixups in create() for elf64 2011-09-04 15:19:59 +02:00
Nibble
480edd8203 * Add support for ELF64 to r_bin_create 2011-09-04 13:21:02 +02:00
Nibble
0f8cc36a58 * Fix build
- Add r_db to DEPS in Makefiles
2011-09-04 11:49:32 +02:00
pancake
833abfa19b * Major refactoring in r_syscall
- Requires rebuild, still not fully tested
  - Use r_pair (nosql db) to store all this info
  - Added lot of new platform descriptions for RSyscall
2011-09-04 05:33:59 +02:00
pancake
2c92c7d172 * Merge rapatch2 into rabin2 -p
* Honor bits in r_syscall_setup
  - Initial work on RPair in r_syscall
  - Not yet integrated, but design is mostly done
* Add r_str_split()
* Add python2 and python3 makefile rules in r2-bindings
2011-09-04 03:56:35 +02:00
Nibble
fd49310812 * Merge 2011-09-04 02:45:29 +02:00
Nibble
d7afa73011 * Minor refactoring of rabin2 main() 2011-09-04 02:44:53 +02:00
pancake
56fb04bb79 * Say different error if -w is used in r2 and fails
* p= command is now an alias for !rahash2 -a entropy -b 512 $FILE
* Some work in the 'G' key in visual
* Fix zoom on io.va=1
* r_sys_getcwd now returns a heap ptr and its named to r_sys_getdir()
* Show invalid instructions in 'pd'
* Fix prompt for 'w' key in visual
* More work with RPair
  - Looks like it's finally usable. Let's use it from r_syscall
  - Update sdb from hg
  - Enhace test program
* Show newlines in 'ps' command
2011-09-04 02:34:54 +02:00
Nibble
4a233f58a2 * Add missing comment to bin.c 2011-09-04 02:23:53 +02:00
Nibble
334a6bcfb8 * Fix list and select archs in rabin2 (flags -A and -a)
* Fix memory leak in rabin2
* Fix segfault in r_bin_use_arch()
2011-09-04 02:19:43 +02:00
Nibble
a95de05ec0 * Fix the resolution of the import addresses of mach-o bins (PIE) in r_bin 2011-09-03 17:50:09 +02:00
pancake
ed460fe2a4 * Initial import of external dependency sdb in r_db
* Fix segmentation fault in command = 033h
* Fix r_db for 64 bits
* Initial import of the RPair API on top of SDB
* Minor fix in r_num_get parser
2011-09-03 05:09:31 +02:00
pancake
12816468f6 * Refactoring of the TODO tasks
* Add dummy 'dca' command. needs to be implemented
* Reload all symbol information when io.va changes
* Only print jumpkey references in visual mode
* Reduce the autoblocksize in visual for disassembly
2011-09-03 03:10:01 +02:00
pancake
3e8ce3e2b1 * Fix help for 'a' and ':' commands
* Add description to the dummy r_cmd command
2011-09-03 02:27:27 +02:00
pancake
131bad53d1 * Honor PYTHON_CONFIG in r2-bindings
- Allows to specify which version of python you want to use
  - Update README document
2011-09-03 02:09:59 +02:00
pancake
76e4cfdd31 * Add dummy sparc/linux syscall tables 2011-09-03 01:35:58 +02:00
pancake
0cc68a9792 * Add basic code analysis module for sparc
* Fix disassembler fprintf function issue in asm.sparc
  - Now sparc is a first class citizen (statically built)
* Add forgotten mad-harmattan.mk file
2011-09-03 01:17:37 +02:00
Nibble
9395ec2662 * check r_syscall_reg return value in r_anal_cc_to_string() 2011-09-02 17:22:50 +02:00
pancake
a4af6bce2f * Close bug #43 -- show octal, binary and floating point value in '?' command 2011-09-02 17:13:24 +02:00
Nibble
ffa32be19e * Add r_bin_plugin "any"
- Used for unknown formats, firmwares, etc.
* Add "bin.any" to plugins.def.cfg
2011-09-02 16:45:39 +02:00
Nibble
8ec73271c7 * Filter section names in rabin2 output 2011-09-02 13:55:59 +02:00
Nibble
ad15bfd6b1 * Fix PE section analysis
- take into account SizeOfOptionalHeader
2011-09-02 13:36:48 +02:00
pancake
92412fdaf4 * Check if g-ir-compiler is found to build GIR bindings 2011-09-02 11:16:38 +02:00
pancake
ebd84a998c * Add syntax sugar for search
- requires r_core and binr rebuilds
  - add search.flags=true
    - default behaviour of search command has changed
    - now store flags by default and displays last one
* Rename e+ to e??
  - Fix e? command.. it was busted by e?..
2011-09-02 03:45:50 +02:00
pancake
0ae2050448 * Fix segfault in r_bin/pe -- thanks l0gic
- sections are not properly read in cdak binaries
2011-09-02 03:09:26 +02:00
pancake
a63ae7ff37 * Fix segfault in cons/grep.c with scr.html=true
* Fix Vala core test program
2011-09-02 02:03:38 +02:00
pancake
b50447489c * Fix segmentation fault in asm.lines=false
- Thanks @hteso for reporting!
* Various indentation fixes
2011-09-02 01:42:09 +02:00
pancake
12af78ccee * Fix build, reduce warnings and add some checks 2011-08-30 19:12:49 +02:00
pancake
b4a63953c7 * invalid instructions in x86 (udis86) should be length=-1 2011-08-30 00:42:18 +02:00
pancake
763289b4aa * Fix Bx1d issue in rax2
- Applied patch by flux. Thanks!
2011-08-29 00:43:20 +02:00
pancake
c006cc5c38 * Fix grep~
* Autocomplete ag* and . commands
* Add install targets in r2-bindings subdirs
2011-08-28 01:49:29 +02:00
pancake
0a7eefc9f8 * Fix some memory leaks 2011-08-28 00:01:03 +02:00
pancake
47834e60bd * Do not calculate reflines if asm.lines=false
* Honor null callback in r_cmd
* Some enhacements in the r_config_description
* Implement cmd.repeat and add two commands to handle it
  - . and .. (allow to handle pyew-like newline)
* Add ia and ia* to show all binary information info
  - Use r_sys_cmd_str() instead of r_sys_cmd()
  - This fixes the bug of not able to interpret output of .i?*
* Some random minor code simplifications
* r_sys_getenv now returns an allocated buffer
  - Need some review to avoid memleaks
2011-08-27 20:25:37 +02:00
pancake
f6d5e9034a * Add r_core_prompt_loop()
* Add support for descriptions in configuration variables
  - Add e+ to list all descriptions
* sync vapis
* Fix zero end string in r_print_hexpair
2011-08-27 04:32:27 +02:00
pancake
6d5bef5976 * Use hg manifest in make dist
* Honor r_bin_use_arch arch and bits information for r_bin_create
* Implemented sC command to seek by comment matching
* Fix one byte Color_RESET in r_print
* Minor refactor in rasm newlisp example
2011-08-27 03:31:55 +02:00
pancake
194a51b468 * Enhace build on OSX (use -arch)
- Fixes support for dlopen() on newLisp
* Added rasm.lsp example. Using the RAsm api from newLisp
2011-08-23 23:16:08 +02:00
pancake
0e930b3d6c * Added main.lsp to load rbin.lsp as a newlisp module 2011-08-23 17:55:36 +02:00
pancake
2595e21dee * Initial import of RBin hello world with newLisp 2011-08-22 13:02:05 +02:00
pancake
059bbeb1d6 * Add missing goenv.sh 2011-08-21 14:34:07 +02:00
pancake
2f84cbe1c4 * Fix valabind bindings
* Fix Go bindings build for arm, 386 and amd64
* Apply ricky's patch honoring LIBDIR
2011-08-21 14:24:58 +02:00