18934 Commits

Author SHA1 Message Date
David CARLIER
cc30a38cc0 Detects OpenBSD cookie protection for functions which is added with .openbsd.randomdata elf section. (#10967) 2018-08-07 12:07:43 +02:00
Fangrui Song
08e6ed3b78 Fix some -Wincompatible-pointer-types-discards-qualifiers warnings (#10951) 2018-08-07 11:50:06 +02:00
Riccardo Schirone
baa66bc108 bin/p/bin_bootimg: do not divide by 0 (#10964)
* make load_bytes fail if header is not present
2018-08-07 11:41:47 +02:00
Riccardo Schirone
69601be427 format/zimg: make sure there are enough bytes in the buffer 2018-08-07 11:40:55 +02:00
cyanpencil
18a764e94e Fix: added pag up/down and home/end keybindings in selection widget 2018-08-07 11:06:50 +02:00
cyanpencil
30ba4d5c9b Fix: resetting background colors in comments 2018-08-07 11:06:50 +02:00
Fangrui Song
a8f00c4ba9 Update zsh completion files in doc/zsh (#10970) 2018-08-07 10:45:33 +02:00
Fangrui Song
4555d84577 Fix uleb128 decoding pf u (#10949) 2018-08-07 09:46:26 +02:00
Fangrui Song
6c56a41e75 completion: fix potential out-of-bound read and clean up (#10954) 2018-08-07 09:23:27 +02:00
Fangrui Song
78796146be meson: don't compile inclusion-only .c files (#10952) 2018-08-07 09:17:34 +02:00
Anton Kochkov
5b5667138c Fix UB and UAF 2018-08-07 13:00:06 +08:00
Riccardo Schirone
1b129f4862 Make xxhash dependency optional in acr and meson (#10901) 2018-08-06 15:18:50 +02:00
Dmitriy Somov
d28fcdab5a Fix 8466 - Added some BCD operations in ESIL (#10958)
* Fixed cdq in ESIL
* Fix #8466 - Added aaa, aad, aam in ESIL
2018-08-06 14:53:03 +02:00
radare
642ebcc9da
Fix #10933 - Use r_str_newf and sdb_fmt instead of snprintf in cbin (#10950) 2018-08-06 13:01:59 +02:00
pancake
de4b9939ff Some shorter help messages 2018-08-06 13:01:34 +02:00
pancake
a1d34b4afc Reduce width of p? 2018-08-06 12:29:48 +02:00
radare
c1ab35df32
Fix #10800 - Honor op->prefix in op.mnem and add FAMILY_THREAD for x86 and ARM (#10953) 2018-08-06 10:38:02 +02:00
pancake
7444d55483 Disable pemixed inside the plugin 2018-08-06 10:34:21 +02:00
pancake
c5208b84e4 Use io.pcache.write instead of io.cache for performance reasons 2018-08-06 09:39:57 +02:00
pancake
f2bf39beb5 pemixed is no longer our friend 2018-08-06 09:27:27 +02:00
pancake
efe53437ff Add xtr.pemixed plugin in the default list, fix description and add license line 2018-08-06 01:26:14 +02:00
JohnPeng47
ab92677eda Add pemixed plugin 2018-08-06 01:22:11 +02:00
Fangrui Song
90105a92f9 cmd_print: add command names beside case labels (#10948) 2018-08-06 01:19:52 +02:00
Khairul Azhar Kasmiran
0d6adaf1fb Fix -Wformat-truncation warnings in cbin.c for #10338 (#10933) 2018-08-06 01:06:20 +02:00
pancake
c9e8f89f0c Fix #10916 - enable cache around afta 2018-08-06 01:05:14 +02:00
pancake
f07c02eafe Fix infinite loop in x86.nz with 'mov r12, qword[xmm0]' 2018-08-06 00:51:58 +02:00
radare
6d2348fef5
Fix #10902 - Crash when parsing non-null terminated libraries in mach0 binaries (#10946) 2018-08-06 00:45:09 +02:00
pancake
6059a709b6 Fix two stupid warnings in bin_omf 2018-08-06 00:02:29 +02:00
Dmitriy Somov
0da52c6b60 Fix #10776 - added cdq to ESIL (#10944) 2018-08-05 23:50:34 +02:00
Luca Di Bartolomeo
5b75563dea Fix: regression in visual help mode, bring back highlight (#10943) 2018-08-05 23:14:04 +02:00
pancake
6d1ec2d697 Add q!! and q!!! autocompletions 2018-08-05 22:13:33 +02:00
io12
68f3cf65c1 Add various fortunes (#10942) 2018-08-05 22:03:15 +02:00
Luca Di Bartolomeo
370f35c2a6 Vim-like autocompletion in visual offset prompt (#10912)
* Feat: autocompletion widget for offset prompt in visual mode
* Fix: screen refresh when erasing sel_widget
* Refactor: many small changes to the autocompletion widget
* Fix: colors in selection widget taken from palette
* Refactor: do not use utf8 inside selection widget
* Refactor: rename ANSI_ESC_CLEAR_LINE to R_CONS_CLEAR_LINE
2018-08-05 20:53:12 +02:00
Fangrui Song
015ee0bfb1 Add unaligned integer types and fix unaligned load and bound issue in /v (#10934) 2018-08-05 19:32:54 +02:00
Fangrui Song
95094a3c3e cmd_write: add command names beside case labels (#10941) 2018-08-05 19:32:18 +02:00
Fangrui Song
594a438741 meson: don't compile inclusion-only .c files (#10928) 2018-08-05 17:32:05 +02:00
Fangrui Song
d677d9f5ec Fix r_th_self (#10927) 2018-08-05 11:57:00 +02:00
Fangrui Song
6e776b986a Fix some warnings in debug (#10929) 2018-08-05 11:56:15 +02:00
sivaramaaa
1f87361fe3 A simple detection and renaming of stack canary (#10931) 2018-08-05 11:54:34 +02:00
Fangrui Song
dd13b619f8 meson: add -lexecinfo on FreeBSD (#10932) 2018-08-05 11:53:54 +02:00
Fangrui Song
3aafc2cb28 Move global tmp to function-scope (#10936)
The name is so common that it can interpose or be interposed by other modules.
2018-08-05 11:53:29 +02:00
fr0zn
e0db66c554 Fixing crash on ts*, #10914 (#10915) 2018-08-04 23:58:29 +02:00
cyanpencil
69a26bbbf3 Fix: remove again ascii control codes in json output 2018-08-04 23:56:42 +02:00
David Carlier
f4005b888d Change proposal to avoid collision wirth gdb header. 2018-08-04 23:56:02 +02:00
Luca Di Bartolomeo
c076e12941 Add "save to file" to ag*w commands + colorize comments like ";arg1" (#10860)
* Colorize comments like ';arg1' as var type comments

* Choose path for saving dot graph

* Fixed ag? help

* Remove addr argument from most of ag* commands

* Fix: gcc warnings in r_core_graph_cmd + use vartype comments in cmd_type

Refactor: Move r_core_graph_cmd from cconfig.c to cmd_anal.c and make it static

Refactor: moved getViewerPath() to cmd_anal.c too

* Refactor: rename r_core_graph_cmd to graph_cmd

* Refactor: many small refactors of ag* commands in cmd_anal.c

Refactor: solve merge conflict in cconfig.c

Refactor: other small refactorings in cmd_anal.c

* Fix: wrong merge in cconfig.c and updated ag? help
2018-08-05 03:35:50 +08:00
Fangrui Song
ac04e2d965 meson: don't compile files that are not used standalone
They caused a plethora of -Wunused-function warnings.
2018-08-04 18:16:12 +02:00
Khairul Kasmiran
c9ec8b54b9 Cd.: show size of data at current address 2018-08-04 13:41:21 +02:00
Andry
6601ccb583 Fix #10895 - tcc infinite loop 2018-08-04 13:17:29 +02:00
Khairul Azhar Kasmiran
672b2a3850
Add hvaddr to iee(j) output; haddr -> hpaddr (#10899)
* iee(j): add hvaddr

* haddr -> hpaddr

* Minor realignment
2018-08-04 08:17:37 +08:00
pancake
c66112c13b Fix oobread in some situations with the xnu debugger 2018-08-03 18:46:32 +02:00