Commit Graph

7189 Commits

Author SHA1 Message Date
Riccardo Schirone
5036518c0a core/graph: allow to zoom out until the minigraph appears 2015-07-01 13:46:41 +02:00
Riccardo Schirone
3829b1a82b core/graph: set minimal dimensions for nodes 2015-07-01 13:46:41 +02:00
Riccardo Schirone
ceeaa36620 core/graph: fix out of nodes text when zoom < 100 2015-07-01 13:46:41 +02:00
Riccardo Schirone
0749329762 core/graph: fix out of screen nodes when zoom > 100 2015-07-01 13:46:41 +02:00
Riccardo Schirone
822c6704d1 core/graph: . should center the graph to the current node 2015-07-01 13:46:40 +02:00
Riccardo Schirone
8c0bb719c2 core/graph: code refactoring, make zoom a field of the AGraph structure 2015-07-01 13:46:40 +02:00
Álvaro Felipe Melchor
1c3b4381d7 Fix #2864 - oob read in te command 2015-06-30 17:52:41 +02:00
pancake
cf087149cc Fix #2724 - Fix /+ and few warnings 2015-06-30 12:36:13 +02:00
pancake
1f989e423a Fix #2862 - Handle no file size with in 'i' and 'r' 2015-06-30 11:34:38 +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
Jeffrey Crowell
01543ba1cd fix unallocated mem access in cmd_type
closes #2863
2015-06-29 11:43:58 -04:00
pancake
fbc1746ffa Add +/- keys for zoom in/out 2015-06-29 17:00:12 +02:00
pancake
7851b75e5c Fix color and indentation issues in some comments 2015-06-29 11:37:18 +02:00
pancake
c576ca036b Detect shellscripts with pm 2015-06-29 11:36:50 +02:00
pancake
45a83dc38a Detect Rust binaries in RBinLang for name demangling 2015-06-29 11:22:05 +02:00
Álvaro Felipe Melchor
805818ba87 Fix #2850 - oob read with the command /p 2015-06-28 23:06:11 +02:00
Álvaro Felipe Melchor
3e47bd4084 Fix #2852 - oob read with the command pid 0 2015-06-28 23:06:11 +02:00
Álvaro Felipe Melchor
daf8e5b06f Fix some infers 2015-06-28 20:15:35 +02:00
Álvaro Felipe Melchor
ccef928dfe Fix some COVs 2015-06-28 20:15:35 +02:00
Álvaro Felipe Melchor
f162eb2f7a Fix oob read in r_print_date_w32 2015-06-28 20:15:35 +02:00
Álvaro Felipe Melchor
6970720dac Fix oob read in r_print_date_dos 2015-06-28 20:15:35 +02:00
Álvaro Felipe Melchor
39ad0d5ab6 Fix another oob in r_print_date_unix 2015-06-28 20:15:35 +02:00
Álvaro Felipe Melchor
371501b724 Fix #2832 - oob read in r_mem_copyendian 2015-06-28 20:15:35 +02:00
pancake
5ca5f143d1 Fix w32 debugger build 2015-06-28 11:07:33 +02:00
pancake
9eb4ef5197 Unescape backslash chars in ?e and add osx-qt-mingw32 toolchain support 2015-06-28 10:35:43 +02:00
pancake
f430d1d5df Fix #2844 - afv swapping vartype and varname 2015-06-28 10:08:07 +02:00
pancake
8eaf7d0c56 Fix #2843 - s.<invalid hexnumber wrong address 2015-06-28 10:01:28 +02:00
Álvaro Felipe Melchor
e5e23c2377 Fix #2808 - oob read in updateAddr 2015-06-28 02:42:33 +02:00
Álvaro Felipe Melchor
e0d89584e3 Fix #2833 - oob in r_wstr_clen 2015-06-28 02:41:09 +02:00
pancake
47cbce50c4 Deprecate WASD keys in ascii graph to make azerty users happy 2015-06-28 02:24:46 +02:00
pancake
625656d50a Fix ADD [mem] x86.cs esil - thanks @zlowram for reporting 2015-06-28 02:08:52 +02:00
pancake
3faffc1abc Fix DIV esil for x86.cs 2015-06-28 01:42:21 +02:00
Anton Kochkov
42830b70c6 Fix CID 1308251,1308249 2015-06-27 20:31:37 +03:00
Anton Kochkov
50112e08e5 Fix CID 1308250,1259928,1256138,1258673,1134613 2015-06-27 20:25:47 +03:00
Jeffrey Crowell
cab49c09a8 rename nt-x86/nt-x64 to new windows names
fix w32 builds
2015-06-27 13:10:00 -04:00
Jeffrey Crowell
be0c7cf457 fix crash on r2 -d empty_file
closes #2846
2015-06-27 11:49:39 -04:00
BlueC0re
c13f5aa9ff Fix variable name/type swap on command print. fixes #2844 2015-06-27 15:37:52 +02:00
Jeffrey Crowell
eb1f379d14 Revert "start using wcs"
This reverts commit 731ef331f5.
2015-06-26 23:54:01 -04:00
Jeffrey Crowell
584a0da932 fix oob heap read in on fixes #2807 2015-06-26 23:50:58 -04:00
Jeffrey Crowell
731ef331f5 start using wcs 2015-06-25 21:07:58 -04:00
pancake
d5f2661cbe Fix build and autocomplete cd 2015-06-26 00:32:01 +02:00
pancake
61091809b3 Begin the debugger refactoring 2015-06-26 00:37:52 +02:00
pancake
e3e39a806e Fix #2841 - Fix some near-infinite loops in sandbox mode 2015-06-25 23:41:14 +02:00
pancake
6dc29e516a Fix w32 ollyasm format strings for w32 2015-06-25 23:01:41 +02:00
pancake
01240d8001 Fix native debug plugin linkage 2015-06-25 22:43:10 +02:00
pancake
323d54702c Fix #2842 - Fix function boundary lines in one-instruction length function 2015-06-25 22:25:26 +02:00
pancake
e20b36095b Add agf command as an alias for afg. 2015-06-25 16:57:15 +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
zlowram
5e826a6c75 Changed aeis to aeim in ESIL help to match code 2015-06-25 14:16:19 +02:00
pancake
df51cfc5aa Bump capstone and sdb 2015-06-25 12:07:20 +02:00
pancake
3621b156e9 Handle << only when scr.interactive is set 2015-06-25 11:50:29 +02:00
Riccardo Schirone
6e62dd5142 core/cmd_print: fix pxQ/pxH that prints only with 8/2 + 1 bytes 2015-06-25 02:07:17 +02:00
Riccardo Schirone
4003e6b8ae util/print: fix a heap overflow when len is not a multiple of step 2015-06-25 02:07:17 +02:00
Riccardo Schirone
efa0ae88df util: code refactoring
* improve indentation of r_mem_copyendian and r_print_hexdump
* remove duplicated code
2015-06-25 02:07:17 +02:00
pancake
feef3cd7f7 Skip corrupted sub-bin in fatmach0's 2015-06-25 01:59:31 +02:00
pancake
83e9a155fd Be more permissive with corrupted mach0 files 2015-06-25 01:44:22 +02:00
Álvaro Felipe Melchor
21ca91839f Fix #2806 2015-06-24 14:11:00 +02:00
Y. Sapir
50f5acf72e Implement more MIPS branch instructions in anal_mips_cs, and fix bgezalc to be a call rather than a jmp. 2015-06-24 13:11:29 +02:00
pancake
e35274d31e Remove ior2pipe debug printf 2015-06-24 13:11:10 +02:00
Jeffrey Crowell
ab0b035203 rewrite r_glob_str to fix #2836 2015-06-24 01:16:11 -04:00
skuater
2a8164515e fix buffer overflow in pe.c 2015-06-23 10:29:36 +02:00
pancake
6f7d511cb7 Initial rework for iOS (arm+arm64) single stepping (not yet working) 2015-06-22 16:55:28 +02:00
pancake
d436d16cd4 Honor asm.bits in the RBreakpoint API 2015-06-22 12:23:38 +02:00
pancake
1e4638d27e Add -D <lang> all to demangle symbols via rabin2 2015-06-22 11:36:28 +02:00
pancake
6240f289a3 s/system/sandbox_system/ in #!c 2015-06-22 03:13:51 +02:00
pancake
73f4351fa3 Rewrite dm for iOS/OSX, still needs some cleanup 2015-06-22 03:10:56 +02:00
pancake
0221e570bd Better eprintf's for /# 2015-06-22 00:57:22 +02:00
pancake
0427dbc04f Add /# command to search for blocks matching a hash 2015-06-22 00:22:18 +02:00
SkUaTeR
3879017027 Update pe.c 2015-06-21 10:37:14 -04:00
pancake
ee4585684a oops 2015-06-21 14:10:36 +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
pancake
f38d84fe37 Fix #2764 - based on @alvarofe patch 2015-06-21 10:02:41 +02:00
pancake
d93835b08c Fix #2809 - based on @alvarofe patch 2015-06-21 10:00:41 +02:00
Y. Sapir
1eb3384db3 Fix formatting of failcycles in json op analyssis. 2015-06-21 00:53:43 +02:00
Y. Sapir
f2e78299a9 Output delay in json op analysis. 2015-06-21 00:53:42 +02:00
pancake
8f25a9b344 Fix iOS build, crashes in reflines, analysis issues on OSX debugger and more! 2015-06-21 00:50:53 +02:00
pancake
fa7546101a Support r_str_unescape for backspace 2015-06-20 23:40:52 +02:00
pancake
26b579a600 Fix mach io issue that was showing up in analysis 2015-06-20 23:37:25 +02:00
Álvaro Felipe Melchor
1c7feb2240 Fix some infers 2015-06-20 17:33:09 +02:00
Álvaro Felipe Melchor
2595abcc4a Fix #2795 2015-06-20 17:30:45 +02:00
Álvaro Felipe Melchor
29b228a099 Fix #2796 2015-06-20 17:30:45 +02:00
Álvaro Felipe Melchor
80fd03f74e Fix #2797 2015-06-20 17:30:45 +02:00
pancake
1f21a2dae1 Remove unnecessary warning in PE 2015-06-20 17:30:23 +02:00
Sushant
30a0283733 Fix #2799 - Add drpj command 2015-06-20 00:12:59 +02:00
skuater
142bf2172f fix export issue in windows pe format 2015-06-20 00:05:57 +02:00
jvoisin
9a7bf7751b Coverifix 2015-06-19 21:30:57 +02:00
Álvaro Felipe Melchor
5d8ce1b4a4 Fix #2765 2015-06-17 23:25:50 +02:00
Riccardo Schirone
1b69ac97d5 core/graph: not remove nodes while traversing them 2015-06-17 23:20:28 +02:00
Riccardo Schirone
b5b548255e core/cmd_debug,core/graph: fix warning types with sdb_num_get 2015-06-17 23:20:28 +02:00
Anton Kochkov
859fadb38c Fix CID 1293561, 1293557 2015-06-17 14:34:58 +03:00
Anton Kochkov
3f6dd0c11f Fix CID 1306842 2015-06-17 14:30:43 +03:00
pancake
e147a21be9 Fix some of the alloc-check bugs reported in #2772 2015-06-17 12:36:08 +02:00
pancake
72215da3c1 Fix px regression 2015-06-17 11:42:44 +02:00
Riccardo Schirone
814bf3a49c core/graph: implement layering and ordering of nodes in each layer 2015-06-17 11:22:10 +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
2efc450248 Fixes for pxr flags at zero and 32bit words in thumb 2015-06-17 11:14:37 +02:00
pancake
4a33d2afac Fix bin_is_executable() helper 2015-06-17 11:14:32 +02:00
Álvaro Felipe Melchor
53badd517d Fix COVs 2015-06-17 00:22:40 +02:00
Álvaro Felipe Melchor
e40fe434bb Fix #2765 2015-06-16 22:48:37 +02:00
Álvaro Felipe Melchor
d04c94ba72 Fix #2764 2015-06-16 22:48:34 +02:00
Álvaro Felipe Melchor
14150164bf Fix #2760 2015-06-16 22:48:27 +02:00
Álvaro Felipe Melchor
7bd2cd08ff Fix some warnings 2015-06-16 22:48:13 +02:00
Álvaro Felipe Melchor
b52cfe422e Fix #2759 2015-06-16 22:47:47 +02:00
bhootravi
ade56c0fe8 Add ESIL support for h8300 (@radare: fix indent) 2015-06-16 22:43:02 +02:00
pancake
04ff647a2f Add aep to set PC for esil emulation, fix thumb's ldr pc 2015-06-16 10:47:18 +02:00
Anton Kochkov
c871d8e155 Fix CID 1306716, 1306711 2015-06-15 21:15:57 +03:00
Anton Kochkov
966744b4c2 Fix CID 1306706 2015-06-15 20:44:37 +03:00
pancake
b3fdc01318 Fix regression in disasm with anal-meta 2015-06-15 10:55:05 +02:00
pancake
9cd4dbfb54 Fix pIj without arguments, update ARM register profile 2015-06-15 10:41:34 +02:00
pancake
c3fa3d2c35 Fix r_meta_get_string() comments issue in disasm 2015-06-15 05:09:02 +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
Álvaro Felipe Melchor
e58c46c0cc Fix #2737 2015-06-14 23:15:51 +02:00
Álvaro Felipe Melchor
2fed5a722a Fix a read of size 1 in cmd_cmp 2015-06-14 23:15:51 +02:00
Álvaro Felipe Melchor
3f9b84ac04 Fix #2736 2015-06-14 23:15:51 +02:00
Álvaro Felipe Melchor
36917ff60b Fix #2754 2015-06-14 21:46:16 +02:00
Jeffrey Crowell
3b60ab858a Revert "fix memleaks"
This reverts commit 6bb37f499a.
2015-06-14 00:37:38 -04:00
Jeffrey Crowell
6bb37f499a fix memleaks 2015-06-14 00:21:04 -04:00
pancake
6245e65422 Fix scr.color in pdi 2015-06-14 02:43:37 +02:00
Jeffrey Crowell
0002500116 fix doc for rop search 2015-06-13 20:04:11 -04:00
Jeffrey Crowell
5858c2846b fix #2753
please send chair-IT.txt to crowell@bu.edu
2015-06-13 19:30:40 -04: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
pancake
0bc0c5586c Honor asm.filter in pdi 2015-06-13 23:32:01 +02:00
pancake
c4d9f4ede9 Fix readblock issue in io_rap 2015-06-13 23:23:27 +02:00
jvoisin
6ea8a866f6 Fix two coverities 2015-06-12 23:19:14 +02:00
Jeffrey Crowell
ba8a2983e1 fix #2722, make sure that the file is open b4 G 2015-06-12 15:47:08 -04: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
e9b870d588 core/cmd_debug: add parameters to 'dtc' command
* displays only calls inside a specified range
* stop at a specific address
* add variable dbg.shallow_trace that, if set, skip calls outside the
  specified range (you can lose some instructions if the called function
  can jump back to code into the range)
2015-06-12 11:53:30 +02:00
pancake
a4e5081c87 Fix w32 project open issue with abspath 2015-06-12 11:49:58 +02:00
pancake
0bece627d2 Fix w32 keypad input issue on wine 2015-06-12 11:49:44 +02:00
pancake
bcb51cd4ce Fix another asm.cmtright=false color glitch in disasm 2015-06-12 03:09:58 +02:00
pancake
72ba17da3e Enhace dh listing 2015-06-12 03:04:09 +02:00
pancake
361e8a96e1 Fix #2729 - Add help for dh command 2015-06-12 02:56:54 +02:00
pancake
3013b98099 Add key.s/key.S config vars and fix aagraph glitch 2015-06-12 02:19:58 +02:00
pancake
f8b1f8e807 Fix iorap bug, disasm glitch, and comments are red now 2015-06-12 02:11:07 +02:00
Riccardo Schirone
01a8256a2f core/cmd_debug: create a call graph starting from execution tree
core/cmd_debug: visit the graph to print the callgraph dot file
2015-06-11 22:53:48 +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
Álvaro Felipe Melchor
3536b9cb63 Fix #2741 2015-06-11 17:43:27 +02:00
pancake
57771a1ce4 Bump capstone, and fix a bug in io:rap 2015-06-11 13:59:20 +02:00
pancake
84e7193e97 Fix #2719 - Add dbtj command to show backtrace in json 2015-06-11 12:54:39 +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
Álvaro Felipe Melchor
4514f7aee3 Fix a invalid read of size 4 in rcc_context 2015-06-09 23:27:05 +02:00
Álvaro Felipe Melchor
3c22b5ccab Fix #2732 2015-06-09 23:27:05 +02:00
Judge Dredd (key 6E23685A)
e46f183b7c fix #1298 2015-06-09 15:53:02 +02:00
pancake
43d891503e Honor R_SYS_DIR in more places to make w32 happy 2015-06-09 13:47:45 +02:00
Judge Dredd (key 6E23685A)
b19c9ea39e fix #2725 2015-06-09 13:34:31 +02:00
pancake
e21a7421f7 Fix anal.arm64 register profile 2015-06-09 02:59:32 +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
96af02492a Add doc/rap 2015-06-06 01:49:27 +02:00
pancake
a093958b6d Release 0.9.9 - codename AlmostThere 2015-06-05 04:07:13 +02:00
pancake
faed37ca55 Honor asm.cmtright for refptr too 2015-06-05 01:03:24 +02:00
pancake
4d900061bb Better asm.cmtright, honors asm.section 2015-06-05 00:45:42 +02:00
pancake
c517036f20 Fix visual glitch with lastline fill 2015-06-05 00:34:26 +02:00
pancake
9c467f2ade Fix #326 - call comments honor asm.cmtright now 2015-06-05 00:19:41 +02:00
pancake
d168388f5c Add pxrj command to show word refs in JSON 2015-06-04 22:58:08 +02:00
Álvaro Felipe Melchor
67f0a0f244 Fix a heap use after free 2015-06-04 21:27:41 +02:00
Álvaro Felipe Melchor
78d5a78609 Fix COVS 2015-06-04 21:27:41 +02:00
Riccardo Schirone
0c7fead825 core/panels: avoid right/bottom border in the panels view 2015-06-04 19:11:16 +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
99883280e0 Restore internal temporal seek and avoid huge backward disasms 2015-06-04 16:53:04 +02:00
Judge Dredd (key 6E23685A)
b87c68e7e7 fix #2708 2015-06-04 14:49:17 +02:00
Álvaro Felipe Melchor
7c2fd089f3 Fix #2706 & #2705 2015-06-04 13:14:43 +02:00
pancake
b6720d8529 Puke rainbows in pi pid and pdi 2015-06-04 13:05:02 +02:00
pancake
b60547a89c Remove the syntax pad hex arch bits. Use pad hex@a:arch:bits 2015-06-04 12:38:54 +02:00
Álvaro Felipe Melchor
008158f705 Fix #2684 2015-06-04 11:38:51 +02:00
Judge_Dredd
2acf7d4a03 arbitraty number of matches in cons/less search, refactor 2015-06-04 09:21:05 +03:00
pancake
c0b1e5fad3 Fix iOS build 2015-06-04 04:30:48 +02:00
skuater
d7f6b4f6c6 fix issue #2680 2015-06-04 03:42:33 +02:00
Riccardo Schirone
225cc70e37 core/graph: do all update of the state in the graph_refresh function 2015-06-03 17:59:53 +02:00
Riccardo Schirone
ad59230ef9 core/graph: push also tab/TAB movements in the history
core/graph: rename + moving functions
2015-06-03 17:59:53 +02:00
Riccardo Schirone
e9facfe535 core/graph: clean graph_reload_nodes
leave the selection of the right thing to do to sub-functions.
reload_nodes choose which node to reload based on the status of g.
graph_set_layout choose which layout to apply based on the status of g.
2015-06-03 17:59:53 +02:00
Riccardo Schirone
e189a9ba49 core/graph: use a function to update the is_small_nodes flag
in this way we can always update the size of the nodes at the right
moment.
2015-06-03 17:59:52 +02:00
Riccardo Schirone
823c7f8b1b core/graph: extract function graph_print_nodes/edges 2015-06-03 17:59:52 +02:00
Riccardo Schirone
5505d59a81 core/graph: avoid realloc of edges at every step of the loop 2015-06-03 17:59:52 +02:00
Riccardo Schirone
91c4229660 core/graph: use n_edges/n_nodes instead of NULL terminating the list 2015-06-03 17:59:52 +02:00
Riccardo Schirone
cfa69ae7a8 core/graph: choose type of printing in graph_reload_nodes
extract graph_prev/next_node to move to the previous/next node in the
graph.
2015-06-03 17:59:52 +02:00
Riccardo Schirone
78471faf98 core/graph: code refactoring
core/graph: extrat struct graph

core/graph: replace updateSeek with graph_update_seek

core/graph: change names to some functions

core/graph: refactoring of graph_set_layout

core/graph: make ostack part of the struct graph
2015-06-03 17:59:52 +02:00
Riccardo Schirone
3315382895 core/graph: null check should be before dereferencing the pointer 2015-06-03 17:59:52 +02:00
David Kreuter
ab538a170d m68k_disasm: replaced macro by inline function to please coverity 2015-06-03 16:37:43 +02:00
pancake
297a620a94 Fix two covs 2015-06-03 12:34:15 +02:00
Álvaro Felipe Melchor
fddb32ccd7 Fix #2683 2015-06-03 12:28:19 +02:00
pancake
f182a726df Fix search hit between blocks bug. Needs rework 2015-06-03 12:16:50 +02:00
skuater
e5d2683e42 add handlers to interrupt r2pipe 2015-06-03 10:35:54 +02:00
pancake
abd8db639c Honor obsz in ij output 2015-06-03 10:26:11 +02:00
jvoisin
0c144f16bc Even more coverifixes 2015-06-02 22:59:30 +02:00
pancake
96090200ee Fix px -10 test 2015-06-02 18:06:10 +02:00