Commit Graph

915 Commits

Author SHA1 Message Date
pancake
106393d077 Fix crash in r_anal_free, add fatmach0 python test 2012-08-10 13:27:00 +02:00
pancake
28428438f6 Lot of build fixes for --as-needed and mingw32
Fix z80 assembler
Add r_sys_truncate() for portability
Fail build if tests compilation is wrong
2012-08-10 11:35:38 +02:00
Roi Martin (@nibble_ds)
60bef170d2 Big refactoring of libr/util/calc:
Remove global vars
  Fix wrong seeks after pd
  Fix graphs
2012-08-10 11:30:27 +02:00
pancake
f65abc5e34 Add support for multiple cons grep attributes
Implement ~& attribute to match all words
Add ~?? to show help of grep
Fix buffer overflow in cons grep
Chop RLine buffer when > console columns
2012-08-09 18:19:00 +02:00
pancake
85534da1e9 x86.nz assembler: add jmp/call abs/rel (rip) memrefs
Add some more notes in INSTALL text
Initial design work on dalvik payload instructions
Open '-' virtual file as read-write (r2 -)
Fix r_core_yank_to signature
Remove io.va search warning (no more issues?)
2012-08-09 12:42:44 +02:00
pancake
a0d18c8f38 Fix bug #74 incorrect print of bytes in cmd_search 2012-08-09 10:26:05 +02:00
pancake
a2ebdcb650 Fix memleaks, nullref and undef (clang-analyzer)
Fix multiple inclusions of mk files
2012-08-08 17:19:48 +02:00
Roi Martin (@nibble_ds)
aed202a621 Fix map size for fatbins 2012-08-08 13:10:45 +02:00
Roi Martin (@nibble_ds)
15e44b2e58 Fix delta bug with fat mach-o 2012-08-08 12:54:23 +02:00
pancake
ca624cd8cd Fix index out of bounds in r_cons_grep 2012-08-08 10:56:25 +02:00
pancake
9a1a2fc981 Fix anal.x86.udis86 and asm.arm.winedbg plugin names
Add file.analyze eval config variable from radare1
Guess base arch anal.plugin when asm.arch is set
2012-08-08 10:31:17 +02:00
pancake
3fb3f58fcd Add missing dalvik opcode, rename invoke-direct-empty
rabin2 -h works even with other flags passed
random syntax fixups and use R_NEW0 where possible
initial dummy implementation of r_bin_size()
2012-08-07 10:28:03 +02:00
pancake
9362041562 Huge RBin refactoring and fix mach0 section perms 2012-08-04 23:48:06 +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
f6c3b507f8 Fix search progress output (searchhits) 2012-08-02 02:00:24 +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
Anton Kochkov
e43a1f921d Deep integration of complex types - build fixed 2012-07-22 12:41:53 +04:00
Anton Kochkov
115f10ff73 cparse integration stage 2, added calling conventions, changed variables/functions to use new types system 2012-07-22 12:01:38 +04:00
pancake
a260da522c Various build issues have been fixed
Fix build of libr/anal/cparse
r_list.h was not including r_types.h
check null pointer in r_asm
Fix 't' help message
Obey q! in scripts
2012-07-20 17:14:28 +02:00
pancake
1ec3983735 Fix build for cparse and honor HOST_CC also in sdb 2012-07-18 11:29:24 +02:00
Anton Kochkov
f4d9099dcd Added complex types support, integrated cparse 2012-07-18 07:49:08 +04:00
pancake
a50e9414b2 Oops. Fix build 2012-07-16 11:52:04 +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
61a4380d18 Fix interpret of output of r2 commands 2012-07-13 01:31:03 +02:00
pancake
253047bb1c r2 -q flag now quits after processing -c or -i
Allow to load multiple files with -i
Create file if not exist when -w is used
Warn when finding 'q'
2012-07-13 01:23:05 +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
c814a9f67a Initial implementation of dwarf debug_line parser
rabin2 -d a.out
2012-07-12 02:47:04 +02:00
pancake
41a230ddf7 Add p=?, rax2 suports negative values and more
- Support negative integer values in rax2
  - Fix column selection draw in r_print_hexdump
  - Implement p=p and p=e commants
  - Disallow visual insert if file is readonly
  - Similar to pZ, but
  - Honor -w flag to create file if possible
  - Use new r_io_create() api
  - Add scr.sparse to show hexdump in sparse mode
2012-07-06 02:17:44 +02:00
pancake
e5799fb7a2 Fix build on linux-mipsel64
- debugger backend now sets dbg.swstep
 - define linux-mips64 register profile
 - fix 32/64 annoyance in debugger
 - fix register read under some situations
2012-07-05 16:02:12 +00: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
690445700a * Add ^ and $ in cons grep expressions
* Minor work on source CL commands, needs review
2012-06-21 10:12:02 +02:00
pancake
66a5e79317 * Fix invalid init segfault reported by vext01
- This showed several minor fini issues (rlang, rfs, regg, rflag)
* Fixes in r_core_disassemble()
  - Honor delta and r_asm_set_pc()
* Fix RHash bindings and add it into .deps for RCore
2012-06-14 17:41:07 +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
aafff4a55a * Initial fix for regdiff colorizer
- dro is working again
* Dummy agt command (analyze graph to destination)
  - Still wip, requires some changes in r_anal api
* Handle ap? command
* Use core->dbg->bits in core_reg
* dbt - backtrace accepts an argument to redefine ebp
* Use r_core_seek_delta in visual (fix Vh = 0xFFFFF..)
2012-06-14 02:18:15 +02:00
pancake
5f2512814e * Fix error in visual disasm (thanks vext01 for reporting)
* Fix backtrace for osx-x86-32
* Use some getters in node-ffi
2012-06-13 00:51: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
810d9a3dbc * Put rax2 buf in .bss instead of the stack
* Add support for wide string dump in r_bin
* Fix detection of data section in PE
* Show error if temporary seek flag does not exists
* Fix wrong disassmbly with 'pd' (invalid)
2012-05-30 03:23:53 +02:00