1603 Commits

Author SHA1 Message Date
pancake
840190602c * Use strncpy instead of strcpy in asm and util
- Also avoid using sprintf and strcat
  - Some speedup and buffer overflows fixed
* Reimplement 'ap' command using the API
  - Fixes some issues related to nested console buffers
  - Faster and more reliable
* Use Color_ definitions instead of hardcoded values in r_print
2011-07-06 01:29:18 +02:00
pancake
9ed75b82dd * Fix osx-64 prelude (thanks @reversemode) 2011-07-05 17:24:05 +02:00
pancake
a45df6c14f * Split 'ap' in two cmd0s
* Add missing anal_all() in RCore vapi
2011-07-05 17:14:39 +02:00
pancake
61c9ea4aae * Fix CC- and CC-* (thanks vext01) 2011-07-05 00:37:17 +02:00
pancake
bebb19a5ce * Fix some warnings patch by @capi_x
* Added R_REFCTR macros
* Ignore prefixed 0x in hexstr2bin
  - Fixes issue in 'wo*' commands (thanks edd)
2011-07-04 23:23:06 +02:00
earada
a38c2ece6d * Initial parse of dex files
- Load strings and methods
* Fix command 'r' parser
* Fix visual 'g' command without sections defined
2011-07-04 18:54:41 +02:00
pancake
0b997374a0 * Some minor indent and warning cleanup 2011-07-04 18:16:12 +02:00
pancake
ed9a4c3584 * Use newer ACR fixing --mandir configure flag
* Fix help message for 'r' command
2011-07-03 12:58:19 +02:00
pancake
809729ad22 * Do not asm.filter flags without '.' in name
- Avoid making disassembly look wrong
2011-07-02 13:48:18 +02:00
pancake
0af36f8e9d * Add help for P command in ? 2011-07-01 13:24:51 +02:00
pancake
17768b9de0 * Add DEVELOPERS file as noted by Edd 2011-07-01 13:22:13 +02:00
pancake
0528e66fda * Disable asm.dwarf until reimplemented
* Some more code cleanup in gdbwrap plugin code
2011-06-30 21:35:15 +02:00
pancake
e80caee947 * Apply Edd Barrett patch fixing the zombie processes
bug in the r_sys_cmd_str_full() function
2011-06-30 17:41:48 +02:00
pancake
5beff0f193 * Some indentation fixes in gdbwrapper 2011-06-30 09:21:51 +02:00
pancake
ea98fe1bd6 * Various gcc-4.6 warnings fixed 2011-06-30 00:17:12 +02:00
pancake
6d0bd0c320 * Fix segfault noticed pd? in OpenBSD64 by Edd Barret
- Thanks!
2011-05-25 16:08:26 +02:00
pancake
9d3c3be03c * Implement dbg.follow (32 by default)
- follow program counter when pc > core->offset + dbg.follow
2011-06-29 00:54:49 +02:00
pancake
aa236eb063 * Finally fix a segfault in the htflags implementation
- This was workarounded to work incorrectly
* Fix build on OSX of the dalvik plugin for r_asm
* Other minor random checks
2011-06-29 00:36:52 +02:00
pancake
e1d569fbeb * use r_num_get in r_cons_grep
- Flags are now handled
* Added 'S.' command to show begin end and name of current section
* Implement 'sn' to seek to next opcode (alias for s+$l)
  - Added $l variable
* Rename r2 flag -v to -q
  -V flag is now -v (all flags in lowercase
2011-06-26 23:49:11 +02:00
earada
29a90901c8 * Add support for io.va mode in g/G visual keys 2011-06-26 23:41:34 +02:00
earada
21a9405a81 * Handle strings meta info in dalvik disassemble 2011-06-26 22:42:34 +02:00
pancake
ef375bf85d * Fix macro definitions
* Handle asm.flags in core_disasm
2011-06-26 21:24:22 +02:00
pancake
868acc4059 * Added RBinBind type and logic
- Refactoring required to allow RAsm retrieve info from RBin
  - Will be used by dalvik and java disassemblers
2011-06-26 20:29:24 +02:00
pancake
7e8aba2198 * Fix segfault in file path autocompletion 2011-06-26 04:55:27 +02:00
pancake
814d220ac6 * Implement 'Cl' command to set sourceline comments
* Fix, implement and install rsc2
  - Added rsc2 srcline script
2011-05-25 15:43:54 +02:00
pancake
f35152b547 * Documentate 'g' and 'G' keys in Visual 2011-06-26 03:01:32 +02:00
pancake
bed664eb93 * Fix newline in dr= command
- Set 'ss' register as a segment type in OpenBSD/x86_64
2011-05-25 09:56:29 +02:00
pancake
90bdfd008d * Remove 'Cannot attach to this pid' error message 2011-05-25 08:43:12 +02:00
pancake
10fdf33d64 * Fix segfault in core/print_disasm 2011-06-23 01:01:27 +02:00
pancake
b66a9cdd42 * Fix r_io_cache
- Added test/cachetest
2011-06-22 00:19:02 +02:00
pancake
3a5ddb3346 * Do not display 'Cannot attach' when pid = -1 2011-06-21 00:53:05 +02:00
pancake
07790d9932 * Check for null in r_bp_list printf
- Fixes segfault in Solaris
  - Close bug #5
2011-06-21 00:50:07 +02:00
pancake
fbe7466a22 * Fix r_str_bits()
- eflags/rflags now works .. but needs some testing
2011-06-21 00:33:29 +02:00
pancake
044611c3c7 * Implement OpenBSD/amd64 debug register maps 2011-05-25 07:16:24 +02:00
pancake
3fbbd865d5 * Fix build in OSX 2011-06-20 23:53:38 +02:00
pancake
b294ab6060 * Move 'pdi' into 'pi' to we can now 'pif' 2011-06-20 18:33:25 +02:00
pancake
f2d882c304 * Implement px'f' for all print formats.. needs some cleanup 2011-06-16 14:12:09 +02:00
pancake
76e6a03b34 * Fix build for extern "C" C++ 2011-06-14 04:49:10 +02:00
pancake
adcefe78fe * Added 'mad' compiler support to crosscompile to maemo6 with QtCreator
- ./configure --with-compiler=mad --with-ostype=gnulinux
* Fix various warnings reported by maemo toolchain
2011-06-14 01:44:28 +02:00
pancake
186cc56603 * Fix invalid free in r_bin_elf 2011-06-09 12:38:11 +02:00
pancake
e94e4a251f * Fix null pointer segfault when keyword creation fails 2011-06-09 11:56:32 +02:00
pancake
d4be19b5dc * Added VdS command 2011-06-09 02:29:24 +02:00
pancake
46c7851ffc * Some fixes in the LEA/MOV memref analysis
* Stretch bytes and stackptr in disasm
* Fix string length in r_bin (\0 is counted)
  - hello is a 6 byte length string
* Fix 'Vds' to autodetect string length
2011-06-09 02:12:46 +02:00
pancake
4c0b8f437b * Added 'pw' and 'pq' commands to print 32bit and 64bit hex values
* Autocomplete 'dcu' argument
* Analyze [pc+delta] mov and lea opcodes on x86-64
  - Resolves indirect string pointers for ObjectiveC binaries
* Handle UCALL in dso
* Fix x86-64 register profile for OSX
* Implement r_mem_get_num()
* Various fixes in 'pf' command
2011-06-09 01:20:02 +02:00
pancake
a9a4c51132 Handle no size argument in CC command 2011-06-08 18:15:19 +02:00
pancake
1c035d4b52 * Use glob to check flags in @@
- Document @@ suffix
* Fix hexdump indentation when offset is >32bits
* Optimize glob for null needle
2011-06-07 17:53:15 +02:00
pancake
822eaa1499 * Add 'grep' test
* Fix -i flag
2011-06-06 01:07:27 +02:00
pancake
c1a7557959 * Handle environment variables in rarun2
* Added support for F12 key in r_cons
* Added key.f# eval vars to configure function keys in visual
2011-06-06 00:16:11 +02:00
pancake
f7f82ecbc0 * Implement support for handling av/repag and Function keys in r_cons
* Remove -u flag in r2 (was not implemented, but not needed)
* Added ?v command
* Check if file exists in rarun2
* Fix cmd.vprompt
* Some fixes in io.undo
  - Two test cases to check undo and redo ops
* Added 2 bugs in testsuite
2011-06-05 20:36:22 +02:00
pancake
6d7442730b * Slow but complete storage of project information
- put console in non-interactive mode when dumping project
  - functions, comments, references, ..
  - Added code analysis information
  - Avoid dupped comments
2011-06-04 13:29:15 +02:00