Commit graph

2403 commits

Author SHA1 Message Date
pancake
00ac90f71b Initial import of crypto.rc4 algorithm and modernize RCrypto API 2016-03-07 02:38:50 +01:00
oddcoder
d6dbd326d6 pic18c analysis plugin (coloring) 2016-03-05 23:37:12 +01:00
Adr1
611c3d1752 RBin: Display File Version info 2016-03-04 01:15:56 +01:00
oddcoder
599cbcd3c7 attempt to fix scan.converity bugs
I also hunted 4th illegal memory read
the first 2 bytes of b is always casted to (ut16) type
with out checking if b even contains 2 bytes
now it is handled it correctly
2016-03-04 00:50:25 +01:00
oddcoder
7fe6c6dff2 Adding initial support for PIC18C diassembler 2016-03-02 11:55:22 +01:00
Riccardo Schirone
ec6b55527c core/disasm: fix set of last row offset
core/visual: reset cursor position on 'u'/'U'/'o'/'V'.
2016-03-02 11:29:13 +01:00
Martin Heistermann
fbd0905c56 Add initial indirect relocation (irel, ifunc) support. 2016-02-28 02:43:25 +01:00
pancake
517f7fa23e Handle Vi in Vppc - aka change reg values with cursor 2016-02-25 11:35:59 +01:00
pancake
eef4665242 Initial support for tab in visual debugger 2016-02-25 10:28:54 +01:00
pancake
a7f137f215 Support cursor in dr= 2016-02-25 02:58:26 +01:00
Mario Ballano
47d9888f93 Various RAP client/server bugs, endianness and remove RAP_RMT_SYSTEM 2016-02-23 15:00:59 +01:00
Riccardo Schirone
e72f5ed0ae anal/op: add var field to RAnalOp to store the local used by op
anal: save writes/reades of vars/args and fix x86 stackop analysis
2016-02-23 02:35:47 +01:00
Riccardo Schirone
81555efde2 flags: use name instead of realname as the key field of a flag item
flags: remove r_flag_set_name API because not consistent
       the right way to change the name of a flag item is by using
       r_flag_rename. the old api has been then marked as static and
       refactored.
2016-02-22 18:21:25 +01:00
Riccardo Schirone
23006460c1 flags: refactoring of r_flag_set
flags: remove dup parameter from r_flag_set
2016-02-22 18:21:25 +01:00
Riccardo Schirone
b80c635aba flags: refactoring of the APIs to unset a flag item
flags: free items when using unset_name, unset_off or unset_glob
2016-02-22 18:21:25 +01:00
Riccardo Schirone
a13d21cce7 flags: start fixing some style issues and add comments to the API
* remove format and cmd from RFlagItem because not used
* remove space_idx2 from RFlag because not used
* remove some dead code (USE_SDB and USE_BTREE)
* move around some functions
2016-02-22 18:21:25 +01:00
pancake
522d30aea2 Fix regoff_t conflict 2016-02-21 03:45:41 +01:00
pancake
af2f02515f Support and load r_fs plugins 2016-02-21 02:32:28 +01:00
pancake
100df3bb32 Better MIPS32BE ELF relocs, add Rx regs in mips.cs and add scr.wheelnkey, nN defaults to flag now 2016-02-21 01:56:50 +01:00
pancake
3140749266 Fix #4095 - Export RBinSection info for mach0.la_symbol_ptr 2016-02-16 02:58:29 +01:00
pancake
d35556a3e6 Fix #2276 - Implement et command 2016-02-16 00:10:46 +01:00
pancake
fd359e9121 Implement radiff2 -D and optimize r_strbuf 2016-02-15 23:51:20 +01:00
pancake
636e0d6473 Update sdb from git to fix a crash on windows 2016-02-15 19:01:50 +01:00
pancake
cdf63617d7 Initial support for LANAI disassembler 2016-02-15 13:27:23 +01:00
pancake
1a89cac78f Initial support for search.overlap 2016-02-12 11:37:48 -06:00
Riccardo Schirone
0b8a589e16 anal/bb: keep track of ops positions inside a RAnalBlock 2016-02-12 09:06:36 -06:00
Riccardo Schirone
b6351ec833 core/visual: better implementation of cursor movements
core/visual: refactoring of movements with ocur enabled
2016-02-11 00:14:36 -06:00
Riccardo Schirone
b4fda922cd libr/core: calculate the offset of each disasm row
util/print: fix bug in r_print_row_at_off

core/disasm: fix bug when setting the row offset of last line
2016-02-11 00:14:36 -06:00
Riccardo Schirone
94123f158c core/disasm: review screen_bounds meaning
core/visual: enable screen_bounds only on default modes
2016-02-11 00:14:36 -06:00
Riccardo Schirone
444c6e616a core/visual: replace global variables with core->print fields 2016-02-11 00:14:36 -06:00
pancake
9f2ce614d3 Avoid null bytes in axt output 2016-02-09 11:38:55 -06:00
Maijin
530dbe72c1 Save/restore macros in projects fix #4050 2016-02-07 00:51:26 +01:00
pancake
f5181c4d90 Initial rework for dyldcache 2016-02-04 15:44:49 +01:00
pancake
805e3f26e8 Fixes for lldb/debugserver on x86-64 2016-02-03 12:09:58 +01:00
pancake
bb073cf5db Modernize asm/code.c 2016-01-30 03:02:06 +01:00
pancake
d7a244f010 Initial import of asm.tricore disassembler plugin 2016-01-30 02:47:17 +01:00
pancake
d30b2f4894 Initial import of the anal.xtensa plugin 2016-01-30 01:37:04 +01:00
Jeffrey Crowell
f713c67794 restyle the function decl in r_debug 2016-01-29 18:52:53 -05:00
pancake
6f1655c491 Initial support for xtensa CPU disassmbler (from GNU binutils) 2016-01-28 23:59:50 +01:00
pancake
32dbac517f Several bug fixes for gdb-arm and thumb remote debugger 2016-01-26 23:36:02 +01:00
pancake
79cc7c9958 Add adf and adfg commands to define function gaps as data 2016-01-25 17:19:30 +01:00
pancake
bea71d7074 Add ap command to find prelude for current offset 2016-01-24 03:05:27 +01:00
Goncalo Carvalho
c4ea7fd354 convert negative fp numbers to hex and add static assert macro 2016-01-23 23:20:52 +01:00
Álvaro Felipe Melchor
c372743315 xnu: get rid of ptrace even for attach and detach
some rework in order to handle mach message as mach_exc_server and alike does
api change in plugin debug, now the function detach receive a pointer to RDebug
trying to deallocate port when are not needed any more
2016-01-23 22:50:28 +01:00
pancake
5198c3b1a9 Bump capstone and sdb from git 2016-01-20 16:29:20 +01:00
condret
ccab168cb5 fix a memleak and implement esil.stacksize for @crowell 2016-01-19 23:36:21 +00:00
Jeffrey Crowell
438071e8e1 add a directive for esil stack size
should eventually be configurable and allocated in vm init, but not
right now.
2016-01-19 15:33:33 -05:00
pancake
de22aa46f2 Fix COV with boolified r_io_creat 2016-01-19 13:16:24 +01:00
Álvaro Felipe Melchor
d9e77ca0d1 xnu: first series of patches to use mach exceptions
* use set_trace_bit and clear_trace_bit macros

* use PT_ATTACHEXC since PT_ATTACH will be deprecated in the future
and we are interested in receiving mach exceptions

* first attempt to handle mach exceptions

* api change: added a parameter to r_core_setup_debugger
at least in OS X this function was producing double attachment.
I've added a boolean value to indicate when use dpa.

* added pipe to communicate between main process and traced process
by far this is not a good implementation. We should develop a better
approach/design to save all the exceptions and handle them accordingly.
This is the initial implementation

* bring back ptrace for stability and in order to merge this into master
2016-01-18 22:24:16 +01:00
Y. Sapir
66225b9ee1 Filter unselected flagspaces in r_flag_get_at. 2016-01-15 03:11:55 +01:00
pancake
94f822ebe7 Fix #3949 - aea command to list regs used in a range 2016-01-15 01:50:08 +01:00
pancake
666d457708 Add rabin2 -O e/new-entrypoint-address (ELF only atm) 2016-01-14 14:42:36 +01:00
pancake
a362dcf6d9 Update sdb and fix more null derefs caused by mem exhaustion 2016-01-11 00:24:18 +01:00
pancake
a778b467a0 Initial i4004 analysis plugin 2016-01-10 23:03:27 +01:00
pancake
7bef915a8d Implement arC/drC to show comments in regprofiles 2016-01-09 03:14:18 +01:00
Riccardo Schirone
3e40ca0a93 core/graph: extend r_core_visual_graph to accept a graph
Now it is possible to pass an already initialized RAGraph that can be
used in interactive mode, without being based on a function.
2016-01-05 00:36:26 +01:00
Alberto Ortega
dbb199e4a5 New bin plugin with initial Nintendo 3DS support. It loads decrypted FIRM files. 2016-01-04 01:08:32 +01:00
pancake
6f47901a06 Clarify r_io_section_mget->_in api and use the heap for section->name 2016-01-03 03:08:58 +01:00
pancake
42acaa7596 Softly kill boolt type 2016-01-03 02:05:26 +01:00
pancake
6f346b6d6d Fix #3901 - Cannot debug directories and follow symlinks 2016-01-03 01:28:02 +01:00
pancake
5132a499c2 Fix many coverities 2015-12-31 17:10:02 +01:00
pancake
4e6be05f62 ARM's SP is r13 and add LR in r14 2015-12-31 14:10:11 +01:00
Eloi Sanfelix
b857bf3b06 Fixed accept prototype for linux x64 and darwin 2015-12-31 02:07:21 +01:00
pancake
afe90d520b Fix build for apple tv and watch simulators 2015-12-29 17:58:34 +01:00
pancake
b728b48123 Native tvOS/WatchOS support, non-fat libr.a and mach0 identification for them 2015-12-28 20:40:18 +01:00
zlowram
db8fbcc68b Added config variable to set absolute or relative lines 2015-12-28 16:44:26 +01:00
pancake
1d8b761ca1 Various static and iOS related build issues are now fixed 2015-12-28 02:01:45 +01:00
pancake
dae75dacfa Fix null deref in r_core_free and add naked.h 2015-12-27 02:33:53 +01:00
zlowram
91611e8cbb Implemented slc subcommand and slc? help. prl now uses lines cache if
available.
2015-12-24 13:18:09 +01:00
Dax
e350505f7b Implemented 'zp' command 2015-12-24 12:24:05 +01:00
pancake
aeeda9ea4f Allow unlimited length in signature namespaces and items 2015-12-22 22:52:04 +01:00
pancake
6de6f35b30 Fixes for sl and lines.* eval vars 2015-12-22 02:33:09 +01:00
zlowram
b371b9a4f7 Implemented 'sl' command
- Fixed tabs indentation
 - Using r_num_math instead of atoi
 - Fixed warning and used R_SNEW0 instead of calloc
2015-12-22 02:32:33 +01:00
pancake
65aef74a73 Initial support for Android BOOT images 2015-12-18 20:08:05 +01:00
pancake
1d0768bf74 Fix asm.emu in projects 2015-12-16 22:07:30 +01:00
alvaro_fe
a6e4d6b93e Fix #838 2015-12-16 11:40:23 +01:00
pancake
69b974eca3 Fix afv-* 2015-12-15 02:08:53 +01:00
pancake
965d789c4a Update indentation in some more random files 2015-12-14 14:32:18 +01:00
pancake
db5a76f8b3 Initial support for fold/unfold functions with afF and Vz 2015-12-14 10:19:07 +01:00
pancake
71536f3fd9 Fix #3833 - af[av]t to change type of variable 2015-12-14 02:25:07 +01:00
Dima Turchenkov
7c8fe76de3 bb_max_size 2015-12-11 00:40:11 +01:00
Dima Turchenkov
c7fdb730ee bbs_alignment 2015-12-11 00:40:11 +01:00
Ricardo Quesada
2c3fdba551 Fix for bug 3788
- `r_io_read` calls `r_io_read_at` with vaddrs, and not with maddr
- `r_io_section_maddr_to_vaddr` uses a reverse iterator to check the
  sections
- adds `r_io_section_mget_prev`: this function can be removed if the
  behavior of `r_io_section_mget` is changed to use a reverse iterator

Squashed commit of the following:

commit a31d359bf1c79b92f518fa8237c7f9d4cf146577
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Wed Dec 9 11:40:54 2015 -0800

    fetches sections starting from the back

commit 0b687439ea6225c8db9f387cc93bc53300e297a7
Merge: 8485676 92c1631
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Dec 8 23:40:35 2015 -0800

    Merge branch 'master' of https://github.com/radare/radare2 into revert_3788

commit 8485676cf5c042d8c4e10c798b4fadb1a43df50c
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Dec 8 23:09:05 2015 -0800

    This seems to be the "correct" patch...

    ...but it breaks some tests... apprently searches a few bytes
    out of the section creating some false-positives hits

    I'm just commiting this PR to give an idea of where the bug is

commit 2e4b8de397a4ef23c02c3e08113cf6b984479275
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Dec 8 22:46:29 2015 -0800

    not good... reverting

commit 324afba7e2853ddb72750f7f8b38bf59af310873
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Dec 8 22:09:25 2015 -0800

    workaround for bug 3788

commit 6e6283eaa18edcca1987a8f4227f163a6926c430
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Dec 8 15:14:12 2015 -0800

    Reverts fix for bug #3788

    please, reopen bug #3788
2015-12-09 22:20:54 +01:00
Dima Turchenkov
3de9e43ecb get functions size from flirt signatures 2015-12-09 17:01:34 +01:00
pancake
92c1631a06 More indent fixes 2015-12-09 00:41:44 +01:00
pancake
cfb03d3772 More indentation fixes 2015-12-09 00:27:31 +01:00
Dima Turchenkov
e521a0b31b ut16 bufsz 2015-12-08 17:29:36 +01:00
pancake
7863995cca Oops missing .h update 2015-12-08 13:03:38 +01:00
pancake
61fba1e663 Fix #3807 - write on maps issue 2015-12-07 22:35:34 +01:00
mrmacete
dac375c541 Delay slot simulation state in ESIL
+ added $ds, $jt, $js internal registers
+ added read / write capability for internal registers in ESIL instructions
+ esil_step 'aes' command ported to new delay slot state handling
2015-12-07 21:53:17 +01:00
François Revol
8439c5f683 Only use gcc's visibility attribute starting from 4.0
cf. https://gcc.gnu.org/wiki/Visibility#Step-by-step_guide
2015-12-07 21:48:44 +01:00
pancake
8eabe785fe Boolify RDebug API 2015-12-04 02:57:56 +01:00
Dima Turchenkov
fcbbb5e12e option: analyze function references as well if function is broken 2015-12-03 12:41:52 +01:00
pancake
b331ba86f7 Fix problem with C++11 2015-12-01 13:10:54 +01:00
pancake
40e08dbd89 Get rid of _Bool 2015-12-01 12:39:12 +01:00
Ricardo Quesada
f5c65f5da8 Adds VSF (VICE Snapshot File) support as a bin format
VICE is the most popular C64/C128 emulator and allows
users to save snapshots of the games.

Analyzing VICE snapshots are more useful than
analyzing .prg (the "standard" c64 program)
because usually all .prg are compressed, and
are decompressed in runtime.

commit 796297c6cd3a099fd17ad3715b4ed5646a6a9e65
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 12:28:58 2015 -0800

    no sbd for the moment

commit c785b22318c3cacf7771ab21198aa759777224af
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 10:06:12 2015 -0800

    bank 0 and bank 1

commit 63304876b6f84df001c39f5b35084ff6e61bc01b
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Fri Nov 27 09:47:12 2015 -0800

    c128 includes basic, monitor and editor sections

commit 1a8995a644df6d9e871a586e57c3cd8e00cce7ae
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Thu Nov 26 14:45:36 2015 -0800

    c128 roms...

    uses sdb which is not used at all
    more vic symbols

commit 8a29c3c7736fcf689b9248e65093277347ae38bc
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 10:39:44 2015 -0800

    ram last entry

commit fca46301b2fd68e230cf547047a5278e098c9340
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Tue Nov 24 00:10:20 2015 -0800

    more tidy code

commit 03b8a12b319bd0eb9f21b60d882da2030c2c35f1
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 22:52:20 2015 -0800

    VSF works for C64... still many things to fix

commit a118a930cb40441b412db916deb4c0ca30e30309
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Nov 23 13:37:32 2015 -0800

    initial commit... compiles and detects VICE

    but nothing more
2015-11-29 12:17:05 +01:00
pancake
ad6baf0824 Add rpath and scnperm in rabin2 -O 2015-11-27 20:37:27 +01:00
Dima Turchenkov
05eb32fdd8 Trash filter for data references 2015-11-27 13:06:13 +01:00
Dima Turchenkov
cded3acaba Search string references in data references option 2015-11-27 13:06:13 +01:00
Dima Turchenkov
68bae51e3c Follow data references for code coverage 2015-11-27 13:06:13 +01:00
Dima Turchenkov
3e6b474ca5 Don't jump above function address option 2015-11-27 13:06:12 +01:00
Maijin
e68ed8dd91 Add support for SPC700 file format 2015-11-27 13:03:18 +01:00
Riccardo Schirone
0407aab9c5 core/core: add afvn autocompletion
cons/dietline: add support for autocompletion in the middle of the
input, without destroying the other part of the string
2015-11-27 12:57:39 +01:00
pancake
85ba262c17 Fix #3761 - Fix drd and add aras command to swap arenas 2015-11-25 15:20:25 +01:00
skuater
513200a7fa Fixes for the w32 debugger 2015-11-24 23:28:50 +01:00
Álvaro Felipe Melchor
d8b269f11f Fix last covs 2015-11-24 21:53:25 +01:00
Riccardo Schirone
c7a444cb39 core/cmd_meta: fix regression with format memory metadata 2015-11-24 12:45:43 +01:00
pancake
cffa44b2f7 Add ara command and fix RReg.arena.push/pop implementation 2015-11-24 00:58:03 +01:00
Dima Turchenkov
ad6581f265 Config variables for jmp/cjmp references 2015-11-23 21:04:18 +01:00
Dax
412934d20e Initial PSX Executable Support
PSX Plugin: Deleted useless file
PSX Plugin: Adjusted coding style, minor fixes
PSX Plugin: Removed typo, adjusted makefile, call check_bytes with correct parameters
2015-11-23 20:56:19 +01:00
pancake
a31cd1101e Initial import of the VAX asm/anal/bin support 2015-11-23 12:34:53 +01:00
pancake
cab871f3e6 Fix #650 - asm.bbline - blankline on every basic block 2015-11-23 01:40:35 +01:00
Dima Turchenkov
5d4001cf13 Jump tables #1: direct jump 2015-11-20 16:48:32 +01:00
pancake
6027d6e44e Implement asm.relsub 2015-11-19 23:12:25 +01:00
pancake
ba74db8e3a Initial implementation of CC, 2015-11-18 17:03:46 +01:00
pancake
40ab1e2be6 Fix #3701 - Implement r_num_tail for dcu 2015-11-17 22:38:01 +01:00
pancake
90a8b57cde Fix gpr regset for xnu-dbg 2015-11-17 01:00:16 +01:00
Álvaro Felipe Melchor
a93e75f542 Initial merge on the reworked patch from @alvarofe 2015-11-17 01:00:09 +01:00
Anton Kochkov
317d0c6f93 Improve Cygwin/Mingw32 handling [2] 2015-11-12 23:13:39 +03:00
Anton Kochkov
202ef52d1e Improve Cygwin/Mingw32 handling 2015-11-12 23:11:12 +03:00
pancake
d91df64286 Initial support for 'an' aka no-return analysis points 2015-11-12 13:47:44 +01:00
pancake
2b519dee07 Fix #3599 - save/restore file map address 2015-11-12 10:33:20 +01:00
pancake
a916a735e9 Fix #3682 - Handle 'x' char values by RNum 2015-11-12 00:20:37 +01:00
pancake
ad74a6ec6b Move msil and mdmp into radare2-extras, add r2pm pkgs 2015-11-11 11:07:32 +01:00
Anton Kochkov
8c4430874d Fix some Cygwin and Mingw32 printing 2015-11-11 01:43:03 +03:00
Anton Kochkov
60e1151ed9 Fix Cygwin mkdir 2015-11-10 18:41:32 +03:00
pancake
b701626cfc Fix some clang-analyzer issues 2015-11-10 12:18:27 +01:00
pancake
164dcada3b More RBin memory usage optimizations 2015-11-09 12:12:18 +01:00
pancake
aaccaea40b Update sdb to get lower memory consumption 2015-11-09 05:07:53 +01:00
pancake
45de9bc433 Shrink Imports and Strings RBin memory footprint 2015-11-09 04:41:31 +01:00
pancake
baf63a0cba Reduce RBinSymbols memory (smaller footpronum) 2015-11-09 03:41:07 +01:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
Riccardo Schirone
24f675e8af core/reflines: improve reflines algorithm 2015-11-07 11:23:31 +01:00
Riccardo Schirone
f651209623 core/reflines: start cleaning up the code 2015-11-07 11:23:31 +01:00
skuater
ae3edbbf1f fixed some bugs in rcons 2015-11-03 22:30:50 +01:00
Álvaro Felipe Melchor
b1583d5b24 Fix more issues reported by clang-analyzer 2015-11-03 22:14:00 +01:00
pancake
75adfec670 Fix doublefree in btree and use-after-free in windbg 2015-11-02 12:32:31 +01:00
pancake
0648cea3e5 Refactoring of the minidump code for portability and -1500LOC 2015-10-31 17:27:46 +01:00
Dāvis
0494d5fce8 Add support for Windows Minidump (mdmp) files 2015-10-31 11:59:09 +01:00
qnix
304cddfec3 Initial RISC-V 32/64 analysis
- Added risc-v to README
- Fixed ret detection, and branches
- Fix all the warns
2015-10-31 11:49:52 +01:00
pancake
9092338930 Fix @WWWROOT@ issue 2015-10-31 11:48:23 +01:00
pancake
5c99eb0c3f Uppercase register aliases 2015-10-31 01:59:01 +01:00
shengdi
d336072850 Initial support for SMS roms 2015-10-30 20:16:12 +01:00
condret
f021e96382 remove a dup-line 2015-10-30 13:42:36 +00:00
pancake
72b27776d7 Initial support for function signatures using pf and initial symbol tables 2015-10-30 03:07:22 +01:00
pancake
f88b35afba Fixes for asm.riscv 2015-10-30 00:06:38 +01:00
shengdi
49bf08cba0 Added size to radiff -C output 2015-10-29 23:44:19 +01:00
pancake
ec2ac9c640 Initial implementation of asm.emuwrite and asm.emu for CALL and UCALL 2015-10-29 23:37:51 +01:00
pancake
97233ecbae Fix #3431 - Implement support for SMD roms 2015-10-29 13:55:03 +01:00
pancake
365d089eb8 Fix #3557 - V_ is the new VF_, old one is in V?? 2015-10-29 12:54:19 +01:00
pancake
4756e610d9 Add RBin.srcdir and dir.source for asm.dwarf 2015-10-29 12:37:14 +01:00
pancake
894fa1cdf8 Do not abuse rcons for asm.emu.syscall 2015-10-29 11:54:00 +01:00
pancake
6a85a44962 Handle syscalls in asm.emu, better debug.arg and osx-syscalls 2015-10-29 11:22:49 +01:00
Riccardo Schirone
7323e0ef05 socket/run: split r_run_start to make debugging easier
During the environment configuration we may fork and spawn other
processes that we don't really care about. Splitting r_run_start, allows
to call ptrace only after this initial work is done.
2015-10-29 08:21:24 +01:00
pancake
22c277bbb7 Bump sdb to fix r_offsetof 2015-10-28 10:33:06 +01:00
skuater
cdfb82cfd3 Fix r2pipe to allow more data transmision at windows 2015-10-28 10:12:38 +01:00
pancake
198174957c Fix rax2 -F C parser 2015-10-28 10:11:32 +01:00
xambroz
d448260816 build cleanup focused on possibility to control the lib directories with the build parameters
needed mainly for RedHat/Fedora builds
2015-10-27 03:26:45 +01:00
Riccardo Schirone
14c0f656fe core/graph: rethink commands
* add :cmd and / commands to the help
* use r to refresh the whole graph, not only update the layout
* use pd instead of pi in callgraph mode
* remove 'O' and 'p' commands
* use 's'/'S' instead of 'z'/'Z' for step/step over
* use page up/down to go to the top/bottom of the graph
* use 'C' to toggle asm.comments
* remove 'c' because it will be used for the cursor inside a node (TODO)
* remove 'e' because diagonal lines are broken
* use 'p'/'P' to switch between print modes (normal, normal with offset
  and bytes, esil, esil with offset and bytes, small nodes)
2015-10-25 23:56:22 +01:00
pancake
21fe9f1fa9 A bit deeper zerosep 2015-10-24 23:25:56 +02:00
pancake
880821634f Refactor zerosep for r2 -0 2015-10-24 22:49:12 +02:00
pancake
f3ddfbb9ec Fixes for RRegex, Use r_regex_match(), comp+exec seems buggy 2015-10-24 02:06:45 +02:00
condret
6b9de1a741 implement r_str_replace_in (see #3544) 2015-10-23 19:32:54 +00:00
pancake
6c4bfb94b1 Fix windist, r2pipe and plugins paths 2015-10-23 02:58:48 +02:00
pancake
efa8fd9990 Remove all references to the deprecated CPARSE code 2015-10-23 00:30:33 +02:00
pancake
016fff515a Fix and optimize f-* issue 2015-10-23 00:25:13 +02:00
Álvaro Felipe Melchor
14a775f14f Fix #3509 - bin.prefix option 2015-10-22 23:36:43 +02:00
pancake
dcbddab6e3 Initial support for pfd and better pf autocompletion 2015-10-22 17:19:33 +02:00
pancake
2c86d90bd8 Implement dbt* and extend backtrace to support stack frame addresses 2015-10-22 12:38:57 +02:00
pancake
3de77ad6e6 Initial support of dbg.libs/unlibs for Linux/OSX 2015-10-22 04:48:56 +02:00
pancake
a05ac7eaa4 RDebugPlugin.arch.typeof(char*) 2015-10-22 03:11:03 +02:00
pancake
cb936e10e9 Fix #3490 - RAnalPlugin.arch.typeof(char*) 2015-10-22 02:23:52 +02:00
pancake
1b88200e31 Add support for 'interpreter' in RBin, ELF and MACH0 2015-10-22 02:13:26 +02:00
condret
7d7024b2c6 initial commit for gameboy-assembler 2015-10-21 18:22:14 +00:00
condret
ddba3a446b add new colors-configs for new optype 2015-10-21 11:04:55 +00:00
pancake
620d47675f Workaround for the fixedblock issue 2015-10-21 01:51:34 +02:00
jvoisin
c4a930aeff Implement iLj 2015-10-20 14:30:52 +02:00
Riccardo Schirone
0951d51a45 core/anal: use r_bin_get_vaddr instead of raw vaddr and paddr fields 2015-10-20 00:39:19 +02:00
pancake
45c7c923af Better dtc, demangling support. Handle RABIN2_LANG, and more c++ autodetect
* r_name_filter(len:-1) strlens the string
* Show symbol names in `dtc` (calltracer)
2015-10-19 13:21:12 +02:00
pancake
1bdd7c591a Fix #2474 - Implement rafind2 -m for magic search 2015-10-19 03:56:59 +02:00
pancake
6ed80ae39b Update sdb and rename rmkdir->mkdirp 2015-10-19 00:25:39 +02:00
condret
7c5deb4a4d roundkey calculation for des 2015-10-18 02:02:58 +00:00
seu
b3de57697c broken DES impl. 2015-10-18 01:44:41 +00:00
pancake
888405e50f Various bug fixes in RHash api 2015-10-17 12:18:55 +02:00
Riccardo Schirone
eb35438bab core/graph: remove 'b' and only use 'u' and 'U' to move between nodes
Now, every time you change the current node, you are actually seeking
that node. 'b' is not really necessary anymore and it's also confusing.
Also, if you change the seek while in graph mode, the graph will be
updated automatically to select the right node.
2015-10-16 11:26:59 +02:00
condret
fe18c8b1ef avr_anal esil-expression for des 2015-10-15 18:05:47 +00:00
condret
8d2f6a4595 avr_anal 7 more instructions with cycles and esil 2015-10-15 00:24:23 +00:00
jvoisin
20d11bf92d Add json output with zj 2015-10-14 21:26:26 +02:00
Riccardo Schirone
6be6f0a862 core/graph: fix regression about moving between nodes 2015-10-14 18:35:11 +02:00
pancake
b8224a153f Fix #3471 - Show number of matches in 'z' 2015-10-14 16:55:55 +02:00
Álvaro Felipe Melchor
b2df63cba2 Fix #3386 2015-10-14 16:20:03 +02:00
pancake
42bc18703a Implement asm.pcalign and min/max opsize info 2015-10-14 02:11:53 +02:00
Álvaro Felipe Melchor
82e02d15b0 Fix S= issues with paddr and vaddr 2015-10-14 00:11:35 +02:00
Álvaro Felipe Melchor
c1f023ae5a Fix #3172 2015-10-14 00:11:35 +02:00
Riccardo Schirone
06ec37edd2 core/graph: use multiletter shortcuts to jumps between functions
TODO: shortcuts relative to basicblocks should make the target node the
current one.
2015-10-14 00:10:58 +02:00
pancake
35f97e3862 Add register profile for AVR 2015-10-13 23:01:30 +02:00
pancake
9ec625269a Fix #2904 - Implement dbm and fix breakpoint list issue 2015-10-13 05:00:20 +02:00
pancake
1dba5a687d Initial implementation of bin.strfilter and bin.strpurge 2015-10-13 03:50:14 +02:00
skuater
c72caa67ac Implement dbg.libs/unlibs for w32 2015-10-13 02:18:14 +02:00
pancake
7a04833eac Little refactoring for w32dll handling from rdebug 2015-10-12 18:49:16 +02:00
pancake
a2353c1b00 Fix #3429 - save/load visual marks using the new fV command 2015-10-12 14:33:52 +02:00
Ben Gardiner
8d4ad47210 Add bin.maxstrbuf and RABIN2_MAXSTRBUF, update manpage 2015-10-11 03:47:32 +02:00
XVilka
720341c2df Improve -fPIC handling, take 2 2015-10-09 22:24:15 +03:00
pancake
af5a56f833 Fix r2 -V issue 2015-10-08 13:19:15 +02:00
jvoisin
6c07fda6df Add R_ANAL_OP_TYPE_ABS 2015-10-08 11:59:11 +02:00
pancake
be0538a6a8 Fix some windows build warnings 2015-10-08 11:14:10 +02:00
pancake
d629131baf Initial support for capstone-m68k 2015-10-07 14:37:25 +02:00
Álvaro Felipe Melchor
d9fb954dec Added string in drr and pxr 2015-10-06 18:23:27 +02:00
Anton Kochkov
4d064d7733 Remove erringly written semicolon in macro 2015-10-06 00:25:02 +03:00
pancake
47cec917b2 Add asm.family 2015-10-03 13:52:52 +02:00
pancake
c13660c7e8 Implement dbg.regcols, managed from scr.columns and hex.cols 2015-10-03 13:33:08 +02:00
Riccardo Schirone
9fc6dc6d7d core/cmd_anal: add commands to remove nodes/edges from core->graph 2015-10-03 12:42:40 +02:00
Álvaro Felipe Melchor
ac965a56c0 Fix #3359 2015-10-01 11:01:55 +02:00
funktioniert
7bb5f39495 Add support for multiple columns in greps 2015-09-29 11:32:57 +02:00
pancake
5ecd98305e Add support for MBN/SBL roms, fix 11acb8392, binsect->has_strings 2015-09-29 00:42:31 +02:00
pancake
c94dd22f4d Enhace drr, also arr. add dbg.slow and better debugmap names in xnu 2015-09-28 02:04:08 +02:00
pancake
50340be871 Fix #3376 - Implement immbase anal hint 2015-09-28 01:00:06 +02:00
Riccardo Schirone
8f8e7d52fd socket/run: add support for redirection to another process 2015-09-27 17:45:28 +02:00
pancake
da3264250c Honor ^C in aae 2015-09-25 18:38:16 +02:00
pancake
72d442931d Fix #3191 - Fix // to repeat last search 2015-09-23 13:04:15 +02:00
pancake
bbf7a2221c Fix #3270 - Implement esil.exectrap 2015-09-23 12:46:22 +02:00
pancake
34811ad84e Fix #2416 - Add iE and rabin2 -E to list exports 2015-09-23 12:23:03 +02:00
qnix
df4be2e01d 6502: pseudo disassembler
Indentation and copyright

indentation fixed, [] instead of *
2015-09-22 14:31:59 +02:00
pancake
5d0bdd4481 Enhacements to ease the iOS debugger development 2015-09-21 23:40:17 +02:00
Felix Held
db39374b8b add lm32 disassembly support 2015-09-20 23:58:12 +02:00
Maijin
d298ca5dbc Initial support for NES file 2015-09-20 20:10:03 +02:00
pancake
a3198522a4 Fix #3252 - Implement esil trap command callbacks 2015-09-19 19:39:25 +02:00
pancake
fb622d66ed Handle iOS/WatchOS/Linux SVC imm in REgg 2015-09-19 19:13:22 +02:00
Jeffrey Crowell
92226d0650 Rename r_config_swap() to r_config_toggle()
closes #3309
2015-09-17 14:20:51 -04:00
pancake
0cf36cbc6d Fix #3289 - Fix graph arg/local in JSON 2015-09-17 01:47:40 +02:00
pancake
f7905cdd1b Fix memleak in ood and better ppc-esil 2015-09-17 01:25:00 +02:00
pancake
5d874bc8d5 Remove io.zeromap 2015-09-16 23:35:11 +02:00
pancake
7f91e7c252 Initial import of ppc.pseudo 2015-09-16 22:31:12 +02:00
condret
60d6e5a1b9 add initial snes-anal-plugin 2015-09-16 13:17:15 +00:00
pancake
ae3af810a6 Initial support for Wii/GC DOL binaries 2015-09-16 12:59:52 +02:00
condret
6c278703af add mcs96-disassembler (needs a lots of love) 2015-09-16 00:45:01 +00:00
condret
64636e9505 add basic 6502-analysis plugin for @ricardoquesada 2015-09-15 20:44:42 +00:00
jvoisin
c01eb89036 Heavily refactor (and improvement) of wao 2015-09-15 11:25:31 +02:00
pancake
8eb71af9ed Internal reg prefix is now $, 85008 for curpc, TRAP for traps 2015-09-14 11:31:54 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
pancake
823b7fc88f Add r_anal_esil_get_parm_size() and rename <<<< into <<< 2015-09-14 01:00:09 +02:00
Riccardo Schirone
2e048b3272 socket/run: implement fork option 2015-09-13 10:46:09 +02:00
Riccardo Schirone
120753ed8b core/graph: improve switching between visual and graph mode
Seek to the selected graph node when exiting from the graph mode and
select the node that contains the current offset on entering.

* core/anal: add r_core_anal_getbbaddr API
2015-09-12 18:32:25 +02:00
pancake
783d31bf5a Find strings in esil and support thumb aap 2015-09-10 04:20:09 +02:00
Riccardo Schirone
ffdbf919b1 io/section: add r_io_section_vaddr_to_maddr_try API
* fix r_io_section_vaddr_to_maddr
* rename r_io_section_maddr_to_vaddr and vaddr_to_maddr
2015-09-10 01:59:40 +02:00
pancake
4506a98cff Add arena.peek/poke, and fix emulation for asm.esil.anal 2015-09-10 01:42:56 +02:00
pancake
930c8e7535 Implement esil.iotrap. Handle invalid read/write ops 2015-09-09 01:17:55 +02:00
Riccardo Schirone
6a517aa66b bin/p: add CGC bin format plugin 2015-09-08 23:22:07 +02:00
pancake
4c99bb6845 Refactor reflines and support asm.linesup for longer disasm 2015-09-08 23:21:35 +02:00
pancake
b40a1e80a4 Add scripting support for syscall handlers in ESIL 2015-09-08 02:53:33 +02:00