Commit graph

2403 commits

Author SHA1 Message Date
pancake
d2233a896b Add de Debugger Esil API for advanced software watchpoints
- Implemented in r_debug_esil_* APIs
- Support for step-into and continue
- Expressions can be regs, numbers, math operations, ranges, comparisons..
- Honor dbg.prestep for stepping before or after analysing
- read-write-exec watchpoints using native debug backend and esil emulation
- OSX/iOS debugger error message is now nicer
- anal/rpnesil renamed to esil
- Add esi,edi in osx regprofile
- Add r_cons_is_breaked() for consistency
2015-07-21 06:11:42 +02:00
Riccardo Schirone
3738b5fe59 core/graph: make the title a field of RAGraph
* core/graph: add r_agraph_set_title function to the API
2015-07-19 01:35:01 +02:00
Riccardo Schirone
9d830a925f core/graph: last line fix + memleaks fixes
* core/graph: fix last line in non-interactive mode
* core/graph: remove event_resize callback at the end
* core/graph: free RANodes when you free/reset the RAGraph
* core/graph: use R_TRUE/R_FALSE instead of 1/0
* core/graph: remove warnings
2015-07-19 01:33:52 +02:00
pancake
7e9c260254 Enhace the Material WebUI and add fs-. command,
- Rebumped Overview
  - Show info in columns
  - Show fortunes
- Handle Ctrl+[0-9]
- Analyze refs and show entire function from pd
- Search more stuff (magic,hex,rop,code,..)
- Script panel
- Lists using tables
2015-07-17 11:21:04 +02:00
deffi420
9d92712cea Add aar command to search xrefs in code
- Ignore references to sections with vaddr=0
- Skip overlapping instructions in xref search
- Improve debugger mode support of `axa`
- Remove unused cmd variable
2015-07-16 00:32:18 +02:00
pancake
df25085ffe Add custom color support for graphs and handle VVR and VVVq 2015-07-15 15:54:20 +02:00
pancake
9e08fb0c26 Update sdb and fix shlr/sdb race condition 2015-07-15 00:52:23 +02:00
David Kreuter
691294f2bc refactoring of r_socket_connect (Should resolve CID 1134571 Logically dead code) 2015-07-15 00:39:08 +02:00
Riccardo Schirone
a6c23407b2 cons/cons.c: avoid printing last line
fix #2908
2015-07-14 18:06:55 +02:00
Riccardo Schirone
6c6e9f5f3c util/graph: RGraphEdgeCallback now accepts a RGraphEdge 2015-07-13 20:33:52 +02:00
Riccardo Schirone
5d66b7510b util/list: add r_list_insert to insert element in a specified position 2015-07-13 20:33:52 +02:00
pancake
9d3601d1a0 Fix w32 warning 2015-07-13 15:59:36 +02:00
pancake
9cc1c1b335 Update sdb and more rework for appveyour 2015-07-13 15:22:37 +02:00
pancake
8e9058ed26 Avoid using keywords like class 2015-07-13 14:43:13 +02:00
Riccardo Schirone
4eedd69a91 core/cmd_anal: implement ag-/agn/age/agg to work with core->graph 2015-07-13 13:48:31 +02:00
Riccardo Schirone
3d29108225 core/graph: add r_agraph_print 2015-07-13 13:48:31 +02:00
Riccardo Schirone
975e30ac6c core/graph: add r_agraph_get_node 2015-07-13 13:48:31 +02:00
Riccardo Schirone
9391131479 core/graph: add r_agraph_add_edge 2015-07-13 13:48:31 +02:00
Riccardo Schirone
6c55098a44 core/graph: add r_agraph_add_node 2015-07-13 13:48:30 +02:00
Riccardo Schirone
e58bf2350f core/graph: change name AGraph => RAGraph and make it a public structure 2015-07-13 13:48:30 +02:00
pancake
bdfbc4f076 Fix several COVs, and build issues related to appveyour 2015-07-13 11:21:21 +02:00
Jonathan Neuschäfer
ecf6792318 Fix #2927 and random code cleanups
- asm_dcpu16: remove an obsolete comment
  It was obsoleted in 5285d1bdea.
- Indentation fixes
- fix a few typos
- remove "#define NEW_ESIL"
- move comment about r_bin_filter_name to the right place
- README.md: Add V810 to the list of supported architectures
- Also, de-duplicate LH5801
- Add attribution to randomart.c, fixes #2927
2015-07-12 19:20:36 +02:00
pancake
763df8afb6 Add support for remote commands with: != and !=! 2015-07-09 23:20:48 +02:00
mrdanielps
dce2a1eb88 Add V810 support 2015-07-08 21:09:59 +02:00
Jeffrey Crowell
f5095cff88 add regexp to /c/ 2015-07-08 14:02:48 -04:00
pancake
19e20cdbc5 Add R_SYS_ARCH/_BITS for arm64 2015-07-07 01:44:47 +02:00
Riccardo Schirone
316a529a80 core/graph: fix a regression where dots are printed out of node 2015-07-07 00:54:38 +02:00
pancake
b67103e8e2 Fix #2888 - afns list all named strings in a function 2015-07-06 11:30:35 +02:00
pancake
c10bcdfbea bin.filter class names and hashify raw bytes in name 2015-07-06 00:58:51 +02:00
pancake
c6daf8549f Fix listing classes for DEX binaries 2015-07-06 00:05:03 +02:00
pancake
6ed4d5a94b Comment the mach0's symtab parser, rabin2 -u and more 2015-07-05 03:25:20 +02:00
pancake
c334632809 Add anal.noncode to avoid analyzing data by default
Fix double-free in core/anal.c
2015-07-05 01:44:45 +02:00
pancake
3d1532c4d9 Is ok to have dupped imports 2015-07-05 00:41:06 +02:00
pancake
cdf56a63f8 Add bin.filter=true config var to avoid dupped symbols and imports 2015-07-04 23:42:48 +02:00
Riccardo Schirone
40e0884e57 util/graph: move adjacency lists to the RGraphNode 2015-07-03 09:40:35 +02:00
pancake
cf087149cc Fix #2724 - Fix /+ and few warnings 2015-06-30 12:36:13 +02:00
pancake
693ba387a0 Initial support for ESIL pins to emulate entire functions 2015-06-30 11:14:54 +02:00
pancake
d6cb2ae553 Fix #2834 - upgrade sdb 2015-06-30 00:21:55 +02:00
pancake
4afc585acd Add fuzzy backtrace algorithm and show function and flag info in dbt 2015-06-29 22:23:04 +02:00
pancake
45a83dc38a Detect Rust binaries in RBinLang for name demangling 2015-06-29 11:22:05 +02:00
Álvaro Felipe Melchor
ccef928dfe Fix some COVs 2015-06-28 20:15:35 +02:00
pancake
c6b0a5307f Add dbg.btalgo, remove dead code and fix null deref in previous commit 2015-06-25 16:40:39 +02:00
iessa s alkuwari
b439ba4dde backtrace improvements 2015-06-25 15:19:43 +02:00
pancake
df51cfc5aa Bump capstone and sdb 2015-06-25 12:07:20 +02:00
pancake
d436d16cd4 Honor asm.bits in the RBreakpoint API 2015-06-22 12:23:38 +02:00
pancake
73f4351fa3 Rewrite dm for iOS/OSX, still needs some cleanup 2015-06-22 03:10:56 +02:00
pancake
0427dbc04f Add /# command to search for blocks matching a hash 2015-06-22 00:22:18 +02:00
pancake
2b8e31592c Handle TARGET_OS_IPHONE and fix r_sandbox_system() issue 2015-06-21 12:47:09 +02:00
pancake
04a2718657 Add version field in plugins, and check it before loading 2015-06-21 10:09:12 +02:00
Riccardo Schirone
31099a3a54 util/graph: add DFS visit implementation and r_graph_del_edge/node 2015-06-17 11:22:10 +02:00
Riccardo Schirone
77a26237fe util/list: add some const to the API and adapt existing code 2015-06-17 11:22:10 +02:00
pancake
b10aa5a0a2 Initial support for loading Android ART binaries 2015-06-17 11:14:41 +02:00
pancake
4e1f7d2f0b Honor asm.esil in pij and make mangling types as masks 2015-06-15 05:04:57 +02:00
pancake
8d0b8c6b78 Add CS command to manage meta-spaces 2015-06-15 04:19:29 +02:00
Riccardo Schirone
b279f282ba Refactoring ascii art graph
util/stack: extend stack api with r_stack_size
core/graph: use RStack instead of a custom implementation
util/graph: change implementation to use lists and extend api
core/cmd_debug: avoid free r_graph_get_nodes
core/graph: rename some functions and use typedefs for graph struct
core/graph: use RGraph for the ascii art graph
util/list: add const whenever possible
util/graph: add const on r_graph_get_nodes/neighbours
core/graph,core/cmd_debug: use const
core/graph: clean the code (add comments, use const, remove magic nums)

* use r_graph_node_iter for the current node
* reset graph when reloading nodes
* on callgraph edges printing, nth should be 0
* force seek of current node when reloading nodes
* use graph_foreach_node
* core/graph: remove get_current_node because useless
2015-06-14 00:46:11 +02:00
Riccardo Schirone
177ee3ac56 include/r_types: fix R_NEWS0 calloc usage and use it in libr/util 2015-06-12 12:48:39 +02:00
Riccardo Schirone
49ebf0942c libr/util: reimplement graph api
libr/util/t/graph: add test
2015-06-11 22:53:48 +02:00
Riccardo Schirone
1be0105343 core/cmd_debug: use a tree instead of a graph to do trace call/ret 2015-06-11 22:53:48 +02:00
Riccardo Schirone
9558a2b7f8 libr/util: implement a tree
libr/util/t/tree: add test
2015-06-11 22:53:48 +02:00
Riccardo Schirone
c640e68e56 libr/util: implement a simple queue
libr/util/t/queue: add test
2015-06-11 22:53:48 +02:00
Riccardo Schirone
0b091a6c5f libr/util: implement a simple stack
libr/util/t/stack: add test
2015-06-11 22:53:47 +02:00
Riccardo Schirone
33a550aa23 core/graph: fix undefined behaviour in event_resize callback
* fix bug in VV introduced by f802bdf3b1
* code refactoring
2015-06-11 12:46:36 +02:00
pancake
5954f6e046 Fix #2716 - sdb, rmkdir and console issues on w32 2015-06-11 12:12:22 +02:00
pancake
f802bdf3b1 Add afg command to print non-interactive ascii-art graph 2015-06-11 03:55:15 +02:00
pancake
03aa69b261 Implement reverse rap for system() 2015-06-09 01:45:39 +02:00
Oleksii Kuchma
0c57a435fc Rewrite MZ bin plugin
* Add const modifiers, fix function call style
* Add checking and using dos_file_size
* Fix number of arguments in load_bytes.
* Add check for NE, LE and LX executables.
* Fix function declaration for btree_traverse.
2015-06-08 22:18:21 +02:00
pancake
9bbaa981b6 Initial import of r2web:// io plugin 2015-06-06 03:02:35 +02:00
pancake
d168388f5c Add pxrj command to show word refs in JSON 2015-06-04 22:58:08 +02:00
Riccardo Schirone
8cb35540c7 cons: use all the available space in the screen
* r_cons_get_size should return the number of rows, why is there a "-1"?
* the newline at the end of the canvas converted to string (in
  r_cons_canvas_to_string) make things shift up one line
* r_cons_canvas_write should consider "left" (which is the number of
  chars available from x until the right side of the screen) and not
  "left - 1". Moreover, since "slen" is at most the maximum number of
  characters that we can print in that row, there is no need to check
  if we can write those bytes
* r_cons_flush usually add a newline, but we shouldn't print it because
  otherwise everything will shift up by one line
2015-06-04 19:11:16 +02:00
pancake
2970b9817b Fix #2674 - merge diff into util 2015-06-02 01:35:12 +02:00
Judge_Dredd
264883a097 Refactor cons highlight 2015-06-01 21:58:07 +02:00
pancake
6756b88b0f Implement the triple-at operator @@@ for functions, regs, threads ... 2015-06-01 03:05:15 +02:00
pancake
c27327cac5 Fix #2648 - save restore arg/var name and type 2015-05-31 23:46:32 +02:00
pancake
22c9b3f0fe Fix #2628 flags offset hashtable issue and Fix #2607 ELF relocs 2015-05-29 00:51:57 +02:00
pancake
f8384feb6b Initial disassembler support for HP PA-RISC (from GNU binutils) 2015-05-28 11:24:31 +02:00
pancake
663cbb0455 Fix some warnings 2015-05-28 11:09:13 +02:00
Judge_Dredd
b190fff5e2 fix for #2314 and #2312 2015-05-28 00:28:25 +02:00
pancake
d25c520a18 Add pxr and pxd in px?. Initial PoC for mouse click support 2015-05-27 23:46:41 +02:00
pancake
a8d340ba89 Update sdb to fix a json segfault and capstone for arm64 2015-05-26 00:59:39 +02:00
pancake
de7ac04df1 Bump sdb to fix native mingw32 build 2015-05-24 23:30:13 +02:00
pancake
d727cebfbf Add Rust,Swift,C++14,.. dwarf detection and fix omf warning 2015-05-23 11:03:20 +02:00
ampotos
44fd8b2555 omf loader is working but in 32bits omf file the vaddr take the value of the paddr in sections and for both 16 adn 32 bits file vaddr is take as offset to pd command instead of paddr (or i misunderstand how it suppose to work) 2015-05-22 12:47:19 +02:00
Jeffrey Crowell
ed33e758e7 add rop.nx to toggle searching in nx pages 2015-05-22 01:05:00 -04:00
pancake
999f2d5de5 Add scr.atport option to enable old behaviour on linux 2015-05-19 00:18:14 +02:00
pancake
967067ea9c Refactor r2pipe API into r_socket and fix w32 build 2015-05-14 02:50:57 +02:00
pancake
c9d10560b9 Initial import of the r2pipe-io plugin 2015-05-13 12:39:51 +02:00
pancake
ff33afdbc9 Bump sdb again 2015-05-12 01:57:06 +02:00
pancake
e391645137 Bump sdb with lot of bugfixes 2015-05-12 01:53:47 +02:00
pancake
4ced532d69 Tons of fixes and cleanups to make the java tests happy 2015-05-11 18:23:38 +02:00
pancake
0697103f7d Fix #2536 - Implement ahS and fix ah in pd 2015-05-10 00:12:33 +02:00
pancake
bb76bb1794 Add asm.syntax=jz to convert je/jne into jz/jnz 2015-05-09 11:11:46 +02:00
pancake
3c99fc7ebc Handle f*pfx to list flags with base prefix r2 format 2015-05-07 12:12:55 +02:00
pancake
374a0541bf Fix #2488 - Implement date command honoring cfg.datefmt 2015-05-06 00:44:36 +02:00
Skia
1b99f7126e pf: add uleb128 support 2015-05-04 10:03:58 +02:00
pancake
8345811ccf Fix 'bin_strings buffer is too big' issue 2015-04-29 01:34:04 +02:00
Skia
e5d5a688dd Add variable length array in pf
Still doesn't work with flags
2015-04-27 09:36:32 +02:00
pancake
db7dd25920 Fix #2434 - Add INFINIT/NAN for non-c99 compilers 2015-04-25 04:22:44 +02:00
pancake
a572531e48 Update sdb 2015-04-22 05:32:43 +02:00
pancake
9392424e30 Fix #2397 and #2398 - honor syscall args in dcs on linux-x86-64 2015-04-18 10:35:57 +02:00
pancake
da9409d37a Fix #2397 - Honor syscall arg count in dcs 2015-04-17 23:30:35 +02:00
pancake
43dfbd9820 Initial (bugfix/PoC) for the pdc decompiler command 2015-04-16 06:44:48 +02:00
pancake
941306936e Bump capstone and sdb from git 2015-04-13 15:38:36 +02:00
pancake
f9d6ff2f2b Fix some travis warnings 2015-04-12 18:00:40 +02:00
Judge_Dredd
0ce2c0033c cons less chop lines to terminal width 2015-04-12 16:12:02 +02:00
pancake
acd5e4b999 Fix dalvik<->dex class and method name resolutions 2015-04-12 05:13:51 +02:00
Álvaro Felipe Melchor
35f573fe1f Fix memleaks in RCons.pal 2015-04-11 13:08:00 +02:00
pancake
882a0ee164 Add --without-fork and r_sys_fork() 2015-04-11 05:00:05 +02:00
pancake
6ab06a15ba Various fixes for DEX and Dalvik support 2015-04-11 04:33:37 +02:00
Sushant
1d89f7d799 ESIL to REIL Converter 2015-04-11 00:37:57 +03:00
condret
560e983d6a add basic interrupt-api for the esil-vm 2015-04-07 17:56:57 +02:00
ninjahacker
d1351cf836 Added initial zimg support 2015-04-06 22:31:06 -04:00
Anton Kochkov
a31e8e49f0 Fix termios for the MinGW32 2015-04-05 01:45:58 +03:00
Anton Kochkov
e1d2476822 Fixed r_cons.h if defined both CYGWIN and MINGW32 2015-04-05 01:39:05 +03:00
Anton Kochkov
0c9d3a9a29 Various Cygwin/MinGW fixes 2015-04-05 00:56:56 +03:00
Anton Kochkov
34ccb3dc21 Remove dependency from stdint.h in shlr/zip 2015-04-04 04:53:40 +03:00
pancake
3b4773d602 Add time.zone and time.fmt eval vars, honor zone in pt and correct PE gmt 2015-04-03 23:24:09 +02:00
pancake
3734f203a1 Fix #2258 - Add flagspace-push/pop and use regs flagspace int the debugger 2015-04-03 20:38:34 +02:00
pancake
52741016d8 Bump capstone and sdb to fix some w32-related issues 2015-04-03 18:53:49 +02:00
pancake
87162dc8bf Add wta support for appending dump. 2015-04-03 04:11:26 +02:00
pancake
efc7ebff17 Add prgi and prgo commands to get consumed and generated bytes at gunzip 2015-04-03 03:20:04 +02:00
karel-
1f72e3fd04 Added 'mkdir' command in r2 shell
Add 'mkdir' to radare_argv
2015-04-02 17:15:56 +02:00
pancake
7f1a3859b1 Update sdb and capstone (fix @maijin issues) 2015-04-02 11:28:42 +02:00
pancake
9f7767b3ab Update sdb from git fixing some issues 2015-04-01 02:07:29 +02:00
pancake
eb42823a51 Add esil.gotolimit to restrict the number of words to run after an esil goto 2015-04-01 00:38:24 +02:00
pancake
35baae988e Bump capstone, sdb and add node readme 2015-03-31 01:31:35 +02:00
pancake
43a7af0238 Fix graph flush issue 2015-03-31 00:45:57 +02:00
pancake
195df37634 Bump for SDB (0.9.6-git) 2015-03-30 18:02:11 +02:00
Jonathan Neuschäfer
6a3362ea9a Add a disassembler for Sharp LH5801 processors 2015-03-28 22:39:39 +01:00
Elias Boutaleb
8f8595b106 Fix #2207 add nice(2) support for rarun2 on UNIX 2015-03-27 11:14:18 +01:00
condret
26aeb9df52 fix #2245 2015-03-26 15:11:23 +01:00
pancake
dff11411cc RBinInfo is now dynamically allocated 2015-03-25 14:49:33 +01:00
pancake
14aa79eac9 Better disasm+code analysis for Dalvik 2015-03-24 00:08:48 +01:00
pancake
ebbe450f38 Fix r2 -c 'o-*;s++' - use-after-free and other from #2220 2015-03-23 00:32:31 +01:00
pancake
37a5f6d358 Honor RConsPalette in pxA, handle hex.onechar 2015-03-22 16:16:51 +01:00
pancake
47ebfa202d Initial implementation of r_lang_pipe and pipe-node.js 2015-03-19 02:48:44 +01:00
condret
19b2bb97f1 add 'im' command to show info about predefined memory allocation 2015-03-18 22:07:05 +01:00
condret
73e93b41cb extend bin-mem-api 2015-03-18 13:36:03 +01:00
pancake
5cd2165633 Initial implementation of Vt. Still not finished 2015-03-17 01:29:28 +01:00
pancake
d991769935 Better vars naming, Add e cmd.fcn.{new|rename|delete}
- Bump sdb from git
2015-03-16 02:52:26 +01:00
pancake
595db83d93 Add RBufferSparse API and sparse:// io plugin 2015-03-16 01:19:25 +01:00
condret
8306793713 add a struct and a field in the bin-plugins to allocate emulation-memory on esil-init 2015-03-14 03:47:35 +01:00
pancake
f53cb526cd Add r_str_utf16_encode and use it in isj 2015-03-14 03:47:34 +01:00
condret
6a4edf5398 don't close all maps when closing 1 fd, add r_io_open_at to RIOBind for esil-init 2015-03-12 20:51:07 +01:00
pancake
8ce2d14c8d Add CRYPTO OpFamily type and enhace x86.cs family/type a bit 2015-03-08 22:32:23 +01:00
pancake
f4ad6cd79d Add /Af support for RAnalOpFamilyPriv for privileged instructions
- x86.cs only atm, capstone support is still wip
2015-03-08 22:09:59 +01:00
pancake
0040f8cb44 JSONify PDB and remove useless function in r_util 2015-03-08 17:30:41 +01:00
condret
497cb814e5 add %s to the esil-vm/realize #2144 2015-03-07 03:05:18 +01:00
pancake
28d6c12043 V! -> V!!, VV(nofn) -> V!
- VV only opens if there's a function analized
- V! now opens the panels view
- V!! launches the 2048 game
2015-03-05 23:33:28 +01:00
pancake
7bda81d6d0 Add /A and s/A to search for opcodes of specific type.
-Add OP.Type.FPU and OP.Type.PRIV (wip)
2015-03-04 00:46:59 +01:00
Clément Vuchener
705e4d56bf Fixing arguments (bugs #1814 and #2117) #2143
Added proper escaping of command line
Creating a command line from arguments when debugging on Windows
Keep backslashes when not escaping a character
Assuming that the path of the binary should be in desc->name and not the command line in ptrace IO plugin
Print the backslash when it is at the end of the command line
2015-02-26 03:05:37 +01:00
pancake
5f9d275bb8 Support ELF ARM PLT and mark symbols as Thumb from RBin 2015-02-26 02:48:54 +01:00
pancake
2f7f72facd Add recursecont analysis option 2015-02-23 15:42:27 +01:00
pancake
ad80aba942 Initial support for debugger memory snapshots dms. Enhace hexdiffing
- Fix linux debugger
- ccc shows hexdiffing, but only the ones that differ
2015-02-23 03:29:40 +01:00
Aaron Puchert
43f240520e Rename x86.new assembler to x86.tab
This stands for "table lookup assembler".
2015-02-22 22:32:13 +01:00
pancake
4590039eb9 Bump sdb again 2015-02-22 17:14:20 +01:00
pancake
66ead9b96b Add ate command for the anal trace logs with ESIL (and backstepping)
- r2 -e dbg.trace=true -e anal.trace=true -d ls
> 10ds  # perform 10 steps
> ate   # show anal trace logs
> .ate `atek idx` # backstepping
> ate-* # clear logs
2015-02-22 11:40:55 +01:00
inisider
d4b9195b95 add detector of msvc and lisence comments 2015-02-19 22:49:44 +01:00
inisider
208aa0ce8a fix merged problems 2015-02-19 22:49:44 +01:00
pancake
e9a3fd96d2 Add prx command -hiew-like- 2015-02-19 12:29:57 +01:00
pancake
97e9c95b4b Add "pidfile" rule for rarun2 2015-02-18 01:10:46 +01:00
pancake
ae367b65be Add support for UNIX Character devices 2015-02-16 22:40:05 +01:00
pancake
33ba03e9c0 Implement pxh and pxH. Honor endian and value size in pxq/Q 2015-02-16 02:45:12 +01:00
pancake
d3ddbea631 Colorize node box 2015-02-15 21:48:46 +01:00
pancake
40edd608d1 Bring back the old edge style in the aa graph. Fix self loops 2015-02-15 21:34:12 +01:00
pancake
421dd1243f Obey scr.color in RConsCanvas from RCore.cmd("VV") 2015-02-14 04:50:29 +01:00
r0nk
7bf5f13ce6 Initial support for colors in RConsCanvas
started on cons_canvas color support. Still a bit buggy, working out the kinks.
Yanked my old line drawing algo from ward, still working on colors.
Still incomplete, Changed the way that attributes work, still lots of strange behavior, It appears that most attributes aren't where they belong.
still not finished. Ok now the lines and colors are working, but the colors are overwriting other sections. Working on preventing that.
colors are now working, but they are _so. slow._
woops, removed the debugging printf
Figured out the big evil function that has to be optimized, attr_at takes aprox 91% of the cpu, so he needs to be fixed
Signed-off-by: r0nk <r00nk@simplecpu.com>
Signed-off-by: r0nk <r00nk@simplecpu.com>
2015-02-14 04:18:43 +01:00
pancake
4c58ac2416 Initial implementation of p3 the 3D stereogram print mode 2015-02-14 04:17:34 +01:00
pancake
a5f53eae05 Initial implementation of asm.features on x86.cs and arm.cs 2015-02-11 03:50:56 +01:00
pancake
31e08131d1 Handle RBin demanglers from plugins and support D language 2015-02-11 02:05:22 +01:00
pancake
18c451f2c2 Add scr.wheelspeed and implement dynamic asm.lineswidth in scr.responsive 2015-02-11 00:13:54 +01:00
pancake
ebf85b56cb Initial implementation of Pn command for project notes 2015-02-10 02:13:53 +01:00
condret
b93d08ebb7 enable switching to vio at runtime 2015-02-09 23:17:05 +01:00
pancake
e0d7e3271d izj strings encoded in base64 instead of uri-encode
URI encoded is not designed to handle binary data, and some implementations
verify that the resulting string is an uri or not. So it may fail if it
contains : or / chars.
2015-02-09 01:17:42 +01:00
pancake
098d0ec1de Initial implementation of --without-gpl 2015-02-07 01:50:25 +01:00
pancake
1306b87112 Fix #2050 - Show commit counter in r2 -v 2015-02-07 00:14:55 +01:00
Aaron Puchert
0a2668d840 Wrote new x86 assembler
Supports only 32-bit for now and doesn't understand all mnemonics. And
we don't always choose the optimal opcode.
2015-02-05 16:05:20 +01:00
jvoisin
480d3c3c88 Fix some minor warnings 2015-02-05 13:07:25 +01:00
Skia
cf5057a229 pf: Implement unions 2015-02-05 02:30:20 +01:00
Nick Stephens
4f15eea06d Fix #1945 - Add wide string search to rafind2
Fix styling issues in r_search_keyword_new_wide
2015-02-04 03:28:28 +01:00
Skia
c78b0968d6 Refactor pf. Function is now more clear and readable 2015-02-03 11:50:45 +01:00
pancake
952469afed Bring back the DWARF 2015-02-03 10:08:21 +01:00
pancake
f2351636fe Fix r_cons_readline() signature and some code cleanup 2015-01-31 00:50:05 +01:00
pancake
a4cd6db606 Add anal.bbsplit (=true) fixing basic block split analysis
- Thanks @earada for reporting!

	$ cat /tmp/analbug.r2
	wx 5589e583ec04837d08027507b802000000eb0b8b4508890424e8d7ffffffc9c3
	e anal.bbsplit=true
	af
	afb
	# pdr

	$ r2 -qni /tmp/analbug.r2 -
	0x00000000 0x0000000c 12 j 0x00000013 f 0x0000000c
	0x00000013 0x0000001e 11 j 0x0000001e
	0x0000000c 0x00000013 7 j 0x0000001e
	0x0000001e 0x00000020 2
2015-01-29 23:27:18 +01:00
skuater
1ad95fd468 Implement PipeIO for WinDBG on Windows 2015-01-29 01:49:53 +01:00
pancake
039858fd86 Fix r2 -B, rabin2 -B, Implement oa command
- Now it is possible to load binfiles from debugger memory
* Base address is now honored properly. But it needs more testing
2015-01-29 01:45:39 +01:00
pancake
5064a640fa Initial de-grub-ization of r_fs. DOS partition parser
- Implement simple LGPLd DOS partition parser
2015-01-28 04:34:53 +01:00
pancake
570f62421f Remove io/haret plugins (moved to r2e) 2015-01-27 18:35:48 +01:00
condret
2828ca508c add alternative LGPL z80-disassembler 2015-01-27 18:33:03 +01:00
pancake
6de4e32000 Implement 'o=' command like 'S=' 2015-01-27 15:35:42 +01:00
XVilka
2558a42cf3 Fix cygwin 32/64 builds and visual mode 2015-01-26 19:55:12 +03:00
pancake
99d99aca14 Implement Pc command to show contents of a project script 2015-01-22 02:54:58 +01:00
NighterMan
9127695627 Add r_cons singleton refcount to fix history bug 2015-01-22 02:24:24 +01:00
pancake
d08015cf66 Add f--, fs-*, o--, enhace Po a lot
- Handle all internal information deinitialization in:
  - flags, io, core, bin, anal
- Fix w32 build
2015-01-22 02:22:29 +01:00
pancake
ac036b6301 Add Pd to delete projects, Remove rmrf util function, better project file checks 2015-01-22 00:30:19 +01:00
pancake
c8a5b8049c Implement Pl and Plj commands to list project files 2015-01-21 23:47:49 +01:00
pancake
d76d7c1163 Fix memleak related to r_list_join() responsabilities 2015-01-21 13:33:52 +01:00
pancake
546d5d2070 Disable monotonic clock in sdb to fix build on some linux distros 2015-01-20 21:44:23 +01:00
pancake
b7c3ded3b9 Fix #1975 - Replace flags in ${} for ?e 2015-01-18 02:17:55 +01:00
pancake
03ab85d632 Show all flags in disasm on every offset 2015-01-17 01:56:20 +01:00
jvoisin
cfe74d9aac SImplify a bit asm.pseudo 2015-01-16 02:34:35 +01:00
Jeffrey Crowell
1fc3a177f6 Separate fortunes to fortunes.{fun,tips,nsfw}
add `e cfg.fortunetype = fun,tips,nsfw`

Add some "legacy" nsfw fortunes.
2015-01-15 10:43:09 +01:00
skuater
9b4044046e Handle arrow and page up/down keys on W32 2015-01-14 23:31:29 +01:00
pancake
4addf6d538 Show strings in drr, Add ios syscalls and fix x86-32 debug on osx64 2015-01-14 02:00:55 +01:00
jvoisin
a8937732b8 Fix all 'warning: function declaration isn’t a prototype [-Wstrict-prototypes]' 2015-01-13 03:40:35 +01:00
jvoisin
e3dbefc898 Fix some stupid warnings in md5-related code
"PROTOTYPES should be set to one if and only if the compiler
supports function argument prototyping. [...]".

Hello time-traveller, welcome to the previous century. I heard
that in your modern times, compilers are supporting
_function arguments prototypiing_, is that true?
2015-01-13 02:51:45 +01:00
jvoisin
4fd6ce62d5 Fix some gcc warnings 2015-01-13 02:07:44 +01:00
pancake
3b3fa3584f Initial implementation of asm.reladdr 2015-01-12 00:11:06 +01:00
pancake
4c6e2f129c Add rabin2 -F and r2 -F to force the use of a specific rbin plugin 2015-01-11 19:40:26 +01:00
pancake
c61368a0f3 Add support for asm.pseudo and asm.varsub for ARM and ARM64 2015-01-11 01:48:20 +01:00
pancake
d32c7d8f80 Initial support for ARM and ARM64 nopskip with invalid instructions 2015-01-10 03:21:27 +01:00
pancake
75c322b613 Add bin.lang, rabin2 -D and iD commands to demangle from commandline
- Fix some warnings in windbg
- Minor fix for ARM analysis (wip)
2015-01-10 01:00:01 +01:00
pancake
7aa5ae27c5 Fix w32 console line limit issue, some fixes for wine console 2015-01-09 12:47:40 +01:00
pancake
4825bb815c Remove psosvm from master repo (moved to radare2-extras) 2015-01-03 02:27:29 +01:00
pancake
1afd12e89b Remove yara (moved to radare2-extras). Installable via sys/yara.sh 2015-01-03 02:21:49 +01:00
pancake
ded8790518 Initial support for Swift symbol and imports demangling 2015-01-02 04:32:53 +01:00
pancake
0d7c08ca81 Implement search.maxhits 2014-12-23 00:33:09 +01:00
pancake
b15e1b9606 Add experimental agf to compare two functions from the same file #1894 2014-12-22 11:04:12 +01:00
pancake
11220f0c17 Add missing header defintions for r_io_wundo_apply|_all 2014-12-22 02:27:05 +01:00
pancake
55f0c74dd8 Avoid doing searchs when searching (thanks maijin) 2014-12-22 01:00:31 +01:00
pancake
9a5a39a804 Add oj and o*, to list opened files in JSON and r2 commands 2014-12-19 13:46:04 +01:00
pancake
559c2cd25a Add '!' inside '#!' and make r_core_editor accessible from r_cons_editor. 2014-12-19 03:17:28 +01:00
Skia
4a8d7e6875 Refactor cmd_print_format into r_print_format
* Enable nested specific fields access for reading and writing
* Fix pf: json regression
2014-12-17 11:34:54 +01:00
pancake
2369e0aebb Add RAnal.cur.esil_trap () 2014-12-15 00:36:02 +01:00
pancake
acb4037383 Fix warnings 2014-12-14 23:08:05 +01:00
pancake
b7a8af83dc Fix varsub build (fix inter-module dependency issue) and catch overflow 2014-12-14 02:10:55 +01:00
Alvaro Muñoz
a6b34c4d53 Fix #1819 - Better var disasm and management. var subst in disasm is back 2014-12-14 01:51:55 +01:00
pancake
31d1ec7349 Implement r_file_dirname and support DOS paths in r_file_basename too 2014-12-12 13:59:39 +01:00
pancake
6d309e2c5e Implement dko for Linux. Enhace the command and support SKIP and CONT options
- Can continue into the signal handler
- Can skip the instruction and ignore the signal handler
- By default it will just stop in there
2014-12-12 00:34:53 +01:00
inisider
155997598f Add initial support to download PDB files (NodeJS helper) 2014-12-10 17:01:32 +01:00
pancake
0215b38bd3 Initial anal.cris implementation 2014-12-09 01:28:37 +01:00
Alvaro Muñoz
dc5da0898b Fix #1732 and #1735 - uses 'ec gui. and ai.' prefixes 2014-12-08 23:48:42 +01:00
pancake
274f22001d Add initial support for CRIS cpu as suggested by LolyRoP 2014-12-07 23:18:22 +01:00
trndr
e6103f79d0 Add delayline support for esil steping 2014-12-07 19:33:10 +01:00
LemonBoy
3b9164c04c Initial WinDBG support 2014-12-07 19:32:45 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
pancake
8827dd2451 'ao'->family is now a string 2014-12-02 00:37:35 +01:00
pancake
3a31198ffd Fix #1702 - Revert and fix the dwarf/dex crashes related to uleb overflows 2014-12-01 23:44:20 +01:00
pancake
e35d55e18a Add initial support for Pebble apps 2014-11-30 16:53:36 +01:00
pancake
7b94826079 Add anal.afterjmp and fix esil for ARM LDR+PC instructions 2014-11-27 11:42:12 +01:00
pancake
64ad0a40de Add anal.maxreflines option for faster pd
[0x00404845]> e scr.null=1
	[0x00404845]> ?t pd 6999
	4.239001
	[0x00404845]> e anal.maxreflines=100
	[0x00404845]> ?t pd 6999
	1.014379
2014-11-26 01:12:54 +01:00
pancake
54d72a0e40 Fix #1502 - Add io.sectonly
We may probably want to merge this feature into different io.va modes
2014-11-24 00:41:20 +01:00
pancake
bcf7d46e36 Fix #1726 - ESIL brainfuck is back (and fix io.maps test case) - Thanks @trndr 2014-11-23 22:44:38 +01:00
pancake
654b5167a4 Add 'pid' directive to rarun2 to display the PID of the spawned process 2014-11-22 03:00:31 +01:00
pancake
af94293214 Fix static linkage 2014-11-22 02:26:30 +01:00
pancake
23776435a2 Fix #1714 - Add ~{} and ~{}.. RCons filters for JSON indentation 2014-11-22 01:51:51 +01:00
pancake
9a0d62da22 Finally remove the void*debug pointer from RIOPlugin (use bool isdbg) 2014-11-21 11:36:51 +01:00
pancake
5219e86071 Fix #1694 - Fix dcs after ds 2014-11-20 01:30:37 +01:00
pancake
bfbf336a22 Fix #1691 - Add comments, xrefs and flags in pdj
jump lines should be done in the client side. all the
information required to do the lines is in this json.
2014-11-20 01:14:47 +01:00
pancake
5e236429c7 Implement ^Z in RCons for prompt and visual modes (unix only) 2014-11-19 22:25:17 +01:00
pancake
41b6f99ec1 Revert "Fix several crashes in dalvik. Thanks nightmare!"
This reverts commit f6440fc526.

Conflicts:
	libr/bin/dwarf.c
	libr/bin/p/bin_dex.c
2014-11-19 12:14:23 +01:00
pancake
b7e1dc4354 Fix #1698 - dr rflags=cpz is now supported 2014-11-18 17:22:43 +01:00
condret
c80c68dd43 add disassembler for i4004 2014-11-18 15:50:06 +01:00
pancake
d020f7cee4 Random fixes for #! and #!vala 2014-11-17 23:23:53 +01:00
LemonBoy
832adcd557 Make the bp api slightly saner 2014-11-17 16:24:26 +01:00
pancake
f8586e686d Update SDB and remove wip sdb helpers from core-anal 2014-11-14 15:49:34 +01:00
pancake
6d4529ffbf Add core.anal plugin a2f command. Fix a bug in x86.cs, align comments at right 2014-11-13 03:36:48 +01:00
pancake
c17488dbb0 more build fixes 2014-11-10 16:48:50 +01:00
pancake
2482d569e4 Use capstone sparc by default and better ppc disasm 2014-11-10 16:47:03 +01:00
pancake
af8326bd3d Use capstone by default for POWERPC and do some more fixes in anal 2014-11-10 16:22:09 +01:00
pancake
1341cd7b7a Fix build 2014-11-10 11:28:34 +01:00
pancake
40f202c7ee Fix issue bad string filtering in PDB symbol names 2014-11-09 18:11:03 +01:00
pancake
67af5b7619 Add /* and */ commands to handle multiline comments 2014-11-08 00:45:31 +01:00
pancake
d973a5d2e6 PDB honors rabin2 -B and -r 2014-11-08 00:23:04 +01:00
pancake
ccffbeb9c8 Fix #1567 - Show error when trying to divide by zero 2014-11-07 12:16:29 +01:00
pancake
b736119a4a Colorize S=, Add anal.gp and better op.refs for mips and x86
- Add anal.gp to make mips.cs code analysis happy
- S= honors scr.color
- Fixed x86(capstone,udis) memrefs for mov/cmp
2014-11-07 03:48:27 +01:00
pancake
87273cf144 Initial commit enhacing disasm with aop.ref and aop.refptr (x86.udis only atm) 2014-11-07 00:41:29 +01:00
pancake
8c43eddaa2 Honor io.va and scr.width in S= 2014-11-06 03:02:38 +01:00
pancake
f6440fc526 Fix several crashes in dalvik. Thanks nightmare! 2014-11-05 00:15:40 +01:00
pancake
cab0c6ae49 Fix crash in r_utf8_decode 2014-11-04 23:17:52 +01:00
Fedor Sakharov
277f2e8a68 Add symbol reference to RBinReloc and print it in disasm 2014-11-04 13:59:54 +01:00
pancake
1eccc191e0 Fix the r2 -d oo issue with more referer fields 2014-11-04 10:30:28 +01:00
trndr
567bcd39f1 Add bigendian register byteswap 2014-11-04 02:17:35 +01:00
pancake
4790375679 Random enhacements for RHex apis and relocs 2014-11-04 02:16:40 +01:00
pancake
3c6ae9ed33 Add r_io->referer 2014-11-03 10:47:02 +01:00
pancake
84070a45f6 Implement anal.{limits,from,to} 2014-11-03 04:12:12 +01:00
pancake
1e3e97f2fb More and better support for tasks. Add anal.sleep to avoid 100% cpu in analysis 2014-11-02 02:01:09 +01:00
pancake
6a6290a4da Implement Sdb in RDebug.Traces. O(n) vs O(1) in pd with asm.traces=true 2014-11-02 01:21:45 +01:00
pancake
e5461c14ce Fix COV#1250308 and COV#1250307 2014-11-01 10:52:22 +01:00
pancake
abb3690c3a More fixes for the &Task command 2014-11-01 05:18:37 +01:00
pancake
8e29c0ef9d Initial implementation of the & command. Bump capstone 2014-11-01 04:46:33 +01:00
Skia
897cdcd45c Add pfs to print struct size 2014-11-01 04:23:51 +01:00
inisider
230bb508a5 Add support of RBuffer instead of FILE
use r_buf_seek and r_buf_read
2014-10-31 02:01:01 +01:00
pancake
211688f537 Handle bp.cmd and RBreakpointItem->cmd in RDebugContinue (bps and traces)
- Add scr.echo
2014-10-30 22:58:51 +01:00
pancake
e8140ab8bf Add r_buf_seek() 2014-10-29 22:53:51 +01:00
pancake
92b167bbdd Add r_buf_read/write methods using CUR, fix some more warnings 2014-10-29 22:12:16 +01:00
skuater
c7e0681b38 add support for dbe* / dbd* / dbte* / dbtd* 2014-10-28 17:07:48 +01:00
pancake
ef35aaaa7e Add support for indexed breakpoint management 2014-10-28 11:14:30 +01:00
pancake
8430ff1dba r_bp_get -> r_bp_get_at // .. r_bp_get_in 2014-10-28 02:28:58 +01:00
pancake
ff03dfdadc Initial implementation of 'pxr' 2014-10-27 17:23:13 +01:00
pancake
8c49c1f10d Add palete colors for address info numbers in pxw/pxq 2014-10-27 11:55:52 +01:00
pancake
ae0758e399 Implement 'drr' to show debug register references (rfc) 2014-10-26 19:10:07 +01:00
Skia
dc8e1ba712 Make pfj (JSON output) 2014-10-26 02:47:34 +02:00
pancake
bf3c739d75 Fix crash for gdb:// to qemu-arm
- Fix some JamFiles
- Add config.getter callbacks
2014-10-26 01:30:17 +02:00
pancake
25927e0b60 Implement PEDA-like colors for addresses in pxw and pxq
- Uses 'ai' command to get address information
- We need to define new color palete entries for them
- We now have colors for: code, data, rodata, ascii, sequence
2014-10-24 21:31:46 +02:00
pancake
e807868b78 Honor rabin2 -N minstrlen for -z,-zz,-zzz 2014-10-24 20:13:18 +02:00
pancake
131b9092c2 Implement rabin2 -zzz (dump strings to stdout, works on huge files) 2014-10-24 18:26:37 +02:00
Anton Kochkov
56d04cf0b3 Fix building bindings 2014-10-22 15:11:42 +04:00
condret
c8c276f2cd add r_io_map_list 2014-10-22 11:04:37 +02:00
pancake
3435dc2bb5 Implement bin.maxstr and handle it from rabin2 -N min:max 2014-10-21 04:39:37 +02:00
pancake
51121e9c9b Make anal.eobjmp an option for testing different analysis rules 2014-10-20 23:13:38 +02:00
condret
43e8d3ab0e add r_io_reopen 2014-10-20 13:34:04 +02:00
pancake
3a9a733ebf Implement rax2 -F (r_stdin_slurp(), r_hex_from_c())
- Update rax2 manpage
2014-10-20 00:46:59 +02:00
pancake
feb2e03bef PDB: errors to stderr, messages to rcons and use RSandBox.fopen()
- Fix some indentations
- Fix an overflow in filename
- Use R_FREE instead of handmade alternative
2014-10-18 19:49:56 +02:00
inisider
04a8ad1e7d remove warnings PDB, null ptr checks and add print of ENUM 2014-10-18 19:49:36 +02:00
inisider
621d757487 rabin2: add pdb print infortmation option
Conflicts:
	binr/rabin2/rabin2.c
2014-10-18 19:49:26 +02:00
inisider
d547b037c9 Initial implementation of the PDB parser
* Contains 78 rebased commits

- add R_PDB struct
- add implementation of init_pdb_parser()
- add stub for init_pdb7_root_stream()
- add init_pdb_stream() function
- add functions for working with stream_file
- do fixes for stream_file_read
- add getting of sizes
- save streams to rlist
- add light implementation of read_root function
- add stubs for parsed_pdb_stream_init
- add parsing of pdb info stream
- start of parsing tpi header
- add stub for tpi stream
- fix stream file read. +stubs for eFIELD_LIST
- add parsing of lf_enumerate
- add parsing of lf_nesttype()
- add parsing of LF_METHOD
- add parsing of lf_member
- add some additional parsing of types
- fix some memory leaks
- add support of LF_METHOD and LF_MEMBER
- add support of LF_NESTTYPE
- add support of LF_ENUM
- add parsing of lf_structure
- add parsing of lf_pointer
- start of lf_array implementation
- back implementation of lf_array
- add implementation of LF_MODIFIER
- add implementaion of lf_arglist
- add implementaion of lf_mfunction
- add useful macros
- add implementation of lf_procedure
- add implementation of lf_union
- add free of sval and printf name of sval
- add implementation of LF_BITFIELD
- add implementation of LF_CLASS
- add implementation of LF_VTSHPAE
- start of refactoring
- finish refactor of the code
- fix memory leak issues
- some refactor of memory managment
- fix memory managment
- add supprot of ushort type
- add function for printing type name and value
- add API for getting leaf types members
- refactor of SType and STypeInfO
- add implementation of get_name/val/... for new types
- fix cast in some function of getting name, val, etc
- add stubs for resolving type
- add pointers to function for getting types
- add connections for types function pointers
- add stub for printing structures
- update memory manadgement and fix some problems in API for working with types
- add process of result from init_pdb function
- print more info about structure
- refactor of printing structure info
- Revert of 9fa8e7083cf30b5fda38f5816e903effeaa66701

refactor structure info printing

more pretty print

refactor code

add parsing of dbi header

add structure stabs for dbi stream

add parsing of dbi_ex_headers

add free for dbi stream

finish parsing of dbg stream

add stubs for streams from dbg stream

add fpo parsing

add free for fpo stream and do some refactor

add parsing of gdata stream

add parsing of pe stream

add parsing of fpo new stream

add fpo new stream

add omap stream parsing

add implementation of printing gvars

add setting parameters for pdb_parser

delete unused comments

delete unused comments
2014-10-18 19:49:22 +02:00
pancake
718e175892 Add $p for getpid(), hide UNKNOWN refs, 'cat' works with bigger chunk if unknown size 2014-10-18 00:25:55 +02:00
condret
051de62f9e add r_io_desc_list (possibly useful for bughunting) 2014-10-17 18:31:59 +02:00
pancake
4ba808e637 Handle x86 prefixes on x86.cs plugin 2014-10-17 14:40:14 +02:00
pancake
cc8566b671 Add RAnalOp.prefix and handle it from x86.udis, Colorize 'ao' 2014-10-17 01:15:17 +02:00
pancake
1c583a4b39 Added 'oob', 'oon' and 'oo?'. Close RBinObjects with RCoreFiles 2014-10-17 00:36:00 +02:00
pancake
da866539ee Fix 'oo' bug (sync rcorefile and riofile lists), Better 'ob' 2014-10-17 00:04:52 +02:00
pancake
2ed4c7ad1a Attach IO to new pid with =!pid when doing dpa pid. Add program|library to 'ai' 2014-10-15 16:05:47 +02:00
pancake
42232354a7 Add 'ai' - address info, Enhace 'ad' (support patterns and sequences)
- ai shows: exec,read,write,flag,func,stack,heap,reg
- Add r_reg_regset_get()
- Implement r2.cmdj in r2.js
2014-10-15 02:24:22 +02:00
pancake
676ed9e861 Add 'afC' for calling convention changes in function definitions 2014-10-14 17:09:42 +02:00
Fedor Sakharov
0b9abbd87a Move arch headers from ./lib/include 2014-10-14 14:24:22 +02:00
pancake
13e504fd60 Use more SDB into rsyscall module 2014-10-13 05:02:24 +02:00
pancake
fb8336f7d0 Add dbg.{forks|clone|execs} ptrace options (linux-only atm) 2014-10-09 01:21:49 +02:00
condret
65d8b20d05 RCoreFile-reduction: kill RCoreFile->rwx 2014-10-08 13:29:47 +02:00
pancake
fb1cd1f017 Implement search.in=maps and mapsrange 2014-10-08 01:35:36 +02:00
condret
4c07f86bd5 rename mode to flags and add a few check to prevent NULL-ptr-deref 2014-10-08 00:47:13 +02:00
pancake
67acee60f9 Better 'wc' command and cache/history capabilities 2014-10-07 02:52:47 +02:00
condret
9297d3d688 kill unused RCoreFile->seek 2014-10-02 01:56:26 +02:00
pancake
bdb7acc873 Refactor r_debug_pid_list() a bit 2014-10-01 21:39:28 +02:00
condret
4f70c1bf89 kill RCoreFile->size 2014-09-30 15:31:19 +02:00
pancake
d2ab437af4 Fix #1459 - rabin2 -g crash 2014-09-30 12:12:34 +02:00
pancake
baf3145598 Use dynamically allocated buffers for RSearchKeywords 2014-09-30 12:04:02 +02:00
pancake
95bb7bb74e Define and use R_NOTNULL in RBinPlugin.load_bytes 2014-09-28 01:43:08 +02:00
Jonathan Neuschäfer
5280575d49 Add anal.null, a new fallback analysis plugin 2014-09-28 01:03:53 +02:00
pancake
cde83cfd0c Add many experimental enhancements for the visual debugger
- V@ is an alias to set cmd.vprompt
- New config variables!
  stack.size = size of stack displayed in Vpp
  stack.delta = substract that delta to the stack address
  stack.anotated = use pxa instead of pxw
  scr.highlight = word to highlight by RCons
  hex.flagsz = override flag size in pxa
- Fix x86 udis anal plugin size of invalid instructions
- Fix 'hud file not found' issue
- Add 'Vdh' to set scr.highlight
- Fix V: wheel scroll issue
- Realign pxa marks if addr > UT32_MAX
- Set hex.flagsz = 9999 to cover the whole area instead of just 1 byte
2014-09-27 03:48:54 +02:00
Jody Frankowski
df289d8611 Unify fcn_find and get_fcn_at in get_fcn_in and get_fcn_at 2014-09-26 17:16:28 +02:00
pancake
bd618dccf2 Implement RFlagBind and use it from RAnal. Add 'ask' command 2014-09-26 14:24:33 +02:00
pancake
a0e609e40d Fix ARM swstepping and breakpoints, add dbg.bpsize 2014-09-26 13:57:03 +02:00
Fedor Sakharov
2b0009b858 msp430: Initial commit 2014-09-25 21:46:57 +02:00
condret
ab4a5c9632 deprecate RCoreFile->uri 2014-09-25 18:18:07 +02:00
Alberto Ortega
de73ac8670 Add Nintendo DS ROM loader plugin 2014-09-25 00:04:37 +02:00
pancake
710b97610b Properly honor asm.demangle for symbol names 2014-09-24 11:37:59 +02:00
pancake
0931f502ed Implement asm.demangle and bin.demangle, add 'fn' to display realname of flags 2014-09-24 03:01:18 +02:00
pancake
2b313c832b Add asm.maxrefs to display xrefs in columns if they are too many 2014-09-23 10:15:19 +02:00
pancake
09a43efc8d Reimplemented and working RAnalFcnLocal as RAnalFcnLabel in Sdb 2014-09-23 09:37:21 +02:00
pancake
932279ed7e Initial work to disable FCN_OLD. 2014-09-23 00:40:35 +02:00
pancake
7e1875e4ff Fix some warnings 2014-09-22 19:45:14 +02:00
pancake
b0b16a7318 Allow af and df to resize+ redefine new function (anal testing) 2014-09-22 15:00:41 +02:00
pancake
342ff7ba4f Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries 2014-09-22 13:45:36 +02:00
pancake
1306653d4a Working with 'afa' and 'afv' again. Updated sdb for some goodies 2014-09-22 04:22:47 +02:00
pancake
196cfd0534 Initial major cleanup of the RAnal module 2014-09-22 01:39:24 +02:00
pancake
d6aeae624f Implement te,tb,tk and pf E, pf B to handle enum and bitfields 2014-09-21 01:39:18 +02:00
deeso
55fe0a9e9a Added command that 'bruteforces' the parsing of a class file in a blob of data 2014-09-20 19:46:21 +02:00
pancake
ac22f9e25c Fix several COFF parsing crashes. Bring back /B 2014-09-20 19:28:56 +02:00
pancake
fc2bb2af7f Fix 4GB issue file and some more warnings 2014-09-20 15:53:29 +02:00
pancake
4c4173769b Revert "Fixing the issue where file size exceeds size of an integer":
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
condret
977c3834a2 add r_io_is_valid_offset and r_core_is_valid_offset 2014-09-18 21:28:02 +02:00
Jonathan Neuschäfer
4f7526d721 Add "const" in two places 2014-09-18 18:56:57 +02:00
Fedor Sakharov
0592964fe9 propeller initial commit 2014-09-18 18:51:24 +02:00
condret
11692a7a62 deprecate r_core_sync_view_by_fd 2014-09-18 18:27:38 +02:00
Adam Pridgen
135c62fb5d Fixing *most* warnings related to the change in r_file_slurp 2014-09-17 22:37:54 -05:00
deeso
3adb00621b Fixing the issue where file size exceeds size of an integer 2014-09-17 23:53:25 +02:00
Skia
f21748d465 Make the code cleaner and more readable in pf 2014-09-17 15:58:38 +02:00
condret
f4a1b0a3bd fix #1366 and make r_io_close keeping the current desc if it does not get close 2014-09-16 23:12:37 +02:00
pancake
058cae62f2 Set new separator for nested struct in pf 2014-09-15 22:56:31 +02:00
pancake
3b69dae924 Initial implementation of /E esil search engine 2014-09-15 17:13:33 +02:00
pancake
8be98f3d82 Use () instead of [] for casting nested structs in pf 2014-09-15 00:36:49 +02:00
Jody Frankowski
f227d254cc Add a flirt signature parser, scan and dumper. 2014-09-14 18:25:58 +02:00
pancake
a7395d5afc Add anal.nopskip config var 2014-09-14 11:52:30 +02:00
pancake
7029eab6af Enforce register arena, better fit size. Fix native mips reg profile size 2014-09-14 02:52:30 +02:00
pancake
63f00d0b0f Implement working ESIL backend for Brainfuck. Requires manual init 2014-09-13 02:24:50 +02:00
LemonBoy
61eaa5cafc Settle the pointer ownership issue once for all 2014-09-13 00:30:15 +02:00
Jonathan Neuschäfer
8d13b40365 r_asm.h: slightly clarify a comment 2014-09-13 00:17:37 +02:00
condret
9621db0985 update hook_flag_read
Conflicts:
	libr/anal/esil_stats.c
	libr/include/r_anal.h
2014-09-13 00:08:36 +02:00
pancake
e4479dec04 Initial implementation of 'afna' (auto function name guess) 2014-09-12 03:17:02 +02:00
condret
9ea7df3b67 implement r_io_mwrite // yum yum copy-pasta 2014-09-11 18:35:09 +02:00
pancake
8110fefc9f Implement aek, aef, Add scr.responsive, esil.status and esil.romem config vars
- Features scr.responsive
- Fix a bug in rarun2 when using a profile
- Update sdb to fix another null deref
2014-09-11 04:18:23 +02:00
condret
ec3df92770 kill r_core_file_t->filename 2014-09-09 17:02:25 +02:00
LemonBoy
7833b0427d Rewrite register profile parser to make it cleaner and more robust
- Make all the reg profiles heap-allocated for consistency
- Fail gracefully when the profile has errors
- Minor fixups
2014-09-08 17:41:22 +02:00
pancake
7fde96ea63 Add some header structs for MACH0 and fix some for ELF (rabin2 -rk '' related) 2014-09-08 12:20:50 +02:00
pancake
071578cb80 Fix 'pxa' disco-mode problems 2014-09-08 01:33:50 +02:00
condret
7ce6922491 rename r_io_open -> r_io_open_nomap and add a new r_io_open that creates a map at 0x0 2014-09-06 23:08:16 +02:00
condret
4ebeeff986 add r_io_open_at 2014-09-05 16:53:51 +02:00
pancake
30acdbf50c Refactor debruijn code and make it accessible from ragg2 -P 2014-09-05 16:03:40 +02:00
Jody Frankowski
f930a97adc Unify gzip and zip 2014-09-05 15:12:40 +02:00
pancake
30ca7913c6 Initial import of the io.gzip plugin 2014-09-05 14:47:35 +02:00
Jody Frankowski
8e3d7e045d Add support for both zlib and gzip streams 2014-09-05 14:10:00 +02:00
condret
aa318b4216 extend the io api and fix a bug in vio 2014-09-04 15:49:34 +02:00
condret
63718ae9c6 implement r_io_pwrite and vio debug define 2014-09-04 00:41:07 +02:00
pancake
801ba5c232 Some warning cleanup 2014-09-03 23:57:28 +02:00
pancake
b782b0d90a Implement 'axf' and 'axt' xref utility commands 2014-09-03 23:40:57 +02:00
pancake
e161a915dd Fix #1276 - Extend 'Vd' to support more types #1276 2014-09-03 10:26:41 +02:00
pancake
327104086f Add 'aff' command to fit function boundaries. Used after 'aa' 2014-09-02 02:43:19 +02:00
pancake
9469edae83 Properly handle the background webserver isolated environment 2014-09-02 00:56:28 +02:00
pancake
ecb8357401 Implement TODO, GOTO and BREAK statements
Infinite loop detection hardcoded to 457 as discused on IRC
2014-09-01 23:26:01 +02:00
pancake
87354f8050 Undef ESIL after use it in .h 2014-09-01 19:45:24 +02:00
pancake
0d620bd37f More native mingw32 fixes 2014-09-01 15:50:04 +02:00
pancake
734d22f214 More fixes for mingw32 2014-09-01 15:25:32 +02:00
pancake
663d7c1bc3 Update sdb. Fixing native mingw32 in theory 2014-09-01 11:44:57 +02:00
pancake
64245f1be8 Add 'fa' command to support flag aliases 2014-09-01 02:24:38 +02:00
pancake
6231f00a2b Minor typedefication in .h function definitions 2014-08-29 18:45:14 +02:00
pancake
8204e78c3f Fix RBin & RLang related crashes (fix lot of memleaks and dblfrees) 2014-08-29 16:27:44 +02:00
defragger
07c92d2d70 adds malloc and dealloc for windows 2014-08-29 12:15:52 +02:00
pancake
c6bc6f099d Rename l to T, add cfg.user and 'TT' chat prompt
* Add cfg.user variable
* Implement TT chat prompt
* Invoked from 'VT'
* Rename 'l' to 'T' command (log -> textlog)
* Add r_sys_whoami () -> set default username
* Add $$ trap instruction in ESIL
* Implement POP and STACK esil commands
2014-08-28 03:11:13 +02:00
jvoisin
0eac424bed pxa now uses random colours 2014-08-27 23:08:32 +02:00
Skia
384dcb4f45 Add support for nested structs in pf 2014-08-26 16:45:25 +02:00
pancake
9c536de095 Initial implementation of 'prl' 2014-08-26 03:53:01 +02:00
pancake
3cfeec1d4e Fix r2 -B .. sets bin.laddr and honors va=2 2014-08-25 03:45:11 +02:00
pancake
2eefd8908e Add r_cons_is_utf8 () and use it to setup scr.utf8 on non-quiet mode 2014-08-25 03:26:02 +02:00
pancake
cda3d9c44b Update sdb and workaround all sdb finalization issues until proper fix is done in Sdb 2014-08-25 01:10:10 +02:00
pancake
ba2a1e0edd Deprecate RAnalOp.eob 2014-08-24 14:35:15 +02:00
pancake
b4715d4e50 Fix R_BUF_CUR definition 2014-08-24 13:09:12 +02:00
jvoisin
44ac7ec2a4 Implement backward disasm for most commands and remove pdn 2014-08-24 03:21:06 +02:00
pancake
9730c651a2 Fix pdj/pDj 2014-08-22 00:39:31 +02:00
jvoisin
9f18c219a6 Optimize radiff2 -g off1,off2
- Less than one sec now versus more than 15 before
- Code is cleaner (no more "r_core_cmdf")
- Colours are now correct
- Fix `radiff2 -C`
2014-08-20 03:51:10 +02:00
condret
6370f24a0a the cpu-thing 2014-08-19 16:40:27 +02:00
pancake
2a2e25114c Implement 'fc' command to set color to flags. Useful for 'pxa' 2014-08-19 01:47:02 +02:00
jvoisin
524ac829fc Remove unused r_alloca_* 2014-08-18 02:36:08 +02:00
pancake
a661d916e4 Add r2 -0 to make interactive pipe handling nicer 2014-08-17 02:54:10 +02:00
Jody Frankowski
c8af9cb1cd Rename prefix to namespace 2014-08-17 02:20:28 +02:00
Anton Kochkov
ab1a7e992b Fix Mingw32 building, again 2014-08-15 16:51:51 +04:00
pancake
13872af7bc Implement rabin2 -K and do some work on the RHash api. Fixes #1204 2014-08-15 03:30:45 +02:00
pancake
b717518f8f Fix some warnings 2014-08-15 02:04:20 +02:00
deeso
684b459c20 Bug in the code flipped jump and case value of the switch op, remove dangling in_switch key, and add a formal "case" op-type
and changed some strings back to "static" from "R_API"
2014-08-13 03:12:23 +02:00
jvoisin
2c4feb1094 Fix more gcc warnings 2014-08-11 17:52:32 +02:00
pancake
a6ad71eccb Implement '/B' to search for known RBin headers 2014-08-11 03:48:51 +02:00
condret
66ed220b26 rename anal_esil_get_parm 2014-08-10 21:41:11 +02:00
pancake
504f006d5d Fixes more gunzip support in r_util 2014-08-10 18:24:00 +02:00
pancake
ac0922861e Add 'dsue' command and extend ESIL api to handle debugger conditions 2014-08-08 18:20:40 +02:00
Anton Kochkov
1fb6d05480 Fix MINGW32 builds on some systems 2014-08-08 19:39:50 +04:00
condret
fd3271b3f7 integrate RAnalEsil into RAnal 2014-08-07 14:43:46 +02:00
condret
7dbb07cb46 Add support for custom ESIL ops 2014-08-06 19:12:43 +02:00
Jody Frankowski
b9e4a575cb Add yara <tags> command 2014-08-06 00:47:19 +02:00
pancake
c91f838821 Handle ':' prompt in aa graph too 2014-08-05 19:49:33 +02:00
pancake
0a292c936a Add asm.indent, handle 'xX' in aa graph and enhace ptr references 2014-08-05 18:03:14 +02:00
condret
22e7994b3b Fix bindings 2014-08-05 02:10:34 +02:00
condret
058415805b add prefix and do some more foo for rpnesil 2014-08-04 17:52:19 +02:00
pancake
bd39d7a6d5 Reduce RAsmOp struct size from 4096 to 384 bytes 2014-07-31 03:37:38 +02:00
pancake
0d3b5e18ea Add missing file and minor hashbang fix 2014-07-30 22:15:16 +02:00
pancake
84342ea223 Little split of the RLib logic 2014-07-30 11:14:30 +02:00
jvoisin
494d82d4b0 Fix some coverity issues and a XXX 2014-07-28 17:56:44 +02:00
pancake
338fa079cd Sport ESIL traps and conditionals, better x86 esil and add asm.fcnlines config var 2014-07-21 04:18:27 +02:00
pancake
41785d3c01 Bump sdb from git again 2014-07-18 15:03:57 +02:00
Anton Kochkov
0d192ca447 Fix r_socket for mingw32 2014-07-18 13:49:42 +04:00
pancake
b1423e5782 Update Sdb from git, provides some optimizations 2014-07-17 20:54:52 +02:00
Skia
75b331d114 Add pf.obj.str=bar and fix some more 'pf' issues 2014-07-17 04:18:09 +02:00
pancake
5ce3dd71ab Autodetect ARM thumb symbols and expand analysis. Tested on ELF/MACH0 2014-07-17 03:34:16 +02:00
pancake
34a9db2d45 Bump sdb from git with some new features 2014-07-11 00:49:35 +02:00
Anton Kochkov
445dde9ba8 More improvements for cygwin and mingw32 building 2014-07-10 02:21:41 +04:00
pancake
0f24b905f6 Initial implementation of VVV for ascii-art callgraphs 2014-07-09 05:05:22 +02:00
pancake
be34dbf9cd Honor dbg.profile in io/debug
$ cat p.r2
 arg1=/
 $ r2 -e dbg.profile=p.r2 -d ls
2014-07-09 03:48:47 +02:00
pancake
8b74f1ffcf Merge Rarun2 into RSocket and use it from dbg.profile in Core 2014-07-09 02:24:31 +02:00
pancake
b6850182b9 Fix RReg.arena.size issue caused by missing parenthesis in BITS2BYTES 2014-07-03 11:54:58 +02:00
pancake
d328957768 Update sdb to fix '***' and add r_asm_get_plugins 2014-07-03 00:03:01 +02:00
LemonBoy
841a1ed5b6 Better string escaping. Fixes graph view 2014-07-02 18:26:03 +02:00
dequis
c3c11dc0ba Add r_config_node_desc to fix potential null derefs in core/config.c
It's the same as r_config_desc but takes a node instead of a name.

And adapt the macros in core/config.c to use this function instead of
just doing r_config_node_set_etc()->desc.
2014-07-02 08:38:22 -03:00
pancake
036873a9b7 Fix RBin flag strings issue and name filtering 2014-07-01 22:43:28 +02:00
LemonBoy
9208946109 Add support for UTF-8 and better WChar strings in RBin
- Better string recognition.
- Better wchar string detection
- UTF-8 helpers. Better string detection.
- Break on invalid sequences
- Fix the vaddr translation. Misc fixes
2014-06-30 16:39:24 +02:00
pancake
e321c0e62c Add RReg bufdiffing apis to retrieve list of modified regs 2014-06-26 12:18:45 +02:00
pancake
2490e54e77 Add asm.syntax=regnum (alias for capstone NOREGNAME) 2014-06-25 15:44:33 +02:00
Anton Kochkov
f365dd9d26 Fix Cygwin building 2014-06-25 14:41:21 +02:00
pancake
f74b788809 Rename GNU plugins to _gnu 2014-06-25 12:22:08 +02:00
pancake
1a3ffef8b4 Fix static build 2014-06-25 04:11:43 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00
pancake
ed008f24ab Bump sdb 2014-06-25 01:22:18 +02:00
pancake
a69f56ffe6 Fix all latest coverity issues except the rsa-find ones 2014-06-24 01:01:27 +02:00
tosh
38b9674bd1 Fix: floating point exception in UTX_MUL functions 2014-06-23 15:34:51 +02:00
tosh
eb6b86dd4b Some fix in the ELF parser
New functions used to prevent integer overflow when add, sub or mul
Fix an out of bound in r_buf_fcpy_at
2014-06-23 15:34:51 +02:00
jvoisin
bc04cb6825 Add some zignatures goodies
- z-prefix is now working
- z doesn't forget to count things
- help is improved
2014-06-23 12:05:27 +02:00
pancake
0afb84c3dc Add http.dirlist (defaults to false) 2014-06-22 14:57:54 +02:00
jvoisin
061184084b Add /Ar, to search for RSA keys 2014-06-22 01:41:57 +02:00
jvoisin
3d3e1b900f Set a specific color for help msg 2014-06-21 18:00:11 +02:00
condret
1407d499b5 cleanup and add new cbs for esilvm 2014-06-20 18:04:57 +02:00
jvoisin
d3822e2382 Colorizs ., !, = 2014-06-20 13:25:17 +02:00
pancake
b41af88649 Initial support for conditional, comments, and cpu flags in RPNESIL 2014-06-20 01:56:14 +02:00
pancake
a13aa887fd Initial MIPS RPN-ESIL backend and handle loops and conditionals 2014-06-20 00:42:38 +02:00
pancake
2408ce9a42 Fix segfault in esil for arm-thumb and colorize 'ar?' 2014-06-19 04:52:28 +02:00
pancake
5c209802a7 More work on arm-thumb-capstone + esil 2014-06-19 04:03:11 +02:00
pancake
7b9d13bbc3 Fix 'afc' (code complexity), fix nulltype xrefs and some helps 2014-06-19 01:11:53 +02:00
pancake
160c4568f7 More RPN ESIL (udis86, vm, conditionals, ..). Honor cfg.debug
- A debugger session can be turned into emulation with 'e cfg.debug=0'
- Fixed undo seek issues
- Fix "Unknown register 'rip'" issue
- debugger commands mixed with analysis ones. We must merge at some point
- More udis86 instructions translated to the new esil
2014-06-17 10:23:11 +02:00
pancake
dfb9d11474 Initial implementation of the new ESIL. (RPNESIL)
Use the 's' key with static analysis to step
Anal backends must be updated to use the new syntax
Uses 'ar' to get/set regs, and anal->io for read/write mem
Some few commands implemented, no extend api yet
2014-06-16 05:58:00 +02:00
condret
49b31e30f3 add spc700-disassembler
fix a gcc-warning and make things more @jvoisin compliant
2014-06-16 01:14:52 +02:00
pancake
c79ef3b53d Refix 'dcs' and enhace '?' colorized help 2014-06-14 02:28:49 +02:00
pancake
5d22331b78 Fix build and some scary warnings in RCoreFile->fd 2014-06-14 02:09:41 +02:00
pancake
148733b7a1 Add linux-arm64 reg profile, fix linux-arm systracing. Handle multiple syscall stoppers in 'dcs' 2014-06-14 02:02:58 +02:00
condret
129646d925 Refactor the new io-read-api (disabled by default) 2014-06-14 00:07:16 +02:00
pancake
8330ea59fc Fix stale pointer issue in RBinELF. Add r_mem_dup 2014-06-14 00:04:40 +02:00
pancake
3e5eb05eda Fix PE exports parsing (adapted inisider patch) and some code cleanup 2014-06-13 16:00:39 +02:00
pancake
1dcce40a8f Minor coverity fixes 2014-06-13 12:06:29 +02:00
condret
6b1efd8ecd Add R_ERROR and fix RIOSection.get_{first,in}_{vaddr,paddr}{_range} 2014-06-11 17:42:42 +02:00
Jody Frankowski
93f43d40fc Add helper functions to print coloured help messages 2014-06-11 17:13:54 +02:00
jvoisin
ac7963a9dd Even more gcc warnings silenced. 2014-06-06 14:07:06 +02:00
pancake
8ddc053be9 Update sdb 2014-06-05 23:59:58 +02:00
LemonBoy
b7f73620d1 fix the regexp engine 2014-06-05 00:00:33 +02:00
pancake
cc324e743a Fix some warnings 2014-06-04 22:33:56 +02:00
pancake
84e1bc6eb5 Some fixes for the latest rsearch changes 2014-06-04 22:18:02 +02:00
LemonBoy
9a9c5e750a simplify the search engine 2014-06-04 20:03:06 +02:00
pancake
315e8866e1 Add 'creg' color palete to colorize changed registers in 'drd' 2014-06-04 17:23:58 +02:00
pancake
2e789678de Implement RDebugInfo (only for linux atm) 2014-06-04 04:12:11 +02:00
condret
0f9495400d add io->autofd 2014-06-03 17:06:56 +02:00
condret
b75ea56f6c make r_io_desc_seek more reasonable in usage 2014-06-02 15:31:06 +02:00
condret
eafafa574e try to fix r_io_desc_seek 2014-06-02 00:54:32 +02:00
Skia
01b8b2d763 Fix #793 - Display changed registers in every 'dr' command
- Do not always colorize the modified reg in 'dr'
- TODO: Add color palette for reg highlighting
2014-05-31 16:19:32 +02:00
pancake
7bbca3c2bf Add and implement search.contiguous config var 2014-05-31 13:44:52 +02:00
Fedor Sakharov
bb2fa60a07 dwarf: Make rabin2 -d dump dwarf info.
The format is similar to objdump -g.

Fixes #958
2014-05-29 18:31:24 +04:00
condret
70744a1ad9 support ternary values in rax2 2014-05-28 21:50:13 +02:00
pancake
dd67819923 Fix ioff, merge RCore.ffio into and add a workaround for baddr 2014-05-28 19:32:29 +02:00
pancake
d65700dedd Fixes to make RBin/RIO more consistent for bindings 2014-05-28 18:58:53 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
pancake
bb16d1737c Add initial XCore capstone disassembler and code analysis plugins 2014-05-27 23:08:59 +02:00
LemonBoy
90df6195e1 xbe loader 2014-05-26 20:07:24 +02:00
pancake
7751882675 Add io.raw which is set when debugger mode is enabled 2014-05-25 02:23:33 +02:00
Andrew McDonnell
127a5c23e4 Implement yz feature and fix memory leak and invalid pointer issue 2014-05-23 15:35:49 -05:00
deeso
ccc3794eeb Fixed the 0xff io bug 2014-05-22 02:17:09 -05:00
pancake
29ee197638 Optimize RMeta.add() and bump sdb for updated optimizations 2014-05-22 02:15:26 +02:00
deeso
a702c82ac8 Enhance performance with reduced mallocs at load time 2014-05-21 13:02:02 -05:00
pancake
a1224b2156 Refactor rva > vaddr and offset > paddr.
That change may make mixing vaddr and paddr more visible
2014-05-21 03:18:00 +02:00
pancake
879f295365 Fix bin.rawstr (rabin2 -zz), some offsets wrong in PE 2014-05-19 02:41:53 +02:00
pancake
0d68756791 Add r_str_crop() will be used by canvas to shifted render text 2014-05-18 03:41:39 +02:00
pancake
ea0c2caa59 Add sys/ios-sdk build scripts 2014-05-17 04:41:33 +02:00
pancake
ca18aedb94 Add Capstone SystemZ and SPARC disassembler and analysis plugins 2014-05-17 02:53:37 +02:00
Fedor Sakharov
af55ab712d Adds v850 support.
Fixes #751
2014-05-16 15:56:52 +04:00
pancake
45c41d4582 Handle 'mov' color in RCons.pal 2014-05-16 04:07:03 +02:00
pancake
c6a73d3074 Fix loading sections from fatmach0 bins 2014-05-16 03:48:57 +02:00
pancake
583be01f32 Handle ^C in /p 2014-05-14 23:24:46 +02:00
pancake
587c5f51c2 Implement MACH0- crypto and UUID inside Sdb bin/<fd>/info 2014-05-14 05:48:03 +02:00
Adam Pridgen
5bb7ddef66 Added listing for binfiles, selection by binobject ids, selection by binfile ids, and deletion by bin object ids 2014-05-13 21:54:18 -05:00
deeso
1fbc7f2168 Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
this work with rbinfiles and rbinobjects.

Conflicts:
	libr/bin/bin.c
	libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
pancake
eeaa5ffd60 Fix aarch64 gdbr profile and update sdb 2014-05-12 17:07:27 +02:00
pancake
e9f820d17f Bump sdb 2014-05-12 10:44:19 +02:00
Anton Kochkov
1a0d10ef34 8051 - remove inclusion of the C source 2014-05-10 18:18:26 +04:00
jvoisin
ac9354d455 Add NX/ASLR detection for PE 2014-05-09 19:25:31 +02:00
jvoisin
76fbd4119c Fix some gcc warnings 2014-05-08 23:20:42 +02:00
deeso
4ad0f2a400 Tweaking bin plugins so that they can check bytes along with a binfile and fixed extraneous * in buf.c and r_util.h 2014-05-08 14:09:10 -05:00
deeso
621e425e26 Adding buffer accessors 2014-05-08 12:27:50 -05:00
pancake
887f15b03d Add r_bp_del_all (db-*) and fix some more bugs 2014-05-08 17:38:29 +02:00
pancake
d138f61816 Add r_num_as_string() in '?' and in disasm as comments 2014-05-07 02:51:04 +02:00
Skia
b1b90852be Implement a more efficient r_list_add_sorted 2014-05-06 11:25:30 +02:00
condret
239fc6cd34 stop using rcons in rap-server 2014-05-06 04:01:11 +02:00
pancake
a7778a5815 Fix r_num_free memleak 2014-05-06 04:00:26 +02:00
nobody@no.org
32afcd8215 Fixed some ref/xref issues.
Add refs for conditional jumps.

Fixed issue with saving of refs/xrefs to projects

Fixed determination of jump target's enclosing function

Reenabled display of jump target's enclosing function for condition jumps.

Fixed another issue with call refs introduced earlier.
2014-05-06 03:02:39 +04:00
pancake
4cce57c2bf Fix build and some warnings from rap_server 2014-05-05 14:38:47 +02:00
condret
8e8dee9869 initial modular rap_server 2014-05-05 14:05:32 +02:00
pancake
f5d611984f Fix yara-symstall and update sdb 2014-05-05 04:17:16 +02:00
pancake
f9256d83de Add initial ascii-art graph layout and implement RCons.resize() api 2014-05-05 03:15:28 +02:00
Adam Pridgen
bd297f6788 reworked how bins environmnent variables are set (e.g. io.va, arch, bits, etc.) and fixed some more mach0 regressions 2014-05-04 17:15:55 -05:00
pancake
a0da04cb16 Fix r_bin.h (should fix bindings) and more MAKE_JOBS 2014-05-03 02:19:14 +02:00
fr33tux
a68171d3e9 Remove r_list_unlink and r_list_unref functions 2014-05-03 01:27:10 +02:00
fr33tux
3d801f90ff Remove r_list_destroy, replaced it by r_list_purge 2014-05-03 01:27:10 +02:00
deeso
14354feb61 fixed MMap Read-Write issue in io plugins and RBuf 2014-05-02 16:43:47 -05:00
deeso
3adcb54f17 Overhauled how files are loaded. Now *all* files use an IO plugin the default one is mmap'ed 2014-05-01 20:13:57 -05:00
pancake
7028b225bd Added 'VV' command to run the visual graph mode 2014-04-29 03:54:20 +02:00
pancake
430ddcc100 Add cons/t/graph PoC and extend RConsCanvas api 2014-04-29 01:55:10 +02:00
Adam Pridgen
c3d6664756 Adding multi-bin support for files that contain multiple objects and lots of other fixes in libr/bin 2014-04-28 12:11:14 -05:00
deeso
3c3443fc2b Adding cmd deinit to core and cmd_api 2014-04-28 10:40:09 -05:00