Commit Graph

18841 Commits

Author SHA1 Message Date
radare
b595774a5b
Fix #14186 - aarj was throwing invalid json 2019-05-31 04:45:19 +02:00
Riccardo Schirone
5754b8b740 Fix some compiler warnings (#14191) 2019-05-30 19:43:27 +02:00
pancake
28b90116c7 Minor fixes for the white themes 2019-05-30 19:36:04 +02:00
Francesco Tamagni
0818dd7bf7 Fix typo (#14192) 2019-05-30 19:18:13 +02:00
Francesco Tamagni
7b1c6f55c7 Make zignature comparison fuzzy ##signature
- it will match zignatures which similarity is >= the given threshold
- different thresholds for bytes and graph
- by default thresholds are 1.0, which means it matches only if it’s the exact same
- zign.diff.gthresh and zign.diff.bthresh are the new eval configs to control that
- the output of zc[n!] now contains the similarity value as well
2019-05-30 17:43:41 +02:00
Riccardo Schirone
9392fc7117 Fix some RBin file format crashes ##bin
* Use st64 and ut64 instead of size_t
* Fix mach0 parsing issue
* Fix OOB write in PE parsing
* Fix crash in bin_xbe parser
* Fix crash in bin_java
Fixes clusterfuzz-testcase-minimized-ia_fuzz-5740477602594816.dms
2019-05-30 15:45:52 +02:00
radare
3e05ecde52
Speedup loading fuzzed ELF files with huge nrel field ##bin 2019-05-30 13:19:30 +02:00
Riccardo Schirone
aaea46bdbc Set bin_obj on bios_bin load_buffer method (#14188) 2019-05-30 12:56:04 +02:00
Vanellope
47507c17f1 Fix a few bugs and the speed in the graph (#14187) 2019-05-30 15:25:13 +08:00
Purdea Andrei
b2187e7741 Add mfc100u and a script to generate them ##windows
* Added python utility to convert from "dumpbin /exports" output file format, to the .sdb.txt formatted files that radare2 uses.

Usage:
     First run 'dumpbin /exports your_file.dll/.lib > your_file_dumpbin.txt'
     Then run 'python convert_dumpbin_exports_to_sdb_txt.py your_file_dumpbin.txt > your_file.sdb.txt'
2019-05-29 16:59:40 +02:00
Khairul Azhar Kasmiran
91afde2cee #define ENABLE_VIRTUAL_TERMINAL_PROCESSING if it's not defined (#14185) 2019-05-29 16:58:52 +02:00
pancake
3705785304 Faster macho loading by reusing symbol parsing for getMain() ##bin 2019-05-29 11:39:43 +02:00
pancake
6b07ffcc77 Remove symbol table size hard limit in macho ##bin 2019-05-29 11:39:43 +02:00
Наташа
bdc1b844e1 Fix project's asm.cpu behaviour ##disasm
Old behaviour: if you bump asm.arch it resets asm.cpu to default of that arch
New behaviout: if you bump asm.arch it keeps asm.cpu if it is set and valid for that architecture
2019-05-29 11:16:40 +02:00
Vanellope
13415d59bf Refactoring (#14181) 2019-05-29 11:11:20 +02:00
Vanellope
9a0d05a709 Clean up the part of the code that fixed the glitch in ansi code (#14180) 2019-05-29 11:10:57 +02:00
Khairul Azhar Kasmiran
80970f9a14 Fix r_cons_get_ansicon leak (#14179) 2019-05-29 11:09:59 +02:00
pancake
e29ba99a07 Add sys/build-shlib.sh and fix static builds ##build 2019-05-28 23:15:22 +02:00
Francesco Tamagni
5730595032 Fix regressions in dyldcache and xnu_kernelcache plugins ##bin 2019-05-28 17:54:12 +02:00
pancake
553e549887 Add missing =SN in the dalvik reg profile 2019-05-28 15:53:42 +02:00
GustavoLCR
349f573562 Fix #14101 - Fix non-ansicon UTF printing ##cons 2019-05-28 10:04:29 +02:00
Vanellope
fa0a9828fe Fix THE glitch affecting panels box colors ##cons 2019-05-28 03:26:23 +02:00
pancake
291046ff87 Fix string ref regression in dalvik 2019-05-28 03:25:06 +02:00
pancake
b3fe881b81 Honor ^C in @@@F and @@@s ##core 2019-05-28 03:25:06 +02:00
pancake
1ffb1b1999 Fix /r for dalvik and enable VA ##search 2019-05-28 03:25:06 +02:00
pancake
c848bb7d4d Priorize strings in case multiple metas match ##disasm 2019-05-28 03:25:06 +02:00
pancake
490e0dec0a Set the RBinSection.format as dwords for the constpool in DEX ##disasm 2019-05-28 03:25:06 +02:00
pancake
6ddbd19dbb Implement refs for iget/iput Dalvik instructions ##anal 2019-05-28 03:25:06 +02:00
pancake
1779434c28 Implement esil for OR and MUL dalvik instructions ##anal 2019-05-28 03:25:06 +02:00
pancake
2feb9d4bb1 RAnalOp.Type.CAST.toString() and implicit refptr init ##anal 2019-05-28 03:25:06 +02:00
Vanellope
2d3f1c9bd6 More refactoring in panels (#14169) 2019-05-28 00:30:00 +02:00
radare
22042a68e0
Improve af performance affected by aflc ##anal 2019-05-28 00:29:35 +02:00
pancake
d5f10e36c9 Honor R_ANAL_OP_MASK_ESIL in anal.dalvik ##anal 2019-05-27 21:38:51 +02:00
pancake
2be271f0cf Fix invoke-virtual method+X dalvik to be UCALL
Solve xrefs to address 0
2019-05-27 21:38:51 +02:00
GustavoLCR
a93ddab5bc Fix Windows build (#14167) 2019-05-27 20:49:41 +02:00
GustavoLCR
6b6051cddf Fix ansicon detection with UTF enabled (#14166) 2019-05-27 18:21:48 +02:00
Khairul Azhar Kasmiran
3aed0e88d5 Default to scr.color=COLOR_MODE_16 for Alacritty on Windows ##cons 2019-05-27 18:21:17 +02:00
dodococo
ffa473dde2 Dfferent color for up and down in disasm reflines ##cons 2019-05-27 18:20:03 +02:00
radare
a875795bb5
Completely eliminate the bytes apis in RBin ##bin
* Huge bytes->buffer on almost all the plugins, break API and ABI \o/
* Changed the way RBinFiles are created
* Changed the structure of the Sdb instance
* Improve ELF and MZ detection mechanisms to reduce false positives
* Change all the free/destroy methods to return void
* Fix "ks" shell
* Simplify and change the way RBinWrite apis work
2019-05-27 18:18:01 +02:00
Vanellope
27347ef76b Cut out the widget as a struct and name it Modal ##panels 2019-05-27 12:43:27 +02:00
GustavoLCR
89f5a68632 Fix #14157 - Fix buf regression in debugger (#14162) 2019-05-27 00:58:49 +02:00
Khairul Azhar Kasmiran
aba69dde4f Set scr.ansicon=1 if running under Windows 10 Creators Update or later ##windows 2019-05-26 11:44:25 +02:00
Vanellope
6d7909aae4 A few bug fixes and refactoring for panels 2019-05-26 11:44:02 +02:00
Khairul Azhar Kasmiran
d64cd38e6b Use shorter esc seqs for fg and bg gray (#14155) 2019-05-25 23:32:56 +02:00
Vanellope
b8e84a09b2 Fix a few bugs of the widget (#14156)
* Fix a few bugs of the widget

* A hack for the smoother move in the widget
2019-05-25 23:31:55 +02:00
radare
1ab587c971
Improvements in dalvik analysis ##anal 2019-05-25 23:31:06 +02:00
Khairul Azhar Kasmiran
7d449419bb Implement r_cons_show_cursor for Windows (#14151) 2019-05-25 09:46:21 +02:00
Vanellope
af42b9c6f8 Enable deleting an item from the list in " widget ##panels (#14150) 2019-05-24 23:24:16 +02:00
Khairul Azhar Kasmiran
bde7ff398b scr.ansicon=2: Show esc seqs (for debugging) if using non-ConEmu-hosted cmd.exe ##windows 2019-05-24 18:25:34 +02:00
Florian Märkl
0f612ad660 Add Stackframe Anal Hint ##anal 2019-05-24 14:56:28 +02:00