Commit Graph

497 Commits

Author SHA1 Message Date
pancake
67daa4c07a Drop comments from dot graphs 2015-09-28 16:09:24 +02:00
pancake
da3264250c Honor ^C in aae 2015-09-25 18:38:16 +02:00
pancake
3998132e7b Fix #3357 - invalid range error when analysing a 3 byte length file 2015-09-23 17:57:40 +02:00
pancake
0cf36cbc6d Fix #3289 - Fix graph arg/local in JSON 2015-09-17 01:47:40 +02:00
pancake
b515a34676 More stdboolification 2015-09-14 12:35:38 +02:00
pancake
8eb71af9ed Internal reg prefix is now $, 85008 for curpc, TRAP for traps 2015-09-14 11:31:54 +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
d9c934f6b4 Fix some recent covs 2015-09-09 11:16:49 +02:00
pancake
10bb7e9a4d Honor ^C in aar 2015-09-07 18:20:29 +02:00
pancake
90c22d90ab Fix #3162 - Duplicate(or more) on analysis warnings 2015-09-07 00:30:48 +02:00
pancake
4f7f75c0f5 Fix regression introduced in afi 2015-09-01 00:32:23 +02:00
pancake
6d8cf6b960 Fix aflq 2015-08-31 23:57:57 +02:00
pancake
b1e267dd7a Fix gcc warnings for the gnu arm disassembler 2015-08-31 17:08:30 +02:00
Riccardo Schirone
36d96770aa simplify baddr usage
* some style fixing
* core/bin: simplify rva function
* bin/bin: avoid passing baddr around
* bin/bin: provide methods to work with baddr
2015-08-26 19:56:51 +02:00
pancake
c1d305c1b6 Fix #3163 - Fix ARM function names by dont flagging NOTYPE symbols 2015-08-26 00:30:46 +02:00
Riccardo Schirone
7b1730dc86 core/anal: fix cov and simplify code 2015-08-13 22:14:43 +02:00
pancake
014a28e9cf Fix some memleaks reported by Coverity 2015-08-13 17:24:45 +02:00
pancake
a343109c68 Fix aarch64 elf reloc type 2015-08-11 09:46:28 +02:00
Riccardo Schirone
34ef49631e core/anal: refactoring
* core/anal: refactoring of r_core_anal_op
* core/anal: refactoring of r_core_anal_bb + some comments to R_API fcns
* anal: use noncode as boolean
* core/anal: clean r_core_anal_fcn
* core/anal: split r_core_anal_fcn to improve readability
* core/anal: simplify code
2015-08-11 08:57:01 +02:00
Riccardo Schirone
6b47a68c91 core/anal,cmd_anal;anal/bb,data,fcn: general cleaning
* core/cmd_anal: extract cmd_anal_all function
* core/anal;anal/bb,data,fcn: indentation
* core/anal;anal/anal,data,fcn: remove dead code
* core/anal: remove macros in the middle of function
* core/anal: avoid blocks in the middle of functions
* core/anal: fix macro name R_ANAL_BB_HA_OPS -> R_ANAL_BB_HAS_OPS
* core/anal: fix if/else if/else
* core/anal: remove r_ prefix from static functions
2015-08-11 08:57:01 +02:00
pancake
de072e7b27 Make aae handle more memory references for ARM-thumb 2015-08-09 03:23:40 +02:00
pancake
4d1a0685f3 Make anal.hasnext run forever by default 2015-07-27 23:43:38 +02:00
pancake
04e128ab92 Fix some covs 2015-07-25 09:58:11 +02:00
pancake
9dfb354af6 Fix regression in function auto names 2015-07-25 04:03:33 +02:00
pancake
1e8714f0cf Fix cmd_pd_bugs (function names must not be section) 2015-07-25 03:31:17 +02:00
pancake
3a97b1cc6f Initial experimental support for aae UJMP/UCALL refs 2015-07-24 19:33:22 +02:00
pancake
43ecb3939e Better aae, more hits, better emulation, fix boundary bug 2015-07-24 18:19:11 +02:00
pancake
c0dfc507fe Initial WIP implementation of aae for linear ESIL code analysis 2015-07-24 15:20:32 +02:00
Álvaro Felipe Melchor
49eaa2a369 Fix #2967 2015-07-19 22:14:44 +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
46a11b52b2 Add function flags with .afl* 2015-07-15 03:23:11 +02:00
pancake
b67103e8e2 Fix #2888 - afns list all named strings in a function 2015-07-06 11:30:35 +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
Riccardo Schirone
77a26237fe util/list: add some const to the API and adapt existing code 2015-06-17 11:22:10 +02:00
pancake
f8b1f8e807 Fix iorap bug, disasm glitch, and comments are red now 2015-06-12 02:11:07 +02:00
pancake
c27327cac5 Fix #2648 - save restore arg/var name and type 2015-05-31 23:46:32 +02:00
pancake
ca4c0d1d5f Fix save/restore analysis info in projects 2015-05-26 03:11:32 +02:00
pancake
878f81dca1 Fix radiff2 -g regression and some code cleanup 2015-05-19 17:41:09 +02:00
pancake
6906783c3e Fix lost symbol flags after Vdu 2015-05-14 00:31:42 +02:00
NighterMan
dd47ede4a1 Fix to automatically restore flagspaces 2015-04-22 11:12:00 +02:00
Álvaro Felipe Melchor
35f573fe1f Fix memleaks in RCons.pal 2015-04-11 13:08:00 +02:00
Anton Kochkov
2e8363fdb6 Fix more leaks 2015-04-11 13:46:33 +03:00
Anton Kochkov
393942e18b Fix more leaking holes 2015-04-11 02:31:34 +03:00
pancake
76497dee8f Make af* show only 1 function and afl* show them all 2015-04-02 17:11:59 +02:00
pancake
43a7af0238 Fix graph flush issue 2015-03-31 00:45:57 +02:00
pancake
515b2e77bc Fix about 40 COVs related to memleaks and buffer overflows 2015-03-21 01:27:54 +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
jvoisin
7a1975bd06 Add some comments for graphs + coverifix 2015-02-17 17:03:16 +01:00
pancake
6905ea5e44 Show number of basic blocks in afl output 2015-02-04 01:27:38 +01:00
pancake
7abc86fc67 Fix afl output 2015-02-04 01:25:53 +01:00
pancake
f4a158d485 Fix CID 1267742 - off-by-one read in afl 2015-02-02 11:27:44 +01:00
pancake
79b76a8218 Refactor afi/afl to get info (one) or list (all) and show trace info in agj 2015-01-31 19:24:18 +01:00
pancake
80fb5ce37e Fix some COVs 2015-01-31 12:48:15 +01:00
pancake
918d2a3144 Fixes for autofunction name 2015-01-30 00:22:48 +01:00
pancake
259787df06 Fix some asan crashes 2015-01-24 02:11:14 +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
4addf6d538 Show strings in drr, Add ios syscalls and fix x86-32 debug on osx64 2015-01-14 02:00:55 +01:00
pancake
61ca2bc30b Add anal.a2f var to use the new WIP analysis for testing 2015-01-12 02:34:40 +01:00
pancake
bb257d0606 Fix memleak spoted by COV 2014-12-23 10:52:01 +01:00
pancake
2a95a1e29b Add and handle graph.from and graph.to (Useful for ag) 2014-12-22 04:16:50 +01:00
pancake
be88fbd145 Add more cached dll ordinals 2014-12-22 01:55:17 +01:00
pancake
628301c56f Fix #1849 - sym.main is not lost anymore 2014-12-17 23:27:19 +01:00
pancake
b0fcb5cbe4 Fix aaa is the old aa, current aa is the old aa0. (Do not run afna)
That should fix #1849 and missing entry0 issue
2014-12-17 12:09:33 +01:00
Alvaro Muñoz
cbdf4d051b fix #1731 and #1733. Remove all workarounds for the agj non structured output, and fixes some minor bugs 2014-12-05 13:44:55 +01:00
LemonBoy
8a89345304 Fix a crash when the map name is null. Fix a crash when a thread list is requested from a backend that doesn't support it. 2014-12-05 13:31:22 +01:00
pancake
0a6d2f4cdb Do not invalidate pages when using mapped io on RCore.Anal 2014-11-25 00:36:27 +01:00
pancake
5c536f0325 Fix anal.nopskip and enabled by default 2014-11-25 00:02:37 +01:00
pancake
68f9d00e01 Implement 'ecj' to show color configuration in JSON 2014-11-19 23:23:35 +01:00
pancake
ab1c7df80f New commands 'afm' and 'Vdj' (to merge two functions) WIP
* Update SDB from Git
2014-11-15 02:08:00 +01:00
pancake
9c6dc4ce2f Fix crash in x86.cs, handle ^C in /r and fix refptrs in disasm 2014-11-14 03:42:07 +01:00
pancake
188bc3ec39 Enforce entry0 and main function names in 'aa' 2014-11-13 18:19:42 +01:00
pancake
34341377f5 Use proper binmain address in 'aa' 2014-11-13 16:31:03 +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
87273cf144 Initial commit enhacing disasm with aop.ref and aop.refptr (x86.udis only atm) 2014-11-07 00:41:29 +01:00
pancake
e39282e42c Fix 'ai' without debugger 2014-11-06 23:23:43 +01:00
pancake
fb62b2558d Fix off-by-one in 'ad' command 2014-11-06 16:58:30 +01: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
1c7b576f1b Another fix for xrefs 2014-10-21 01:02:25 +02:00
pancake
442334230b Show filtered disasm in axt/axf and fix dupped refs 2014-10-20 23:36:10 +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
3e38ffe0db Add AddrInfo esil method for /E 2014-10-15 02:42:08 +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
pancake
8c625b2c27 Fill RAnalOp.mnemonic with RAsmOp.buf_asm in RCore.anal_op 2014-10-14 12:29:34 +02:00
Jody Frankowski
320c43b262 Use get_fcn_in where it used _at 2014-09-26 18:14:09 +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
8a818718cc Clear line after 'aa' 2014-09-25 00:00:47 +02:00
pancake
8dfc05fa04 Fix afj output 2014-09-23 23:15:48 +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
b0b16a7318 Allow af and df to resize+ redefine new function (anal testing) 2014-09-22 15:00:41 +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
condret
ca73e908e7 replace the "R_TRUE >" foo with "R_TRUE !=" foo and fix #1388 2014-09-20 19:31:52 +02:00
condret
7ff2652577 more io cleanup 2014-09-18 22:57:31 +02:00
pancake
14ae021780 Remove debug from afna 2014-09-18 22:01:59 +02:00
pancake
7695404e6b Only anal.next if address within an executable section 2014-09-17 10:42:54 +02:00
pancake
3f8b2f1ff1 Fix afna for PE bins (jmp data-references) 2014-09-15 22:44:32 +02:00
pancake
effd1856a1 Handle 'reloc.' rules, but requires better analysis (ujmp) 2014-09-15 19:35:49 +02:00
condret
9f84b020de out-comment and replace a weird line of code 2014-09-15 03:37:34 +02:00
pancake
db9c22aade Fix memleak in core/anal 2014-09-14 04:24:03 +02:00
pancake
a4ad8d88e9 Fix function fit size issues 2014-09-12 11:07:57 +02:00
pancake
fd013cced5 Refixes for the analysis engine 2014-09-12 04:57:39 +02:00
pancake
af5e9c21b7 Make `.afna @@ fcn.* happy 2014-09-12 03:23:59 +02:00
pancake
e4479dec04 Initial implementation of 'afna' (auto function name guess) 2014-09-12 03:17:02 +02:00
pancake
2369bad71a Fix code analysis loop and add anal.esil mode for r_core_anal_fcn() 2014-09-12 02:37:49 +02:00
jvoisin
9b99c0135d Even more coverifix 2014-08-18 15:03:02 +02:00
pancake
a79250c7ca Fix #1176 - Clear line before showing every anal line 2014-08-10 15:39:00 +02:00
pancake
8f8ac8a73d Fix #1171 - pdf@main wrong start 2014-08-08 15:40:55 +02:00
pancake
e233570391 Fix #1170 - Implement 'afj' command to show function info in JSON 2014-08-08 14:40:50 +02:00
jvoisin
6e662abd91 Fix some minor gcc warnings 2014-07-22 00:24:37 +02:00
pancake
6412539ba7 Fix #1130 - Disassembly view on Graphs is onelined 2014-07-21 01:16:54 +02:00
pancake
c4d2e91508 Fix -fPIC build issue on non-mingw32/cygwin 2014-07-18 15: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
LemonBoy
841a1ed5b6 Better string escaping. Fixes graph view 2014-07-02 18:26:03 +02:00
pancake
44556fe246 Fix code analysis on debugger (r_core_io_reat_at issue) 2014-07-01 17:01:52 +02:00
pancake
7b9d13bbc3 Fix 'afc' (code complexity), fix nulltype xrefs and some helps 2014-06-19 01:11:53 +02:00
pancake
e60552452d Fix coverity issues 2014-06-17 10:29:15 +02:00
pancake
2cc6c7f30b Fix empty graph calls nodes (exposes bug in xref analysis) 2014-06-14 03:22:16 +02:00
Andrew McDonnell
20ed296741 Properly fix incorrect handling of branch delay in analysis. 2014-06-10 11:33:10 +02:00
Andrew McDonnell
e8a76e95e9 Apply the graph.font property to lines as well as boxes. 2014-06-10 11:31:50 +02:00
pancake
0ea452d0f5 Fix build 2014-06-06 00:06:30 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
pancake
54ec41467a Fix analysis. Caused by false xref_add and wrong anal_var used 2014-05-26 10:37:18 +02:00
pancake
92170e2f68 Rename 'ar' into 'ax' again, 'ar' is now for RAnal->reg manipulation
Notes:
- This is just a copy of the code from 'dr' with some modifications.
- The register values are synced back everytime you step in the debugger.
- Those registers should be used when evaluating ESIL to emulate code.
2014-05-25 03:00:24 +02: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
3564ef7b34 Fix infinite analysis issue 2014-05-15 23:59:11 +02:00
pancake
51f09111c6 Fix nopsled unnamed function names issue (t/anal/fcn_name) 2014-05-15 03:14:35 +02:00
pancake
bd82919761 Iinitial warning cleanup 2014-05-12 04:06:40 +02:00
deeso
0c3add7ee0 Moving the bin binding to the appropriate locations 2014-05-07 14:04:14 -05:00
condret
5de3a28205 Fix CID 1211171 2014-05-06 10:56:44 +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
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
jvoisin
0020254a46 Fix CID 1134927 2014-04-30 01:16:07 +02:00
Anton Kochkov
6178c83ca7 Fix CID 1191956 2014-04-30 02:06:40 +04:00
Anton Kochkov
b998034684 Fix CID 1194799 2014-04-29 06:08:38 +04:00
pancake
73e2047e4f Add sys/yara.sh 2014-04-27 02:55:18 +02:00
pancake
d9ff886e41 Sdbize graphs. Using the new 'agk' command 2014-04-27 02:48:42 +02:00
pancake
f0b4e88157 Fix build 2014-04-05 02:20:06 +02:00
Adam Pridgen
3048a34783 Trying to fix mem-leaks, and allow updating of bin object infos 2014-04-03 14:04:07 -05:00
pancake
9e08e07b7b Fix build, remove useless debug printfs 2014-03-31 16:39:16 +02:00
pancake
bc344eea1d Add r2048 game in V! command. Initial sdbization of fcn vars 2014-03-31 03:06:45 +02:00
condret
d6dae07979 Implement RAnalCycleFrame Stuff, New optypes and esil-adc/sbc 2014-03-25 02:36:54 +01:00
pancake
b1b02fba8e Fix linkage of RCoreJava plugin 2014-03-18 00:55:26 +01:00
pancake
fb98bc1335 More sdbization for comments and hints (-250LOC) 2014-03-12 02:44:49 +01:00
pancake
8cfd3d475c Finish implementing RAnalHints on top of SDB 2014-03-11 10:53:44 +01:00
pancake
73a46d574c SDBize and refactor Anal-Hints, still unfinished 2014-03-11 02:47:10 +01:00
pancake
7c8daf1e70 Refactoring RBinMeta into RBinDbgInfo 2014-03-10 02:27:32 +01:00
pancake
a1902426e6 RCons.clear_line() now can clear stderr line too 2014-03-08 02:56:04 +01:00
pancake
f7bdfb2bbc Fix #575 - Thanks @montekki - plus other enhacements
- Use ↑ for utf8 backlines
- Support multiple RAnalMetas on every line in disasm.c
- Use sdb in disasm to retrieve RAnalMetas instead of api
2014-03-08 02:36:33 +01:00
pancake
081e0b7b0d Apply jjdredd patch adding backward analref search 2014-02-27 10:38:24 +01:00
pancake
e5f534eee6 Fix #585 - Fix use-after-free bug 2014-02-04 04:42:54 +01:00
pancake
4180b24f56 Fix graph with trash data in it 2014-02-25 00:38:18 +01:00
pancake
f364124f3f Fix #648 - Crash in test-r_anal.py 2014-02-22 01:58:40 +01:00
pancake
4bb63d4c2e Use dynamically allocated *next (+15% analysis speedup + better analysis) 2014-02-20 00:43:06 +01:00
Samuel Groß
d7d351416d Fixed memory leak in r_core_anal_fcn()
In certain situations the function would return early after an error
occurred without freeing the next array first, thus leading to a leak.
2014-02-20 00:34:28 +01:00
pancake
1f1367382b Add 'aos' to sdb-ize the esil, file.suppress_warnings renamed to file.nowarn 2014-01-31 02:02:51 +01:00
Adam Pridgen
ade29bba09 comment out extraneous debug statement 2014-01-22 22:09:47 -06:00
pancake
0cce4f19fb Refactor to fix bindings 2014-01-23 04:34:59 +01:00
pancake
6656f8d0fa Some more cleanup and rmeta fixes 2014-01-23 04:00:01 +01:00
pancake
0776c81feb Refactoring in RAnal->Meta for -8LOC 2014-01-23 03:28:25 +01:00
Adam Pridgen
db1bb1a089 Changed the location of RBinObject, and created RBinFile to conform similarly to
RCoreFile, where RBinFile contains meta information for RBinObjects.  Now
RBinFiles are swapped out along with the RCoreFile when the priority is changed.
2014-01-20 02:44:25 +01:00
pancake
ae85c1c16b Fix data references and prefix after flag in disasm 2014-01-20 00:14:00 +01:00
pancake
4c8346fd8a Fix more coverity issues 2014-01-18 23:02:53 +01:00
jvoisin
84f2776374 Fix a memory corruption an remove some strcat 2014-01-18 01:49:39 +01:00
deeso
b5eb1d1ae5 Added preliminary concept for analysis plugin cmd ext, implements a basic dump of class imports, fields, and method definitions. 2014-01-14 20:34:30 -06:00
Adam Pridgen
5c140609be Added fix to update sym flags, cp_obj load addresses, and add functions after analysis 2014-01-13 15:49:33 -06:00
Adam Pridgen
737664ae87 Added RBinBind to RAnal to facilitate information passing between processed bin and analysis 2014-01-10 10:20:23 -06:00
Adam Pridgen
bc2ee1f869 Improved plugin analysis allowing plugin developers to define custom
analysis algorithms.
Java analysis plugin is re-written to leverage this capability.
Added some new R_ANAL types, and some of the respective operations and strings.
Updated io-component files to get file size and info
2014-01-03 00:28:46 +01:00
pancake
2fb1da0fe3 More .size refactoring 2013-12-06 05:31:54 +01:00
pancake
05d7188a9a Fix dynamic format string functions
- s/r_str_dup_printf/r_str_newf/g
- Add r_strbuf_setf()
2013-12-04 00:20:52 +01:00
pancake
b98c327385 Random fixes 2013-12-03 03:36:56 +01:00
pancake
46b7bac8e5 Fix #355 - Missing output cleanup of 'aa' command progress 2013-11-14 01:52:38 +01:00
pancake
ede55b55c4 Fix r_mem_mem and handle 'K' in visual cursor mode to see manpages 2013-11-03 13:47:34 +01:00
pancake
ed1d87f19d Fix #289 - Oops. Negative function size at ...
- Negative values is the status, not a negative length
2013-10-27 02:34:31 +01:00
pancake
195396099f Fix #295 - SIGSEGV in /r $number 2013-10-27 01:40:39 +02:00
pancake
bec4f5b63a Fix radiff2, Ps segfaults and ARC syntax
- Fix some nullptr derefs on uninitialized graphdiff structs
- 'ar' is now r_cons compliant and rnum friendly (add arj)
- Fix some arc disasm syntax issues
- Fix segfault when saving analysis info in projects
- ARCompact analysis needs to be rewritten
2013-10-24 13:59:19 +02:00
pancake
61042a4cb9 Fix #290 - Sigsegv while saving project 2013-10-24 00:36:07 +02:00
pancake
a5b9d9126a Code analysis fixes, add 'sf' command and add visual seek feedback 2013-10-20 00:25:37 +02:00
pancake
230896cd65 Fix code analysis issue 2013-10-12 02:32:35 +02:00
pancake
d8e41ac26b Fix code analysis issue (code vs data) 2013-10-12 02:19:01 +02:00
pancake
342e5db5ec Fixes for r_num_to_bits() 2013-10-11 04:25:46 +02:00
pancake
7867d8cdc1 Handle 'hlt' x86 instruction as trap in analysis 2013-10-10 00:59:12 +02:00
pancake
32816c4669 Rewrite the code flow analysis logic 2013-10-08 04:58:51 +02:00
pancake
ab654dea32 Fixes in analysis, add 'R' in visual to randomize colors 2013-09-30 04:23:58 +02:00
pancake
0f2fd99986 Fix some warnings and add a specific plugins.cfg for emscripten 2013-09-15 23:57:22 +02:00
pancake
302328a76c Fix #203 - Call to a section + some more work on utf8 2013-09-03 22:45:43 +02:00
pancake
38a3d0fa3f Renamed some 't' commands and more work on supporting sdb types everywhere 2013-09-02 01:20:12 +02:00
pancake
e4d6be85ff Fix #174 - 'aa' will do 'af' when no entrypoints found 2013-08-22 00:11:43 +02:00
pancake
a597b0e414 Bring back code|data xrefs to life. Use 'ar' command
'ax' and 'ar' are in conflict. must resolve
Uses sdb to store code and references
Ugly code that needs a huge cleanup
Update to latest sdb
2013-07-19 03:35:45 +02:00
pancake
b963192a31 Redefine local flags commands and minor fixes in disasm.c
Use Color_RESET after fcn, label and flags in disasm.c
RCore.anal_fcn_local_list() now takes RCore* as 'self'
Redesign commands to add/list/remove local flags (f.)
f.a@3: set local flag 'a' at offset 3
f.   : list locals in current function
f.*  : as above using radare commands output
f.** : list all locals from all functions
2013-06-30 02:45:33 +02:00
Anton Kochkov
0711e60667 local labels inside functions - initial support 2013-06-29 10:21:15 +04:00
pancake
ef781cbadd New flag rasm2 -c CPU. pointer hints, fix analysis of x86-16 jmps
Add ahp (pointer hints)
Add rasm2 -c flag to select cpu (wip for arm)
rasm2 -e toggles instead of setting
Fix analysis of absolute jumps in x86-16
Push and pops are now magenta \o/
2013-06-17 03:26:48 +02:00
pancake
082fccc1b2 Change r_anal ABI to fix bindings +to_esil_string() 2013-06-09 03:25:32 +02:00
pancake
29066085de New 'afb <bits>' per-function asm.bits, Renamed 'afb' to 'afbb' 2013-05-24 02:53:15 +02:00
pancake
97484a7b6c Add conditionals, 'dsi' to continua !, Fix bindings build
Added r_num_conditional function to stop the instruction set. I is accessible in vuu¡
2013-03-03 05:03:48 +01:00
pancake
06787d0972 Fix 'ad' command (r_anal_data was broken) 2013-02-26 22:03:02 +01:00
pancake
5225c95d18 Fix 'ad', 'a8' and add more test cases for x86/arm assemblers
Fix 'a8' command
Honor argument in 'ad'
Add more tests for x86 and arm assemblers
2013-02-21 11:31:04 +01:00