Commit Graph

1103 Commits

Author SHA1 Message Date
Nibble
f3f094117a * Huge refactoring of r_anal code and API 2011-02-11 11:22:43 +01:00
pancake
e4e77b2c75 * Autodetect required column width to fit in screen
* Add 'pd' in autocomplete and clean some warnings
2011-02-10 00:55:30 +01:00
pancake
5228d4eff0 * Autocomplete flags after '@'
* Fix some segfaults when core->file is NULL
* Some simplifications in dietline
2011-02-10 00:21:05 +01:00
Nibble
c16f6d7777 * Sort basic blocks after analysis
- Make diffs more accurate if split is enabled
2011-02-09 22:51:25 +01:00
Nibble
fc4198e97d * Implement in x86im test and int opcodes
* Remove hacky code
2011-02-08 13:57:48 +01:00
Nibble
ead4e9502f * Simplify type assignment in r_anal
* Include fcn type in 'rabin2 -r' output
2011-02-08 00:15:12 +01:00
Nibble
cc9cefa74e * Some refactoring of r_anal
- Add fcn types for syms and imports
  - Filter bindiff matches by type (speed up analysis)
  - Assign the right fcn type in bin_load
* Fix segfault in r_anal
  - Solve bug with unknown opcodes + graph splitting
* Update more vapi's
2011-02-07 17:43:50 +01:00
pancake
7bb5b2d46d * Many bugfixes in RIOMap handling and 'o' command
* Added util/bitmap (hashmap of bits)
2011-02-07 09:46:01 +01:00
pancake
9a084d12fd * Fix repl with vala 2011-02-06 21:10:57 +01:00
pancake
fc08cd81ff * Use '-fPIC' for gcc in r_lang_vala (thanks earada) 2011-02-06 20:52:27 +01:00
pancake
7fa1ca1ec1 * Oops. uncomment two lines :) 2011-02-06 20:43:06 +01:00
pancake
986f66c14f * Avoid dupped langs plugins in queue
* Hardcode vala plugin by default
2011-02-06 18:44:56 +01:00
pancake
6db4e28e02 * Oops. unstatic r_asm_arm plugin 2011-02-06 16:30:56 +01:00
pancake
64c4e5c014 * Fix various bugs in r_lang api
- Use RList instead of kernel's list.h
* Initial import of 'vala' plugin
  - Allows to write Vala/Genie scripts
2011-02-06 14:10:16 +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
7e22c00602 * Hide verbose messages of "unknown cond, opcode" in anal
- #define VERBOSE in bb.c and fcn.c
* Fix memory leak in cons_grep
  - Fix grepping for null strings
  - Fixes count of lines x~?
2011-02-05 02:55:50 +01:00
pancake
b6ff556b75 * Enhace some help messages (.?)
* Added search.prefix "hit" by default.
* search.asmstr is now boolean and true by default
  - Affects /c opcode search command
* Add much more autocompletion hints for commands
* Fix tabulation of list of available options in r_line
2011-02-05 02:21:40 +01:00
pancake
d687ae9975 * Fix segfault in dietline (thanks ash) 2011-02-05 01:18:58 +01:00
pancake
493c6463e8 * Fix tab autocompletion in r_line 2011-02-05 01:07:43 +01:00
pancake
387e82728a * Fix offscreen cursor with <0 seeks in Visual mode 2011-02-05 00:36:51 +01:00
pancake
53587faf25 * Implement rap:// remote radare protocol support
- Fully compatible with radare1
  - Server  $ r2 rap://:9999
  - Client  $ r2 rap://127.0.0.1:9999//etc/fstab
* r_io has been refactorized to support client/server io plugins
  - Requires make clean
* Enhacements in Visual mode:
  - [] keys change scr.cols eval variable (hex columns)
  - Handle offscreen cursor and selection
  - Handle <0 seeking in visual mode
2011-02-05 00:20:28 +01:00
Nibble
5742b10641 * Remove remaining fastcall stuff from r_asm
* Fix build for bindings
2011-02-04 18:34:20 +01:00
Nibble
0906e809fe * Remove all dummy plugins (speed up build) 2011-02-04 14:20:30 +01:00
Nibble
7de9646195 * Merge 2011-02-04 14:07:56 +01:00
Nibble
1d83a7ba25 * Some optimizations in r_anal
- bb's are included in fcn struct
  - analyze bb's and fcn's all together
* Update some vapis
* Fix build
2011-02-04 14:03:59 +01:00
pancake
8924841072 * Some more work on r_core_sysenv*
- fix api, but still not using BLOCK or so
* Fix help for ??? and !?
* Upgrade swig/configure.acr to 0.6.9
2011-02-04 11:30:08 +01:00
pancake
9c8aa28a9a * Some better help messages
* Added asm.lineswidth (fixed width for reflines)
* Added 'aoe' stub command
2011-02-03 09:31:50 +01:00
pancake
fdd8ed6bc1 * Use r_reg API from r_anal in order to retrieve info for r_syscall
* Hacky support for software interrupts in anal.x86im plugin
* Added 'B' key to toggle automatic blocksize
2011-02-03 00:57:29 +01:00
pancake
1f1a36c817 * Initial implementation of the r_anal_aop_execute api
- It's like r_vm, but using r_anal
  - r_vm is going to be deprecated
* Added r_mem_set_num()
* Remove deprecated asm/t/fastcall example
* Fix warnings in r_syscall_regs
  - Integrated with r_syscall_use()
  - Fix r_syscall_reg() out of bound bug

--HG--
rename : libr/syscall/regs.c => libr/syscall/fastcall.h
2011-02-03 00:20:39 +01:00
pancake
1f953579ea * Fix build 2011-02-02 13:23:44 +01:00
pancake
965a577af2 * More work on the r_anal/r_syscall refactoring for calling conventions 2011-02-02 13:05:48 +01:00
pancake
259883630b * Move r_asm_fastcall into r_syscall_regs (-42LOC) 2011-02-02 13:02:20 +01:00
earada
dd9f3b000b * Fix dalvik big opcodes
* Asm bufsize is 1024 again
2011-01-31 00:26:07 +01:00
pancake
bc38178050 * Add support for multiline macro definitions 2011-01-27 09:31:52 +01:00
pancake
4eeb7b1331 * Nicer inc method for visual key
* Clean warnings in r_search test programs
2011-01-27 01:12:02 +01:00
pancake
edd47d4229 * Fix visual glitches when hexdump and code are mixed
- Fix scrollup/scrolldown using new core->inc var (yay)
2011-01-27 00:45:16 +01:00
pancake
b88bac0dd1 * Reduce r_macro recursivity limit to 1024
- fixes stack exhaustion segfault
2011-01-27 00:05:49 +01:00
pancake
cec3935b00 * Fix r_cmd_macro '(' command now works 2011-01-26 23:40:16 +01:00
earada
5cede93f83 * Fix home/end keys in gnu screen (Tnxs rvalles) 2011-01-26 23:31:15 +01:00
pancake
9c55e3694b * Fix build of r_fs 2011-01-26 22:10:35 +01:00
pancake
2c3edbbbf5 * Add missing cc.c 2011-01-26 22:01:38 +01:00
pancake
af7cfafc0d * Initial api for r_anal_cc (calling conventions)
- Not yet implemented, just a draft
* Added initial AVR cpu code analysis plugin
2011-01-26 21:54:39 +01:00
pancake
a1fa245517 * Add missing dalvik.mk 2011-01-25 16:29:59 +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
47b29fd69d * Fix previous commit (oops) 2011-01-23 18:44:38 +01:00
pancake
c6b37c3e26 * Fix r_bin_elf for ppc, avr and 68k binaries 2011-01-23 18:32:58 +01:00
pancake
afb634f97d * Add support for ppc64 disassembler 2011-01-23 18:19:03 +01:00
pancake
c79c75c9e7 * Use adaptative blocksize as reported by rvalles
- Only affects disasm and hexdump in visual mode
2011-01-23 17:48:31 +01:00
pancake
9cd07bd9d2 * Added r_cons_resize() and _interrupt() RConsEvent callbacks
- Use _resize() from visual mode, so redrawing is now cleaner
* Minor bug fixes
2011-01-23 13:12:16 +01:00