Commit Graph

363 Commits

Author SHA1 Message Date
pancake
09642b4eec Gitify 'make dist' and implement 'locdiff' 2012-08-13 18:06:24 +02:00
pancake
1586c29785 Fix race conditions in makefiles and clean TODO 2012-08-10 15:59:37 +02:00
pancake
9362041562 Huge RBin refactoring and fix mach0 section perms 2012-08-04 23:48:06 +02:00
pancake
7dd1a94f2e Implement RCons grep ~foo? as an alias for ~?foo 2012-08-04 00:46:00 +02:00
pancake
3e7c4ad992 Add new opcodes for x86.nz assembler
- Fix search counter
2012-08-03 02:05:50 +02:00
pancake
526a8a66fe Fix function renaming and add some 8bit x86 ops
- 'afl' is now just listing functions
- Use 'afl*' to get also 'loc.' functions (BBs)
- Fix length in cb_hit for search
- Fix infinite build in libr/egg
- Fix 'afr' command to rename function
- Implement 8bit mov, (out,in)sb in x86.nz
- Fix ragg2 -d for one byte writes
- Fix vapi
2012-08-02 02:44:46 +02:00
pancake
afbda180d5 Add visual search and enhace search output
- e search.show = true # by default
- add keyword type (string, binary)
- visual search only works in cursor mode
2012-08-02 01:50:39 +02:00
pancake
c39d68ad3e Remove some outdated TODO/XXX comments
Add 'dbs' command to swap/toggle breakpoints
Bind debugger keys to key.fX visual bindings
Use --swig in r2-bindings. But still broken
2012-07-16 11:39:43 +02:00
pancake
61a10eb2aa rarun2 now supports connect/listen with r_socket
Use SO_REUSEADDR in r_socket_listen ()
2012-07-13 02:03:36 +02:00
pancake
5bf36a6b74 Fix sC, remove printfs and add more cfg descriptions 2012-07-12 04:21:56 +02:00
pancake
99774c723f Fix help messages, macro call and implement temporary seek syntax (x@+3) 2012-07-12 03:55:09 +02:00
pancake
7a4a3dbbfd Fix string parsing in rabin2 -z and more random fixes
- Random changes in libr/db/pair.. still buggy
 - remove debug printfs from calc.c
 - ?k command is now more usable. supports ``..` strings
 - fix segfault in r_cons (nullptr)
 - Add support for !! command to use r_cons
   > pd|!grep eax~ebx   # now this command works
2012-07-02 00:38:02 +02:00
pancake
0ecca40e71 Bump node-ffi to 0.1 and fix some visual mode glitches
- npm install radare2.js
 - examples in r2-bindings/node-ffi/examples
 - Vn/N now moves between blocks
 - VG fixed for io.va
 - autoblocksize disabled forces visual screen clear
2012-06-30 20:51:18 +02:00
pancake
fdb25ffa03 * initial import of dummy dwarf support
* handle eval cuando escribes una y otra vez
* add support for [bracket] comma-separated list for controversial
  - add api to push-back states
* Added uleb128 api in r_util
2012-06-28 01:27:40 +02:00
pancake
51ab3cf5ab * Force static builds for android
* Fix colors of cursor in print_hexdump
2012-06-26 16:20:30 +02:00
pancake
0f8ca271f7 * Add 'python-wrapper' to use python2 in install-python target
* Use adaptative vmenus for Vv (needs proper refactor)
* Minor fix in r_cons_readchar()
2012-06-26 15:21:48 +02:00
pancake
d33f3a9782 * Add b+ and b- commands
* ``..` quotes respect newlines
* Add pf c for signed bytes
* Fix pf w
* Add doc/dwarf test script
2012-06-22 03:49:25 +02:00
pancake
30354fefc8 * Implemented 'afe' and 'Sr' commands
* Show strings referenced by relative LEAs
* Fix ascii art in hexdump columns
* Unset cursor when quiting visual mod
2012-06-14 10:01:16 +02:00
pancake
3fbcab2d66 * Honor ^C in macros (r_cmd depends on r_cons now)
* Add ?vi to show integer decimal values
* Various fixes for macro scripting
* Fix pw and pq hexdumps
2012-06-12 02:51:34 +02:00
pancake
fcac2336c9 * Notes: use 'ffi' instead of 'node-ffi'
* Minor fixes in rsearchc
2012-06-10 23:58:34 +02:00
pancake
a1a1519b92 * implement osx-x86-32/64 native cross debugging
* Add p= command to show the statistics graph
* Rename Vw to Vi (write->insert)
* Add dummy base85.c
* Various binding fixes (add test3.js)
* Fix socket.vala
2012-06-07 03:41:21 +02:00
pancake
f752759258 * bin_load() is no longer mandatory in RCore
* Added dummy 7bit<->8bit char encoding
* Random fixes in node-ffi and lib/t build
2012-06-06 02:17:02 +02:00
pancake
fee1dfda07 * Fix some bugs reported by clang-analyzer 2012-05-31 02:41:45 +02:00
pancake
36b7ae9361 * Add step over hud command
* Fix code analysis blocksize issue
2012-05-30 18:50:29 +02:00
pancake
33c914de7a * Visual keystrokes for dcu and dcr with cursor mode and sS
* Fix dcr (continue until ret)
* Add /x key:msk (':' separator)
2012-05-30 11:14:41 +02:00
pancake
bdc810af35 * Fix rabin2 -O without filename output 2012-05-30 03:32:20 +02:00
pancake
7ee130cf23 * Use acr 0.9 . fix pkg-config check issue. thanks fractalg 2012-05-30 01:55:39 +02:00
pancake
637e8c92e5 * Fix MZ check() (fixes PE64+ id in r_bin)
* Add io->bits into RIO class
* OSX r_io debug now honors io->bits
  $ r2 -b 32 ls  # debug 32bit ls
  $ r2 -b 64 ls  # debug 64bit ls
2012-05-30 01:35:41 +02:00
pancake
05a0196690 * Fix osx-x86-32 debug register profile
* Some struct->typedef renaming
2012-03-07 10:43:02 +01:00
pancake
1947f0dece * Fix o- segfault
- Problem in r_io_desc_free called twice
* Compact ??? help
* Random indentation fixes
* Added support for binmask searches
  - /x 123456 ffc0e3
* Added BLOCK and BYTES in r_core_sysenv_begin()
* Hacky fix for autoblocksize with pw
2012-02-09 01:38:16 +01:00
pancake
f79ed42f85 * Fix opening files with spaces in name from r2 prompt
* Sort TODO
2012-02-01 16:53:46 +01:00
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
a5cb0c7810 * Add ragg2-cc
- shellcode compiler using gcc or llvm-gcc as backend
  - inspired in shellforge, written in shellscript
  - works on x86-32 with linux and osx
* Fix rax2 -S for binary data
2011-11-26 05:14:03 +01:00
pancake
2db05920e4 * Fix segfault in r_io when io->va = 0
* Fix overflow in r_cons
* Implement dtg with proper dot format output
* Use "f name 1 off" instead of "f name @ off" in dr*
2011-11-25 09:40:28 +01:00
pancake
7c2a6e63b4 * Initial implementation of r_debug_map_protect()
- Bind to dmp command
  - Only w32 + osx, needs more work
* Added new api r_graph
* Added dtc and dtg
* Some minor makeup in RList
2011-11-25 04:32:32 +01:00
pancake
48841a67be * Optimize visual mode 2011-11-25 00:22:44 +01:00
pancake
32713fceb9 * Minor fix for VT and pdi 2011-11-24 09:50:40 +01:00
pancake
d7f2c850be * Add initial native support for fat binaries in r2
- Select arch/bits with r2 -a and -b (old -b is now -B)
  - Kinda hacky, but works for osx-x86/32/64
  - Export offset information of fat bins
* Show flags in search output
* Disable interactive console in rabin2
* Do not comment int3 opcodes
2011-11-22 00:59:20 +01:00
pancake
c620b0dd3f * Fix search when io.va=true
- Add search.in = file, section, raw
* Set io.va=false rbin cant identify file type
* Show progress info in search
2011-11-19 02:49:11 +01:00
pancake
c5ca77e2dd * New commands:
- dmd and dml commands to dump/load debugger memory regions
  - Sd and Sl to dump/load debugger memory region from/to file
* Fix newline in r2 -h
2011-11-16 02:05:23 +01:00
pancake
da35ef8648 * Fix huge memory leak in r_anal_fcn_find() that was causing
r2 increase memory innecesarily when io.va=!io.va
* Add r2 -a arch -b bits
  - -b flag to specify blocksize is now -B
  - Sync manpage
* Added python test-leak program
2011-11-15 23:40:28 +01:00
pancake
686e23c9d8 * Do not store opcodes in basic blocks (-40% mem usage in analysis)
* Fix some memory leaks in the elf parser
2011-11-15 09:56:22 +01:00
pancake
c16d61b370 * Add missing fs/types.h
* Fix many memory leaks in r_anal_{op,cond}
* Fix signature of r_fs_name()
2011-11-14 00:21:25 +01:00
pancake
158962d606 * make purge is now less harmful
* add initial support for creating p9 binaries
* Make r_anal_get_fcns() an accessor macro
2011-11-12 05:20:54 +01:00
pancake
75290251da * Add initial support for plan9 binaries
- supports x86, arm, ppc, sparc, mips
* Use r_cons in r_core_bin
* Fix link of rabin2
  - Use r_cons_flush()
  - Refix ehdr issue
* r_io_size() now ignores va
* Add R_SYS_BASE
* Move r_anal_get_fcn_get into fcn.c
* Some more fixes
2011-11-12 04:51:45 +01:00
pancake
e097de1f7a * Import r1's rsc adict into libr/asm/d from 2011-11-07 18:37:38 +01:00
pancake
c5452fb379 * Fix sdbpath for long paths 2011-11-01 12:59:07 +01:00
pancake
81727c9c28 * Fix lea in x86.nz
* Some more fixes for r_egg
  - Use more tests cases
  - Warn when stackframe doesnt fits
* Make t.sh unit test tool nicer
  - Accept option flags to show asm, disasm, ..
* Add R2_PREFIX and R2_LIBDIR into r_util.vapi
2011-10-24 10:59:27 +02:00
pancake
1f7f9dc036 * Enhacements for rarun2
- add 'timeout' directive
  - directives can now be passed in arguments
  - support more than 3 args for launching
  - show default config file in help
* Added test suite for r_egg
  - Fix nested conditional and loops
  - Some situations can result in broken code
  - Code needs a huge cleanup
* Varioues fixes for x86.nz plugin to make r_egg happy
* Install python plugins into dist-packages only
  - site-packages is not the right place
* Add R2_LIBDIR and R2_PREFIX constants
* Honor LIBDIR in sdbpath for r_syscall
* Fix rabin2 -h for -C
2011-10-24 04:35:42 +02:00
pancake
89968a18b9 * Added linux-x86-32 support for elf-init/fini syms
- Yeah, this is a call for contribs
2011-10-20 19:52:19 +02:00