Florian Märkl
d7258113d9
Add Tests for MSVC VTables and RTTI ( #16754 )
2020-05-02 18:34:03 +02:00
Khairul Azhar Kasmiran
4ba026258e
bin.str.enc=utf8: Assume ASCII first 🇺🇸 + add some more tests ( #16735 ) ##bin
2020-05-02 18:15:13 +02:00
Florian Märkl
d586793bf5
Fix r2r -i fix for single-line EXPECT=
2020-05-02 17:44:18 +02:00
pancake
fc65e0f6a8
Fix the Debian package build, add missing deps ( #16745 )
2020-04-30 12:00:58 +08:00
Riccardo Schirone
a29f0ccce5
Add CI job for CentOS 6 build ( #16712 )
...
* Fix re-definition of RAnalBlockCb and RAnalAddrCb
* Small compilation fixes for gcc-4
* Check PTRACE_GETREGSET before using it
* Add GH workflow to run on centos:6 for prerelease branches
* Fix configure.acr
2020-04-29 19:02:02 +08:00
GustavoLCR
cb7d6b4390
Fix #16737 - PE: fix overly agressive section fixing ( #16743 )
2020-04-29 12:22:27 +08:00
GustavoLCR
c1e81f4245
Fix #16739 - PE: fix getting import entries from single directory ( #16742 )
2020-04-29 12:21:56 +08:00
atodekangae
b18529696c
Fix assembling of xchg so that it roundtrips
2020-04-29 00:13:25 +02:00
atodekangae
60fbd0b83a
Fix assembling of xchg and the tests for it
2020-04-29 00:13:25 +02:00
atodekangae
e40e51d2ce
Fix assembling of bswap r8(d)-r15(d)
2020-04-29 00:13:25 +02:00
pancake
55f99ba4f4
Fix regression loading large files (>2GB) on 32bit systems ##io ( #16648 )
2020-04-28 22:09:30 +02:00
Liumeo
7ffb7cf77a
Do not redefine assert in dis.c ( #16694 )
2020-04-28 19:35:29 +02:00
Riccardo Schirone
d4fd59a4e3
Fix some coverities ( #16740 )
...
* relocs was leaking otherwise (CID 1427852 and CID 1353777)
* Free RCmdParsedArgs before returning (CID 1427851)
* Do not double free tmp array (CID 1427850)
2020-04-28 18:21:58 +02:00
pancake
7df1b200a6
Reduce memory usage in DEX files by caching the getstr calls ##bin ( #16706 )
...
type top vsz rss time
------------------------------------
calloc 339M 4732640 365452 48s
pvector 338M 4731012 371484 48s // XXX fails somehow with trash indexes
htup 338M 4731556 371620 58s
nocache 350M 4742936 376156 52s
2020-04-28 16:13:20 +02:00
pancake
c88d13e4af
3.5x faster DEX loading parsing debug_info section ##bin ( #16733 )
...
* Use proper RBuf api instead of doing bulk reads in DEX ##bin
* Loading an 8MB DEX file: Before: 48s, After: 17s
2020-04-28 13:50:24 +02:00
pancake
afeb859366
Boolify some RUtil.file APIs ##util ( #16734 )
2020-04-28 14:00:42 +08:00
GustavoLCR
2938ac5db1
Fix tests for pe exports
...
Signed-off-by: GustavoLCR <gugulcr@gmail.com>
2020-04-27 23:13:19 +02:00
GustavoLCR
4c4da83cbe
Fix #16702 - Fix PE exports ordinals
2020-04-27 23:13:19 +02:00
pancake
f961eca6f0
Fix windows build
2020-04-27 23:08:45 +02:00
pancake
62809d9ad3
Fix autodetection dbdir in r2r @unit ##tests ( #16644 )
2020-04-27 16:52:23 +02:00
pancake
af4b6e7dc3
Avoid the use of for (int
in our codebase ( #16718 )
2020-04-27 15:47:21 +02:00
pancake
80a01cb4e3
Implement r_strbuf_setptr API and improve + test it more ##util ( #16649 )
...
Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2020-04-27 13:10:57 +02:00
Khairul Azhar Kasmiran
4d180b9b0b
Fix AppVeyor build by fixing Meson version ( #16728 )
2020-04-27 13:09:09 +02:00
GustavoLCR
2bf97bf570
Fix #16531 - Fix binary file opening permisson in sandbox ##windows ( #16722 )
2020-04-27 13:28:39 +08:00
Khairul Azhar Kasmiran
670e087795
Fix #16543 - bin.str.enc affects izz + ascii is now alias for latin1 ( #16720 )
2020-04-26 22:17:41 +08:00
GustavoLCR
ac5355fb3d
Fixes for windows debugger - ##windows ##debug ( #16717 )
...
* Fix #15937 - Fix debuggee hanging when attaching to it
* Fix `dm` not working for attached processes
* Fix debuggee crashing when opening a file dialog
* Unify RIOW32Dbg and w32dbg_wrap_instance under W32DbgWInst
* Don't signal threads on select, only on continue
2020-04-26 11:54:36 +08:00
Khairul Azhar Kasmiran
f8a8691522
r2r: Enable ANSI esc seqs on Windows ( #16714 )
2020-04-26 04:43:40 +08:00
Florian Märkl
b935803385
Refactor Variable comments from SDB into RAnalVar ( #16715 )
2020-04-25 17:23:36 +02:00
Florian Märkl
ed4a643fae
Minor Restructuring of RAnalVar ( #16713 )
2020-04-25 16:06:38 +03:00
atodekangae
f1e113ca8f
Fix assembling of pop r8-r15 ( #16710 )
2020-04-24 18:40:09 +02:00
pancake
d511ddcfd3
Hide filehashsize warning under bin.verbose ( #16709 ) ##bin
2020-04-24 17:21:20 +02:00
Alexis Ehret
78de31fe69
Unify the relocations loading ( #16705 )
...
* Mov init rel_cache inside the bin init
* Introduce array cache
* Use bin->relocs after loading all relocs
* Handle bin->relocs == NULL
* Remove last free
* Use cache to get relocations
2020-04-24 20:26:30 +08:00
Riccardo Schirone
c90b2fadc7
Avoid defining unused is_ts_* functions ( #16692 )
2020-04-24 11:56:00 +02:00
mdolmen
411ee616a1
Remove hardcoded supported encoders names ( #16664 ) ##util
2020-04-24 11:49:22 +02:00
Anton Kochkov
38e6e39317
Move inferior GNU Hexagon plugin to extras ( #16661 ) ##asm
2020-04-24 11:38:30 +02:00
Disconnect3d
179345644d
Fix string length in strncmp call of the http server ( #16569 )
2020-04-24 11:30:40 +02:00
Riccardo Schirone
8e9bbc9b15
Support relative temporary seek in cfg.newshell ( #16693 )
...
* Support relative temporary seek in cfg.newshell
* Add test for relative temporary seek
2020-04-24 11:23:55 +02:00
Riccardo Schirone
169531abb5
Pass parsed arguments directly to RCmd ( #16703 )
...
* Remove r_cmd_call_long API because never used
* Remove r_cmd_add_long because never used
* Remove r_cmd_args and fix some spaces
* Add RCmdParsedArgs and unit tests
* Introduce r_cmd_call_parsed_args and use it in cmd.c
* Introduce RCmdParsedArgs in cmd.c
2020-04-24 09:46:43 +02:00
Liumeo
34be38f96e
remove dl.h and dl.c ( #16696 )
2020-04-24 09:17:36 +02:00
karliss
ccb3ae0fac
Don't start panel mode when noninteractive. ( #16701 )
2020-04-23 23:34:02 +03:00
Khairul Azhar Kasmiran
123aa79117
x86_64: Support mov r64, 0xffffffffffffffff ( #16630 ) ##asm
2020-04-23 19:30:35 +02:00
Soatok Dreamseeker
342da21bc8
Update fortunes.nsfw ( #16700 )
2020-04-23 18:11:40 +02:00
Riccardo Schirone
34b41e1d20
Add support for >? help_command ( #16699 )
2020-04-23 16:32:53 +02:00
Liumeo
3b7f014040
pointer type mismatch warning ( #16695 )
2020-04-23 08:59:46 +02:00
Eli Schwartz
03bc3c59b5
Add an option to build with system tree-sitter ( #16679 )
...
As of https://github.com/tree-sitter/tree-sitter/pull/602 it is possible
to install tree-sitter as a system shared library, and distributions that want to
be able to disable vendored code.
2020-04-23 13:54:52 +08:00
Riccardo Schirone
db0aa2d796
Restore newshell tests in master branch ( #16691 )
2020-04-23 13:53:03 +08:00
Riccardo Schirone
2d3be881cb
Handle 'q' to interrumpt prompt in newshell ##newshell ( #16681 )
2020-04-22 21:48:43 +02:00
pancake
d3ecd271cf
* Add asm.bytes.right to get the bytes after the instructions ##disasm
2020-04-22 16:24:44 +02:00
Alexis Ehret
6124df443f
Use DYNAMIC info in get_import_addr instead of just section names ##ELF
...
PR: #16530
2020-04-22 16:12:09 +02:00
pancake
c6253de2af
Allow RCore.editor to create files if they doesnt exist ##core ( #16673 )
2020-04-22 12:47:55 +08:00