18906 Commits

Author SHA1 Message Date
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
pancake
8b5d02a592 Implement 'b' instruction for the mips assembler 2018-08-03 18:36:26 +02:00
pancake
447116022e Fix asan crash in the fi command 2018-08-03 15:33:27 +02:00
Florian Märkl
62acc1c4e8
Move RVector free into struct (#10882)
* Move RVector free into struct

* Change formatting for inline functions in r_vector.h

* Document differences between vector and pvector
2018-08-03 12:04:19 +02:00
Fangrui Song
16f4c8dadf Print help if cfg.newtab=true (#10893) 2018-08-03 08:44:33 +02:00
Fangrui Song
31629a4f8e cmd_info: add command names beside case labels (#10907) 2018-08-03 08:43:13 +02:00
Fangrui Song
8c2cacbb0a Add help_msg_pc (#10906) 2018-08-03 08:42:35 +02:00
Luca Di Bartolomeo
1c55911ddb Fix: color ascii escapes in json output (#10898) 2018-08-03 11:50:58 +08:00
sivaramaaa
e6796bf812 Add a verbose option for afta to increase visibility on missing database input (#10897) 2018-08-02 21:25:34 +08:00
Maijin
096d5eed00
?%? must be the same as %? Fix #10866 (#10894) 2018-08-02 13:18:48 +02:00
Paweł Łukasik
20cacc39a0 Fixing the issue with seeking to a function name that starts with 'A' (#10890)
* Fix issue with seeking to function name starting with 'A'
2018-08-02 13:09:42 +02:00
Maijin
66d3b4d0fe aflqj as ints Fix #10572 2018-08-02 10:11:05 +02:00
Maijin
70f65c9521
iX for listing .c found with dbginfo #6159 (#10892)
* iX for listing .c found with dbginfo #6159

* iX for listing .c found with dbginfo
2018-08-02 10:10:17 +02:00
Maijin
6eda76e0f8
Fix #1361 (#10889) 2018-08-01 22:27:19 +02:00
Luca Di Bartolomeo
5aced3c295 Fix arrow keys not working in visual refs mode (#10887)
* Fix: arrow keys not working in visual refs mode

* Refactor: exit from visual refs mode with 'q' or ESC
2018-08-01 22:05:24 +02:00
cyanpencil
3fda01343d Fix: coverities 1394583 1394582 1394447 2018-08-01 17:52:06 +02:00
Khairul Kasmiran
ce752a7b81 Minor refactoring 2018-08-01 23:02:19 +08:00
pancake
cb5ce6ce47 Add sys/meson.py --alias 2018-08-01 14:51:41 +02:00
pancake
eb355771f5 Disable graph.dotted by default 2018-08-01 14:40:07 +02:00
pancake
9f4a8d325f Fix #10864 - crash in vsf header parsing 2018-08-01 13:12:05 +02:00
Florian Märkl
12d748f41b Fix r_pvector_insert_range() for C++ 2018-08-01 12:39:29 +02:00
Riccardo Schirone
77b04bbfce anal/fcn: do not use raw type, but first mask it with TYPE_MASK (#10879) 2018-08-01 16:08:34 +05:30
Iru Cai
e8d1fa559f PE: fix bin_pe_rva_to_paddr when vsize is 0 in section header
- set vsize as raw data size if it's zero in section header
- use bin->section instead of the data in section header
2018-08-01 10:19:39 +01:00
Iru Cai
358b317b21 PE: save PE_(r_bin_pe_get_sections) result to bin->sections 2018-08-01 10:19:39 +01:00
Fangrui Song
ca55402f2f Fix meson build (#10877) 2018-08-01 09:28:03 +02:00
pancake
5c3ede332c Fix build of the a2f plugin 2018-08-01 06:45:54 +02:00
pancake
2f943bf606 Fix core.anal -> core.a2f in plugins.*.cfg 2018-08-01 06:38:41 +02:00
pancake
c82b3a4e26 Fix crash in hbo_swift-sd.c:102_1.elf 2018-08-01 05:26:05 +02:00
pancake
d59bcb8aa9 Fix read_bin_xtr_fatmach0.c:22_1.class crash 2018-08-01 05:18:13 +02:00