Commit Graph

383 Commits

Author SHA1 Message Date
pancake
399fcc24aa Fix #12615 - Fix renaming vars from vvv 2019-01-04 17:40:51 +01:00
pancake
c40ddd3552 Several improvements in the Visual mode (help, tabs, ...) ##visual
- Remove the V@ command - not intuitive and a bit alien
- rotating print modes with tab was segfault because of UB
- Implement recursive interactive help
- Support ranged cursor selections (for pxd, pxb, pxq, ...)
- 'i' in pxb visual runs Vd1 to edit the bits under the cursor
- V' is no longer mixed with Vt
- Properly restore the print sub-modes in tabs
- Smart tab key hints (beter located and shorter)
2019-01-02 02:09:31 +01:00
GustavoLCR
7530895d0a Fix a few clang scan-build bugs (#12562)
* Removed unnecessary variable from libr/core/disasm.c
* Removed not necessary assignment in libr/core/casm.c
* Removed not used assignment in libr/bin/dwarf.c
* Rem. duplicate declaration and not used values
* Fixed potential memory leak in java/class.c
* Fixed potential memory leak in ragg2
* Removed unnecessary variable in visual.c
* Another potential memory leak in class.c
* Removed not used value assignment
* Fixed memory leak in dwarf.c
* Removed not needed assignments
* Remove more not used assignments
* Refactored where bin_sections gets arch & bits for clarity
* Removed more assignments that are not used
* Rem. more unused assignments
* Surround assignment with paranthesis
2018-12-26 12:54:12 +01:00
radare
0ca4d00251
Implement support for nword in ahi ##anal (#12494)
- ahi0 == ahi
- any digit from 0 to 9 is valid
- test case:

	$ r2 -qcq - << EOF
	wx c7458843c6ff00
	pd 1
	ahi 10
	pd 1
	ahi-
	ahi1 10
	pd 1
	EOF

	mov dword [rbp - 0x78], 0xffc643
	mov dword [rbp - 120], 0xffc643
	mov dword [rbp - 0x78], 16762435

* Fix behaviour in ahi nword and assume nword is 0 by default
* Add VdI
2018-12-17 12:56:07 +01:00
pancake
4a83ba9dc0 Improvements for repeated Vd 2018-12-15 12:39:09 +01:00
pancake
2f176bdc61 Better asm.hints and support repeating in dw ##visual 2018-12-15 12:30:15 +01:00
pancake
8ff572b26f Improve pxa, use more colors. honor VdF (pf format) 2018-12-11 11:07:59 +01:00
pancake
272d01784e Add fcnInsteadOfAddr arg for proper xX in visualRefs from V, Vb and VV 2018-11-25 01:55:46 +01:00
pancake
bc322ac9cf Fix #12313 - Vbv is not VbF 2018-11-25 01:23:33 +01:00
dav1901
c1f30de193 Minor code cleanups free/R_FREE (#12157) 2018-11-14 21:23:20 +01:00
Riccardo Schirone
d6aab51c2b WIP: gcc8 warnings (#11795)
* arch/ebc: fix style and remove gcc8 warnings
* parse/parse_ppc_pseudo: fix gcc8 warnings
* parse/parse_mips_pseudo: fix gcc8 warnings
* anal/esil: fix strncat usage
* shlr/tcc: fix snprintf usage
* parse/parse_dalvik_pseudo: fix sprintf -> snprintf
* lang/vala: fix gcc8 warnings
* core/vmenus: fix snprintf usage
2018-10-12 12:17:29 +02:00
Maijin
10468820ff Fix - Remove unwanted eprintf in vmenus 2018-09-18 10:01:44 +02:00
Neven Sajko
4a722e80d8 Add braces to if, else, for, while ... (#11504) 2018-09-13 10:17:26 +02:00
Michael Scherer
b88ed340fb Remove global for addr since that's uneeded (#11501) 2018-09-12 18:45:59 +02:00
Neven Sajko
d8784641ee Add parentheses in macros where needed for safety (#11290) 2018-08-30 13:16:50 +02:00
pancake
6d05365f30 Make RAsmOp use RStrBuf instead of fixed-size buffers
* Seems to work, but there are many things to improve and fix
* Fixed some bugs (overflow, sandbox bypass, ..)
* Exposes some memleaks and bad api usages.
* Refactor all the things! \o/
* Fix z80, tms320 disasm and x86.as
* Care about memleaks
* Support meson
* And fix more tests related to pda and pdj and m68k
2018-08-22 11:43:05 +02:00
Rene Laemmert
e012f03559 removed the last ?y from vmenus (#11070) 2018-08-13 13:52:02 +02:00
pancake
a61d80ff9f Fix last coverities and the use of r_str_cmp as list comparator
* Fix avra test and avoid long time loading trash data in avra
2018-08-11 20:59:28 +02:00
Luca Di Bartolomeo
800fa1b909 Some improvements to the visual color editor VE (#10979)
* Feat: select background color in visual color picker
* Feat: various enhancements to visual color editor

Added truecolor support
Made initial help more helpful
Added h/l keys to switch colortheme
Added c key to change the command used to generate the preview
2018-08-08 12:12:28 +08:00
cyanpencil
515950c559 Added color palette support to visual types menu 2018-07-23 11:11:15 +08:00
Luca Di Bartolomeo
13a2cb344a [WIP] Colorize function arguments and variables part 2 (#10777)
* Colorize comments that hint type of data
* Use new colors for comments that hint type of data
* Colorize local variables and args in disasm
* Fixed leak in r_anal_var_all_list()
* Refactoring + rename color func_arg* to func_var*
* Updated all color themes for func_var* colors
* Directly query sdb for faster and cleaner var colorizing in r_colorize_opcode
* Remove hackish r_core.h include in print.c and use callbacks instead
2018-07-20 12:45:51 +02:00
sivaramaaa
87267a9e35 Fix noisy output in afta 2018-07-17 23:16:41 +02:00
Florian Märkl
16d72de010 Use OneShot for cons->event_resize 2018-07-12 11:36:13 +02:00
pancake
bab054835f Fix warnings and make omo depriorize the new map by default 2018-07-08 23:11:37 +02:00
Vanellope
47f0788cf0 Fixed a few covs 2018-06-29 13:48:25 +02:00
pancake
79b898fd15 Improve vv: vvR, vvd and colorize title 2018-06-28 05:02:51 +02:00
pancake
4e18271eb7 Handle JK in vv<tab>, add _hud and improve vv? help message 2018-06-28 03:15:18 +02:00
radare
4924d1ff1e
Improve vv visual function browser and add afls to sort function list (#10525)
* Improve vv visual function browser and add afls to sort function list
* afls->afl+, sort afls help
* afls: new command (the old afls is now named alf+)
* Fix glitch in vv and fix behaviour in vb: and vbF
* add the ability to select column with tab to scroll with jk in disasm
* add colors
* enter seeks to the function
* var list row selector fixed
2018-06-28 00:54:50 +02:00
Florian Märkl
f449ae66f5 Fix Command History and Quit 2018-06-17 11:34:03 +02:00
vane11ope
cf8c87a24b fixed a coverity found in vmenus 2018-06-17 01:01:09 +02:00
pancake
7fb3381f80 Fix last covs 2018-06-11 11:48:22 +02:00
pancake
95af694ef9 Do not sprintf after r_str_newf 2018-06-10 21:15:23 +02:00
Paolo Monti
b77e26a341 Added ability to rename variables far from cursor (#10309) 2018-06-10 21:13:03 +02:00
Synray
8aa87a3820 Add cons_pal_len 2018-06-10 03:27:53 +02:00
sivaramaaa
c858dae72c Honor op mask in r_core_anal_op 2018-06-10 03:17:33 +02:00
sivaramaaa
e5bbaffbfe Refactor code to change R_ANAL_OP_MASK_ALL to appropriate value 2018-05-31 19:05:54 +02:00
Rene Laemmert
a5fc453b72 Fixes slow vmenu pds (#10158) 2018-05-22 16:35:02 +02:00
sivaramaaa
0adef36e84 Fix fcn maxstack issue in variable recovery (#10086)
* Fix afv commands and other issues
* Honor anal.vars
* Fix some issue in stackop due to inconsistent esil
* Fix afvd printing issue
* Fix vars summary and add afv* to help
2018-05-15 23:14:09 +02:00
pancake
a23212b464 Add 'A' and 'd' keys in visual panels 2018-05-10 10:51:35 +02:00
Khairul Kasmiran
2faadf6d86 r_cons_singleton() 🠊 r_cons_singleton () 2018-05-02 21:36:08 +08:00
pancake
4f83f9c06d Fix non-null terminated string in asm.meta=0 2018-04-23 02:14:48 +02:00
Florian Märkl
cee122e9df Make r_cons_rgb_str() safe (#9938) 2018-04-21 11:31:24 +02:00
pancake
848981912f Fix last covs, and some reindents 2018-04-11 10:25:22 +02:00
pancake
5d6e22888e Vr now toggles asm.*hints 2018-04-11 09:19:48 +02:00
sivaramaaa
4f87b3c4e0
Fix build,Add missing arg to r_cons_any_key (#9860) 2018-04-11 07:51:04 +05:30
pancake
17dfb2d3d4 Reimplement VbC in C and drop it from Vcjr 2018-04-11 03:00:05 +02:00
pancake
1adac87918 Update sdb-1.1.0, update calls to sdb_fmt() 2018-04-10 23:52:47 +02:00
pancake
fe7ae5d0af Fix last 20 coverity issues 2018-03-19 11:51:04 +01:00
Florian Märkl
d6e3036322 Propagate changes of fcn->_size in anal->fcn_tree 2018-03-18 15:11:29 +01:00
Florian Märkl
93d9f4ec66 Add mask parameter to r_anal_op() 2018-03-16 11:10:15 +01:00
redmed666
24e076e19e Fix #9595 (#9673)
* Added an address mask inside the RAnalEsil struct in order to be sure that the address accessed is relevant with the asm.bits of the file + Changed the calls to r_anal_esil_new

* Corrected the addrmask in r_anal_esil_new

* RTTI: Read MSVC Complete Object Locator

* RTTI: Read MSVC Class Hierarchy Descriptor

* VTable End on Reference

* RTTI: Read MSVC Type Descriptor

* RTTI: Read MSVC Base Class Array, Better Printing

* Add anal.cpp.abi

* Minor Code Style Changes in RTTI

* Fix rahash2 entropy to show non truncated double (#9629)

* Anal - whitespace fixes

* Honor CFLAGS on the static build test compilation (#9677)

* change coding style tab width to 4 (#9670)

* Meson: use more built-in options (#9678)

* Add support for extended regex in asm search (#9675)

* Fix #9665 - Backwardly handle scr.color={bool}

* Fix #9676 - Infinite loop in ecs with scr.color=2

* Adding help for redirection (#9679)

* Refactores function r_str_split_list to receive the character to split by (#9672)

* Fix #9666 - lines with comments do not use Unicode reflines

* Fix uninitialized optypes_list issue in cmd_debug

* update asan.sh to actually take the env for ASAN

* removed incorrect return (#9685)

* Fix UB in ESIL

* Initial import of the CoreUndo API and uc command

* Initial implementation of cmd.pdc to select pseudo-decompiler

* Handle recursive pdc calls

* Fix RPrint.strconv_mode memleak

* Fix leaks in RSyscall.srdb

* Use r_syscall_ref to avoid dblfree-or-leak issue

* Arm thumb/thumb selector for the armass (#9681)

* added function to translate number to imm12
* added function to get thumb shifts easily
* added selector, newfangled implementation of adc
* add bitmask for command suffixes
* added new routine for parsing suffixes to opcodes. Error check added in getnum. Bugfixes.

* Few improvements to 8051 memory mapping (#9686)

* update memory map when idata/sfr/xdata regs change
* set address space name on map
* fix regression, remove debug output
* fix regression, enable map name

* Some fixups for #9682 (#9688)

* Fix: coredump generation for huge programs (#9680)

* Refix #9666 - lines with comments do not use Unicode reflines

* Removed code unnecessary due to dcf3db0250

* Fixed free const warning

* Fix another memleak in RSyscall

* Fix more memleaks

* Fix leak in RConsPal.rainbow

* Fix 18K leak in anal.x86.cs

* Fix some more memleaks in disasm and fix issue in str overlap

* Fix memleak in RCore.anal_refs and fix regression

* Revert "Fix some more memleaks in disasm and fix issue in str overlap"

This reverts commit a902df837b.

* Fix memleak regressions

* Bring back another memleak fix

* Fix an undefined behaviour in RParse.filter

* Fix memleaks in disasm.c

* Add cundo.c to Meson (#9694)

* Bring back an ugly buffer pack access issue to make it work

* Cast to void * in R_FREE (#9692)

* Set anal.cpp.abi to msvc for pe

* Add better help for av

* Split avr into avr and avra

* Make av, avr and avra breakable

* Add RTTI struct specific print functions

* RTTI: Support MSVC x86_64

* PE: Fix too short section name.

* PDB: define a constant to store the max length of a section name and use id.

* PDB: dump the size of structure and union in JSON mode.

* Fix cast issue in eprintf for debug.core.linux

* Move the asm and anal plugins for x86.udis to extras

Available via r2pm -ci udis86

* Remove more udis86 references

* Fix warnings

* fix pcache ptr-fuckup

* Fix defragger theme

* Fix crash in asl and fix its behaviour

* Fix memory leak in blaze anal and silent a warning

* Implement ?q to be like ?v but in quiet mode

* Fix Meson build

* Add missing 8, 16, 32 bit registers (and flags) for the linux-arm64 debugger reg profile

* Fix 'Cannot find function at UT64_MAX message'

* Add some Pingu to fortunes.fun

* Loading Core (x86, x86_64, aarch64) (#9669)

* Ragg2-cc -> Ragg2 merge (#9658)

- change of 'access' function for 'r_file_exists' for windows portability
- several changes in the way ragg2.c is done, see PR #9658 pancake comments
- change function for the remove of 'file'.text
- open changed for r_file_dump
- some elt of cEnv_t are now const
- skip all the pointers verification in set_cEnv but do them in check_cEnv instead
- add 2 r_str_sanitize for file and CC in parseCFile
- rewrite the removal of .o, .tmp, .bin, .s files, with cleaner code
- changed the long command with sed and grep to 2 C functions.
  - The function parseCompiled that basically does what the command was doing
  - And r_str_stripLines that is equivalent to "grep -v" (maybe we should put this one in str.c ?)
- simplify a bit getCompiler function with a const char* array
- add ternary operator for armOrMips condition
- use r_file_path for finding path to compilers
- new file created in libr/egg which contains all the C file parser
- modifications of 2 files to match the change :
  - libr/egg/r_egg.h
  - libr/egg/Makefile
- the function r_str_stripLine is simplier (the mallocs wasn't needed)
- the function r_str_stripLine is moved to libr/util/str.c
- libr/include/r_util/r_str.h is changed accordingly

* Revert bd3465c9a3fbeddf83980dc07eaac588320f7d (warning remains fixed)

This reverts commit titled "Fixed free const warning".

* Added an address mask inside the RAnalEsil struct in order to be sure that the address accessed is relevant with the asm.bits of the file + Changed the calls to r_anal_esil_new

* Corrected the addrmask in r_anal_esil_new

* Cleanup expressions in esil.c (addr &=...)

* Corrected r_anal_esil_new definition in r_anal.h

* Added an address size max in the ESIL config (maximum address size reachable by the ESIL VM)
2018-03-16 10:45:17 +01:00
pancake
5da2685463 Prefix ec escape code with x1b to not look weird 2018-03-11 17:38:21 +01:00
xarkes
d5f57a7ccb Fix fg+background colors handling 2018-02-24 19:14:55 +01:00
xarkes
b2b647a5f7 Renamed COLOR_MODE constants 2018-02-24 12:04:48 +01:00
xarkes
5e097dbae1 Killed cons->truecolor in favor of cons->color 2018-02-24 11:47:38 +01:00
xarkes
7e98502666 Code refactoring for the color palette handling
* RConsPrintablePalette initialization
* Remove scr.rgbcolor
* Added RColor support to cons_pal_parse
* Added warnings about pal_set and missing event_update
* Code cleaning (char* to RColor), less rgb_parse
2018-02-23 19:00:47 +01:00
pancake
5194e9012a Honor scr.color in Vbf 2018-02-09 13:59:27 +01:00
pancake
cde9613e46 Fix #9254 - Resize crash in af;VVv 2018-01-27 23:39:02 +01:00
pancake
0cb277c2a6 r_str_ansi_chop -> r_str_ansi_trim, r_str_chop_path -> r_str_trim_path 2018-01-08 03:33:01 +01:00
pancake
fb43dd401a Fix #9060 - base64 encode strings in pfj s 2017-12-22 12:15:51 +01:00
pancake
7692032542 Fix Vdx 2017-12-16 02:01:28 +01:00
xarkes
805cc944b8 Add an command that works like Vdn, to rename flags in anal refs 2017-11-26 20:10:49 +01:00
pancake
2c39e67d80 Initial implementation of the 'ff' command to check the distance between flags 2017-11-23 14:34:07 +01:00
Khairul Kasmiran
ce42385b96 r_meta_del: removed unused str param 2017-10-30 23:01:46 +08:00
alvaro
b03a2587f3 Fix NULL dereference
When specifying no index while using Vbc, atoi(num) crashed r2
2017-10-23 16:39:45 +02:00
Lowly Worm
13f7995120 let you rename vars using vmenu 2017-09-27 00:01:55 -07:00
Lowly Worm
c8dd3db664 just need to fill in the todo for renaming vars 2017-09-26 23:32:34 -07:00
Lowly Worm
1f0ead7b0a make the variable view actually scroll vars 2017-09-26 23:25:20 -07:00
Lowly Worm
a3823f946b actually show the vars in vmenu 2017-09-26 23:13:19 -07:00
pancake
01bb156928 Remove dupped asm: in Vd1 2017-09-22 15:43:49 +02:00
radare
ffb2c9e928 Fix bits issue and add r_str_reverse 2017-07-31 11:33:39 +02:00
Anton Kochkov
8041b3c284 Fix a few leaks 2017-07-29 20:30:02 +08:00
pancake
f0aed31b39 Fix define visual array of data issue Vcjjjd[bBwW] 2017-07-18 02:15:49 +02:00
Marc
1c772a9672 Enhance icj, ic and id in Dex (#7821) 2017-06-27 17:02:14 +02:00
Ayman Khamouma (ak42)
c3bb9e5edf Add command ecH for instruction highlighting support (#7741)
* only use Color_NOBGRESET when actually needed
2017-06-20 15:48:45 -05:00
pancake
54150fa3db Fix last covs 2017-06-12 11:28:54 +02:00
alvarofe
7af491dda5 Fix build 2017-06-09 21:35:38 +02:00
pancake
470c183010 Initial work towards supporting a visual ESIL debugger VpOd 2017-06-09 19:12:20 +02:00
Francesco Tamagni
05a52327e2 Expose class method's flags (#7253)
- a superset of method flags is defined with R_BIN_METH_* constants
- a new field, RBinSymbol->method_flags holds them
- every parser can expose them
- they show up in `ic` commands and VB, either in compact form, JSON and r2 commands
- exposed them for objc and dex
2017-04-12 02:27:27 +02:00
pancake
e694e8dc8c Show demangled method names in VB 2017-04-11 00:16:36 +02:00
pancake
8edcc53a18 Implement asm.section.sub to prefix offsets with section name in disasm 2017-03-28 22:55:58 +02:00
pancake
7db1a11d33 More reindent and use R_EMPTY instead of {0} 2017-03-25 02:30:00 +01:00
davidpolverari
1fb422b532 Fix #6162 - Renames r_str_concat to r_str_append 2017-03-16 22:29:49 +01:00
pancake
f82930fd75 Fix latest covs 2017-03-15 12:12:55 +01:00
pancake
3a97771842 Fix #7018 - VE works in small terminals too 2017-03-14 17:46:37 +01:00
alvarofe
b99f40bc5d Fix build 2017-03-12 22:52:02 +01:00
alvarofe
bb2f1ec3c3 Fix show classes in vmenus.c when empty classes 2017-03-12 22:43:57 +01:00
Álvaro Felipe Melchor
9ee49b509e Added dh to handle hints in visual mode 2017-03-12 11:22:16 +01:00
pancake
4bbc73a0e2 Fix #6818 - json indent ~{} honors scr.color
- Cannot configure the color palette
2017-02-20 02:32:58 +01:00
pancake
e11f033110 Honor Vd[x] in batch mode, also refresh with Vrq 2017-02-06 00:55:03 +01:00
pancake
1cac404463 Vr refresh visual screen 2017-02-06 00:24:01 +01:00
SchumBlubBlub
6c00c9e2d5 Reorganize string macros 2017-02-06 00:00:03 +01:00
pancake
d6aec49504 Add shift information in visual bit editor Vd1 2017-01-29 17:25:13 +01:00
pancake
ca7ae6fc56 Fix #6587 - Add HUD to VB 2017-01-29 03:57:40 +01:00
pancake
c17889a9b4 Fix fd and use it in axt and visual xrefs 2017-01-24 01:41:12 +01:00
pancake
9039228b58 Honor Q as an alias for q! in visual and prompt 2016-12-19 04:46:50 +01:00
Álvaro Felipe Melchor
87724384d1 added r_cons_break_{push/pop} to handle ^C better
Besides an UAF has been fixed afecting only ELF
2016-11-21 16:56:12 +01:00
pancake
4e3837ad8f Fix last COVs 2016-11-10 11:44:00 +01:00
pancake
a9607cf526 Fix #6163 - crash in Vst 2016-11-09 02:35:44 +01:00
Álvaro Felipe Melchor
ae2888dbc7 add r_str_nlen_w to get wide or ascii len
we already have r_str_nlen and r_wstr_clen to get either ascii string or wide
string length but in some cases such as defining string with 'Cs' or 'ds' from
visual mode we do not know if is a wide or ascii so r_str_nlen_w try to detect
and is prone to errors.

We should rename those API and maybe introduce new command to handle both cases
correctly without guessing and letting the user to chose the best
2016-11-07 23:31:22 +01:00
Álvaro Felipe Melchor
2748f407b6 check to avoid mix wide and ascii strings 2016-11-07 22:53:06 +01:00
Álvaro Felipe Melchor
9c3e2a46b5 support define wide string with ds in visual mode 2016-11-07 20:54:00 +01:00
pancake
afd70ba590 Fix VVvr empty fcn renaming name 2016-11-05 01:18:32 +01:00
radare
20ec177ba0 Initial implementation of flag zones 2016-10-06 02:40:26 +02:00
alvaro_fe
413ff4313a Fix some coverities 2016-09-27 18:56:34 +02:00
pancake
43a3eacddb Enhance Visual bit editor with 30% more colors and keys! 2016-09-22 12:19:21 +02:00
pancake
b966a8ddce Only recache hints if database changes. Huge speedup in pd 2016-09-20 11:34:08 +02:00
pancake
edb43e11f5 Honor cursor again in Vdf 2016-09-16 11:31:30 +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
BlueC0re
6f314bf0db fix immediate base setting in visual mode 2016-08-26 20:02:02 +02:00
pancake
4f1c50f7f5 Code cleanup and reindent in visual/core 2016-08-23 03:02:23 +02:00
pancake
a877693dc7 Fix issue with silly compilers 2016-08-18 02:25:43 +02:00
pancake
b5febd2690 Add pP in Vv with afi, pds, pdc, pdr, pdf 2016-08-18 01:27:24 +02:00
pancake
9021789382 Fix #5546 - Implement Vv[JK] to scroll pages of functions 2016-08-18 00:29:11 +02:00
pancake
e1b94b8343 Update sdb to fix an overflow in the base64 decoder 2016-08-15 01:02:05 +02:00
Ahmed Mohamed Abd El-MAwgood
ad1565d9e4 few enhancements for afv FIX #5459 (#5461)
replacing afv[bsr]n  with afvn
replacing negative sign `n` with `_`
being consistent across the documentations (args + locals = vars)
refactoring code
2016-08-09 00:17:42 +02:00
pancake
3e5f636869 Fix Vcdn to rename local vars - reported by @ret2libc 2016-08-08 01:00:47 +02:00
pancake
ce1ce1cf63 Add +/- for the bit editor 2016-07-05 12:31:25 +02:00
pancake
8532e0c6da Initial implementation of Vd1, the bit editor 2016-07-05 05:25:45 +02:00
Jeffrey Crowell
2f6d778aef cleanup usages of r_str_newf to meet style guide 2016-06-15 19:42:03 +00:00
oblique
f06e11b6f4 Fix warnings (#5078)
* Fix gcc warnings

* Fix strtoull return
2016-06-06 00:33:11 +02:00
oblique
be4b061eda r_str_ansi_crop: Reset color on new line (#5048)
Fixes #5036
2016-05-31 11:50:12 +02:00
Sven Steinbauer
547f8bbc5c Infer fixes Round 2 (#4993) 2016-05-24 22:22:15 +02:00
pancake
b8af249dc4 Press any key in Vv: 2016-05-20 17:20:06 +02:00
pancake
1aff4b141d Fix #4959 - Fix linewrap in Vv 2016-05-20 17:11:29 +02:00
Riccardo Schirone
8727840e90 anal/fcn: use getter/setter to access the size of a RAnalFunction
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
Damien Zammit
5e1ad580db build: fix warnings 2016-05-08 12:21:11 +02:00
v14dz
3226ec5b08 Remove duplicate 'q' option displayed in the visual define menu (Vd) (#4740) 2016-05-01 14:47:44 +02:00
Davide Balzarotti
86760900b1 Added color support for the hud.
- Fix issue #3570

* new matching algorithm (list of space-separated words, case insensitive)
  - Fix bug #4704
* refactoring some code
* updated copyright
2016-04-28 14:02:22 +02:00
pancake
534bc9ddf8 Use VBlp to preview a class method 2016-04-28 03:17:16 +02:00
pancake
33fee7f734 Autodetect thumb code in af 2016-04-28 01:38:11 +02:00
pancake
2e58923b84 Add grep mode and colors to VB 2016-04-28 01:24:49 +02:00
pancake
c7d37b3e43 Enhance the VB class list cursor 2016-04-28 00:15:12 +02:00
oddcoder
0c409d52e8 Fix #4478
* Add `b` key to bind selected type to current offset.
* cursor can be beyond the end of types.
* colorize title bar if scr.color.
* missing union tab.
* 'd' key doesnt works (should delete types and fields).
* ~~'a' must add a key instead ofa type if inside a struct.~~
  it is and easier to delete that stuct and recreate it with that
  extra key
* add `-` key to open cfg.editor to load types
2016-04-01 19:24:41 +02:00
Riccardo Schirone
28f3561512 core/vmenus: add 'Vdn' option to rename flags/vars in current inst 2016-02-23 02:35:47 +01:00
Riccardo Schirone
23006460c1 flags: refactoring of r_flag_set
flags: remove dup parameter from r_flag_set
2016-02-22 18:21:25 +01:00
Riccardo Schirone
b80c635aba flags: refactoring of the APIs to unset a flag item
flags: free items when using unset_name, unset_off or unset_glob
2016-02-22 18:21:25 +01:00
pancake
384cfb1042 Fix last coverities 2016-02-16 02:08:09 +01:00
pancake
11326489df Add Vdx to find xrefs with ./r 2016-02-16 01:21:36 +01:00
Álvaro Felipe Melchor
a2c9a63b82 Add repetitions when defining data for b and B when Vd 2016-02-13 22:17:14 +01:00
Álvaro Felipe Melchor
27d60454a4 Fix #4096 2016-02-11 07:30:09 -06:00
pancake
6b79f915df Fix #4095 - VdW chopping down to 32bits 2016-02-10 11:45:25 -06:00
jvoisin
3b7d9c42fc Use letters as well as numbers for ahi bases 2016-01-17 19:34:30 +01:00
pancake
dd08af0158 Remove unused code 2016-01-14 14:58:02 +01:00
Jeffrey Crowell
82d1ba53af show the acutal function next to the variables 2016-01-13 09:59:31 -05:00
Jeffrey Crowell
2b6203e2fa show the vars and args, fix a small leak. 2016-01-13 00:35:14 -05:00
Jeffrey Crowell
e8332fef8c start adding var editing experience to vmenu 2016-01-13 00:23:49 -05:00
pancake
5badc6acc2 Show more disasm preview in Ve 2016-01-11 00:40:14 +01:00
Jeffrey Crowell
fdba4bca4d prevent scrolling past end of fcn list in vmenu 2015-12-20 13:12:16 -05:00