Commit Graph

18530 Commits

Author SHA1 Message Date
Florian Märkl
f8a734a58b Fix sleeping for readchar on Windows (#10549) 2018-06-30 02:45:17 +02:00
condret
c37fa5c0ce fix a tiny bug 2018-06-30 02:31:40 +00:00
Florian Märkl
f44864c0ea Add in_functions to p- (#10545)
* Use macro in cmd_print_blocks()

* Add in_functions to p-
2018-06-30 01:54:43 +02:00
cyanpencil
7a246f3cea Fix auto complete in offset seek in visual 2018-06-30 01:54:22 +02:00
vane11ope
cfd1c39f36 adjusted the layout for split screen a bit 2018-06-30 00:30:19 +02:00
sivaramaaa
6bbd179be2 Fix a null deref in var_rename 2018-06-29 15:20:02 +02:00
sivaramaaa
f08d7f4614 Prevent register based var sub in disas 2018-06-29 14:33:11 +02:00
sivaramaaa
6e124742e4 Intial support for register base args 2018-06-29 14:33:11 +02:00
sivaramaaa
b698d5d2ff Add mask while parsing RAnalop.dst/src 2018-06-29 14:33:11 +02:00
Vanellope
47f0788cf0 Fixed a few covs 2018-06-29 13:48:25 +02:00
David CARLIER
0b56069c20 Fix asm parsing issue found in OpenBSD (#10528)
(memcpy vs memmove)
2018-06-29 13:03:52 +02:00
Florian Märkl
896b987f9d Refactor p- a bit and add blocks count arg (#10534)
* Move p- code to separate function
* Add blocks count arg to p-
* Fix from and to initialization in cmd_print_blocks()
2018-06-29 11:22:11 +02:00
morbith-dqtz
d5a32f6aca Support heap glib tcache in dmh family (#10540) 2018-06-29 11:17:57 +02:00
Luca Di Bartolomeo
e0f6d9a90e Fix flags cut function lines (#10535) 2018-06-29 01:44:59 +02:00
Andrea Sindoni
237a29de18 Added stopaddr dbg info to dij (#10532)
* Add stop address info to the "di" command

* Added stopaddr dbg info to dij
2018-06-29 01:02:56 +02:00
Vanellope
c0b655b568 the key allocation for split screen is changed and also fixed a bug concerned with split screen, a bit of refactoring included (#10533) 2018-06-29 01:02:34 +02:00
fcasal
a9d957ee25 Added json version of register telescoping (#10530) 2018-06-28 15:54:48 +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
radare
7747da5b2f
Kill anal.bb.split variable (asume true is good and by default) (#10522) 2018-06-27 21:20:23 +02:00
pancake
0e78a762a0 Add svg with more logos 2018-06-27 20:56:56 +02:00
Vanellope
d6c42882a9 Implement vertical and horizontal split in panels (#10521) 2018-06-27 19:46:29 +02:00
fcasal
58c11e94cb Added json version of dp* (#10518) 2018-06-27 19:45:28 +02:00
Florian Märkl
7743169a9b Fix double unlock in task_join() (#10519) 2018-06-27 17:06:29 +02:00
Khairul Azhar Kasmiran
435b8dc47c Fix pdJ when asm.imm.str=true and asm.cmt.right=false (#10516) 2018-06-27 17:03:44 +02:00
radare
e9ce0d64fa
Fix #10498 - Fix crash in fuzzed java files (#10511) 2018-06-27 13:56:59 +02:00
Florian Märkl
c6a3b6bc49 Add tasks_running to RCore to reduce tasks overhead (#10514) 2018-06-27 12:59:23 +02:00
Rene Laemmert
443f41d139 Removed bin_load from cmd_debug.c (#10512) 2018-06-27 12:09:10 +02:00
Brenton Morris
e25b62fb03 Fix a few memory leaks for windbg (#10504) 2018-06-27 00:57:56 +02:00
pancake
15ff90059f Fix #10500 - oo reopens without debugger 2018-06-27 00:24:31 +02:00
cyanpencil
2745486b16 change cases flag format 2018-06-26 23:09:40 +02:00
cyanpencil
2050d8c4b7 Fix possible buffer overflow when scanning address 2018-06-26 23:09:40 +02:00
cyanpencil
a42ab667d1 Fix default case missing 2018-06-26 23:09:40 +02:00
cyanpencil
af956d26e8 Fold cases of switch in the same address 2018-06-26 23:09:40 +02:00
Florian Märkl
f18a01fb6a Fix a few warnings 2018-06-26 23:09:07 +02:00
Florian Märkl
7bc994803c Join Tasks using Lock 2018-06-26 23:08:24 +02:00
pancake
895fd8fe35 Try anal.jmptbl=true 2018-06-26 23:07:21 +02:00
pancake
fa3851b76e Fix #10494 - crash in rparse.filter 2018-06-26 15:32:05 +02:00
scrapbird
518f980f66 Storing thread entrypoint 2018-06-26 15:31:02 +02:00
scrapbird
c3ec296214 Implementing dpt for windbg plugin 2018-06-26 15:31:02 +02:00
Riccardo Schirone
2df06bd870 Fix ELF issue with null SHT entries (#10449)
* format/elf: extract function to avoid duplicated code
* format/elf: use ut64 to avoid errors in ELF32

Otherwise, while analyzing ELF32, -1 will be interpreted as the unsigned
value 0xffffffff, which is very different from -1 (0xffffffffffffffff).

* format/elf: fix symbols with shndx == SHT_NULL

Symbols with shndx == SHT_NULL should not be listed as symbols but they
should be available when other ELF structures (imports, relocs, etc.)
reference them.

This patch adds those symbols in the symbols_by_ord table but not to the
list of available symbols. Imports/relocs/etc. work by indexing symbols
by symbol index, so they are going to use the symbols_by_ord table and
make everything work.

Moreover, it refactors a bit the relocs function to avoid duplicated
code.

* bin: setimportd/setsymbold should clone the import/symbol
* bin/bin.c: free fields only when sym is not NULL
* format/elf: do not filter out symbols with size == 0 and consider sht_null symbols in shdr too.
* bin/bin.c: create R_STR_DUP macro and use it in _clone functions
* format/elf: when parsing symbols from phdr, stop at first UNK type/bind
* create some R_BIN defines to handle strings related to TYPE and BIND
  in RBinSymbols
* format/elf: add a doc
2018-06-26 13:48:53 +02:00
Khairul Kasmiran
d856b609a5 64 bits == 8 single-byte chars 2018-06-25 23:06:24 +02:00
Khairul Kasmiran
f1010355a9 x86_cs MOV family: set val to 2nd operand if imm and if 1st operand is reg 2018-06-25 23:06:24 +02:00
radare
a00d09e5d0
Fixes for winedbg spawn (#10486) 2018-06-25 14:53:25 +02:00
Giovanni
3e6f5a41de Blind fix coverity 1393602/1393610/1393603/1393609/1393606/1393608/1393605/1393607 (#10491) 2018-06-25 13:32:56 +02:00
pancake
0c52d943e5 Fix visual hang in winedbg:// and implement dr* 2018-06-25 11:49:18 +02:00
pancake
2803fe80e8 Fix crashes in io.winedbg 2018-06-25 11:19:46 +02:00
Vanellope
14ec1592a7 More refactorings in visual panels
* bunch of refactoring and the split screen function has been added.
2018-06-25 10:46:22 +02:00
pancake
4b3b4d8059 Fix #10467 - oobread crash in anal.z80 2018-06-25 10:25:25 +02:00