Commit Graph

5153 Commits

Author SHA1 Message Date
pancake
8428cacb16 Fix .qword in pd and consider adr on arm64 a lea op 2016-09-21 00:58:06 +02:00
Ahmed Mohamed Abd El-MAwgood
6c47f5a20d Basic merge of no return function with types db (#5774) 2016-09-20 21:54:44 +02:00
Damien Zammit
7d970e45b5 Bigendian fixes: ELF (WIP) - 8 failures left in r2r format.elf BE 2016-09-20 12:42:31 +02:00
pancake
b966a8ddce Only recache hints if database changes. Huge speedup in pd 2016-09-20 11:34:08 +02:00
pancake
6d6a23c456 Add scr.flush and handle ^C in px/pxr/pd/.. 2016-09-20 00:11:59 +02:00
pancake
57fcc54a4d Fix #5790 - 0>> shouldnt quit the prompt 2016-09-19 17:44:22 +02:00
Álvaro Felipe Melchor
e9fe78064d some changes in r2 to handle reloc 2016-09-19 17:34:57 +02:00
Álvaro Felipe Melchor
9088ae76b3 fix bad indentation 2016-09-19 17:34:22 +02:00
pancake
555adaeee1 Fix #5796 - Implement oom to reopen file in malloc:// 2016-09-19 16:50:57 +02:00
Sven Steinbauer
2996538700 Fix #5633 - Change x == NULL to correct syntax 2016-09-19 14:44:47 +02:00
pancake
6cbae900c5 Include some patches frmo termux 2016-09-19 12:21:54 +02:00
pancake
99ec70a82a Fix regression in function naming 2016-09-19 01:18:39 +02:00
pancake
4e5d5cbd91 Fix p=b uninitialized memory issue 2016-09-19 00:47:38 +02:00
pancake
5dca943a09 Fix issue with autonaming functions 2016-09-19 00:23:28 +02:00
zlowram
27922b17fe More zignature fixes (#5795) 2016-09-18 23:07:48 +02:00
pancake
b806494c9d Fix #5748 - Add zs as an alias for z/ 2016-09-18 22:34:03 +02:00
pancake
f404b85d15 Fix /j JSON output by encoding results in base64 2016-09-18 21:58:03 +02:00
zlowram
f9b70631b2 Fixed some issues from #5718 (#5791)
* Fixed some issues from #5718

- Confirmation message for number of lines to print will not appear
anymore if the output is redirected to a file.
- "signature too small" message will be printed to stderr instead of
stdout, so will not appear on zignature file.
- Previous flagspace will be restored after running `.z` or `z/`
commands.

* Changed fprintf (stderr,... to eprintf
2016-09-18 13:28:26 +02:00
pancake
d4a87d1eed Extend oa to load a different bin and handle riodesc properly 2016-09-16 16:32:56 +02:00
pancake
edb43e11f5 Honor cursor again in Vdf 2016-09-16 11:31:30 +02:00
pancake
73b73d507c Fix #5725 - Honor hex.cols in pxe 2016-09-15 19:31:39 +02:00
n4☠0r
515c732bef missed return value (#5777) 2016-09-15 19:25:20 +02:00
pancake
f0466624f6 Fix #5766 - null deref in av 2016-09-15 19:24:59 +02:00
n4☠0r
798959bd6f Fix coverities related to dmh 2016-09-15 19:11:15 +02:00
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