Commit Graph

5129 Commits

Author SHA1 Message Date
evanrichter
0209a1679e Add ?en command to echo without newlines 2016-09-15 16:40:51 +02:00
Vlad Ivanov
bd04f57cee anal: always save address in the esil read callback (#5738) 2016-09-15 15:03:54 +02:00
pancake
271fa1ad33 Fix aat 2016-09-15 14:18:28 +02:00
pancake
502f30bf0f Fix #5690 - Vvm -> Vvr 2016-09-15 13:00:27 +02:00
pancake
cde25b0335 Refix #5715 - Add Ve$ command to see vars in visual 2016-09-15 12:40:46 +02:00
Ahmed Mohamed Abd El-MAwgood
0b0f20c4f5 asm.calls final tweakings / bug fixes (#5765)
* Fixing asm.calls with zero argumnts
* Fixing last broken bit of asm.calls
* refactoring the added cdecl dbs
* dsaf# Please enter the commit message for your changes. Lines starting
2016-09-15 11:09:23 +02:00
Ahmed Mohamed Abd El-MAwgood
bc16525860 Making asm.calls true by default
And fixing some of its output syntax issues
2016-09-14 18:23:11 +02:00
pancake
aa2286bc35 Some covs fixed 2016-09-14 18:13:15 +02:00
Ahmed Mohamed Abd El-MAwgood
04cf13df88 integrating asm.calls with function types database (#5761)
Current unfixed issues:
	works with aa, aaa,aaaa but never worked with af
2016-09-14 16:49:19 +02:00
pancake
d4ea3b2277 Fix #5642 - bring back the old afb behaviour 2016-09-14 16:42:23 +02:00
pancake
b7b46d305c Fix for tk 2016-09-14 00:22:43 +02:00
Ahmed Mohamed Abd El-MAwgood
9d6cf8d08c merging afv* commands (#5753)
Due to the uniqueness of name of arguments and variables, They can be
used solely to identify every other piece of information (including the
base register type).
This will make the commands some how user friendly and more usable by removing one extra
letter from some commands.
2016-09-14 00:11:20 +02:00
pancake
ae511391e2 Fix #5729 - tk uses rcons now 2016-09-13 17:08:18 +02:00
pancake
bb48971b98 Add jump/fail in afbj 2016-09-13 12:28:34 +02:00
pancake
68a14b050a Fixes for dr[*]<num> and adjust indent in cmd_debug 2016-09-13 03:46:56 +02:00
pancake
cadb0bd845 Several fixes for gdb:// on avr, still wip 2016-09-13 03:31:54 +02:00
pancake
d6a344acec Fix #5737 - Show '%c' in mov [],v 2016-09-12 23:11:38 +02:00
pancake
d01f3832ad Fix #5742 - Honor -n in -d 2016-09-12 23:04:44 +02:00
BlueC0re
bf33929287 Feature/var struct offsets (#5733)
* delete variables which are shadowed by a structure field
* implemented varsub with structure fields (currently only depth of 1)
2016-09-12 22:43:05 +02:00
n4☠0r
811f902b5c Child thread heap analysis support (#5741) 2016-09-12 22:08:16 +02:00
pancake
496da56a9e Fix sys/ios-static.sh 2016-09-12 20:52:12 +02:00
Vlad Ivanov
b0b71f9f09 aae improvements (#5727)
* anal: increment instruction ptr even when no ESIL result is available

* anal: axf: try to resolve function names for 'C' refs

* disasm: print function names for 'C' refs
2016-09-12 18:41:11 +02:00
pancake
f12b1dbec8 Fix #5720 - Add v in VV 2016-09-10 13:17:09 +02:00
Maijin
532606160a Fix (null) in afna
Fix (null) in afna
2016-09-10 11:36:07 +02:00
Maijin
aa9139d9e4 Add ?$ in the documentation 2016-09-10 00:37:09 +02:00
Ole André Vadla Ravnås
abc9187e14 Fix invalid free() on teardown for io plugins (#5722)
For example given a plugin defined like this:

RIOPlugin r_io_plugin_foo = {
	.name = "foo",
	...snip...
};

#ifndef CORELIB
RLibStruct radare_plugin = {
	.type = R_LIB_TYPE_IO,
	.data = &r_io_plugin_foo,
	.version = R2_VERSION
};
#endif

We will try to `free(&r_io_plugin_foo)`, which was not allocated on the
heap. Static io plugins are OTOH allocated like this, so we need to do
the same for dynamically loaded io plugins. However, this is not the same
across the different plugin types, so we need to special-case io plugins
here.
2016-09-09 19:30:23 +02:00
Paul
10db9ed827 pdf/pdr/anal fix (#5709) 2016-09-09 19:28:47 +02:00
jvoisin
9fdc110816 Fix a typo 2016-09-09 14:52:29 +02:00
Vlad Ivanov
c82e9d7867 anal: fix aae command arguments handling 2016-09-09 14:34:15 +02:00
pancake
59c72bed21 Fix #5715 - Show ?0 variables in ?$ 2016-09-09 14:29:42 +02:00
Anton Kochkov
b86f1c471d Add , help 2016-09-08 13:24:42 +03:00
Álvaro Felipe Melchor
7826f7fda7 fix crash due to latest changes in anal 2016-09-07 20:06:36 +02:00
Vlad Ivanov
676d4dbc2d core: anal: ref R_ANAL_REF_TYPE_CALL for R_ANAL_OP_TYPE_UCALL (#5706) 2016-09-06 23:00:59 +02:00
dromero
d250d21385 Fix for the #5671 issue (#5704) 2016-09-06 12:02:38 +02:00
Maijin
8b413f101e asm.relsub=true by default
asm.relsub=true by default
2016-09-06 10:22:57 +02:00
pancake
2952120e88 Add p=0 and p=F 2016-09-06 05:17:44 +02:00
pancake
6df53f8bb1 Fixes for enum types in t and pf 2016-09-06 04:29:42 +02:00
pancake
6fabf7acc2 Set leahints to false by default 2016-09-06 02:48:01 +02:00
Paul
30a0987c0a Various analysis enhancements
* Updated anal.nonskip is updated
* Possible infinite recursion fix
* anal.hpskip is added (false by default)
* mips fix; build fix; flag_exist_at callback is added
* nopskip fix
* asm.leahints fix
2016-09-05 20:42:04 +02:00
Anton Kochkov
c23c5971a2 Fix macroses help 2016-09-05 04:45:41 +03:00
Ahmed Mohamed Abd El-MAwgood
38f8f7bf60 fixing bug in anal type matching
It should stop its work if the calling convention is not found
2016-09-04 19:13:10 +03:00
BlueC0re
c4f301e52e Fix null pointer deref in meta variable comments 2016-09-04 16:58:00 +02:00
pancake
dad6847883 Add zG exact-match zignatures support 2016-09-04 14:13:08 +02:00
pancake
07656c523b Fix #5684 - Add cfg.minzlen to force minimum length as valid zignatures 2016-09-04 14:02:27 +02:00
pancake
e3e95d1f4c Implement optimized zo command 2016-09-04 13:54:37 +02:00
pancake
e6324bcc62 Add zo command and fix build 2016-09-04 13:44:02 +02:00
Álvaro Felipe Melchor
4d82d3b3bb fix build 2016-09-04 13:43:31 +02:00
pancake
69cefa1442 More fixes for agv path discoverty 2016-09-04 13:31:37 +02:00
NighterMan
9f7ebda012 Fix for invalid JSON ouput on search cmd 2016-09-04 12:17:46 +02:00
pancake
6b5e4f151b Add core.breakLoop for 1000ds and fix 'ds #' 2016-09-04 01:05:14 +02:00