24774 Commits

Author SHA1 Message Date
pancake
e33535080d
Allow to set asm.bits when using the r2ghidra asm/anal plugins ##disasm (#17679) 2020-09-21 16:10:32 +02:00
Florian Märkl
ed00e85e65
Use sdb == for generating dbs in meson (#17676) 2020-09-21 15:11:46 +02:00
Riccardo Schirone
eab6061228
Allow spaces for some commands like <cmd> @ <arg-with-spaces> (#17668) 2020-09-21 12:48:47 +08:00
Kārlis Seņko
7042ae727b Refactor r_str_split_lines to use size_t. 2020-09-21 07:48:17 +03:00
Kārlis Seņko
d02e74485f Fix leak in dwarf processing. 2020-09-21 07:48:17 +03:00
pancake
2cf9c91518
Implement tms320.pseudo to fix another arm64 test ##asm (#17613)
Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
2020-09-21 11:51:04 +08:00
Dennis Goodlett
61d9be3ff1
Fix zig add type ##signatures (#17653)
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2020-09-21 00:04:05 +02:00
Florian Märkl
659f54aad1
Kill RAnal.sdb_fcnsign (#17669) 2020-09-19 17:24:45 +02:00
bazuchan
9d61f554f5
Set R2_* variables by calling r2 -H only once (#17650) ##r2pm 2020-09-18 13:39:05 +02:00
Florian Märkl
3d9ce08c19
Fix RAnalFunction leaking imports (#17670) 2020-09-18 08:50:36 +02:00
GustavoLCR
6fb41501ff Minor optimization for type analysis
* Reserve a big enough hashtable to avoid rehashing
2020-09-18 00:21:59 +02:00
GustavoLCR
b5eb956ba2 Don't pollute debug trace after aft 2020-09-18 00:21:59 +02:00
pancake
51c83e01f3
Implement r_str_cat and other random code cleanups (#17632) ##util 2020-09-18 00:20:26 +02:00
pancake
75d80417e1
Fix glitch when asm.hint.pos < 1 in visual ARM ##disasm (#17667)
Co-authored-by: pancake <pancake@nopcode.org>
2020-09-17 18:48:05 +02:00
Aswin C
549784d73f
Implement rj ##json (#17443) 2020-09-17 18:10:07 +02:00
junchao-loongson
17a1cf6a77
Fix anal_mips_cs some compile warning (#17664) 2020-09-17 17:54:33 +02:00
karliss
0222bfe238
Use sdb_set instead of sdb_querys (aaaa is now 7x faster) (#17640) ##performance 2020-09-17 14:15:41 +02:00
pancake
3e5677bd7c Refactor and prefix with R_BIN_ELF_ defines in .h ##bin 2020-09-17 12:38:25 +02:00
pancake
d8dd7c1ffc Add tests for ELF relocs on ARM64 ##bin 2020-09-17 12:38:25 +02:00
pancake
ba9960cffd Dynamic ELF libs can also have relocs ##bin
* Make 32 and 64 bit reloc writes more generic
2020-09-17 12:38:25 +02:00
pancake
63031cc3e9 Add basic support for arm and arm64 ELF relocs ##bin 2020-09-17 12:38:25 +02:00
pancake
b261f2ed5d Define as words more sections in ELF ##bin 2020-09-17 12:38:25 +02:00
karliss
9823c753eb
Match PR coverage number with master. (#17662)
Fuzzing isn't done for pull requests which causes difference in coverage
report.
2020-09-17 12:27:30 +03:00
Riccardo Schirone
159b63e9a7
Correctly check whether esil_str is available (#17660) 2020-09-17 09:31:28 +02:00
pancake
f15f1af521
Fix spacing bugs when parsing the calling convention signatures (#17651) ##types 2020-09-16 19:17:54 +02:00
pancake
413437e2b6
Move arp gdb into arpg, improve error and parsing + tests ##debug (#17658) 2020-09-16 19:16:24 +02:00
Riccardo Schirone
23c029522d
Make codecov/project informational on master as well (#17659) 2020-09-16 12:35:54 +02:00
Khairul Azhar Kasmiran
73317d4955
r_reg_get_bytes: Return NULL if there are no bytes in the arena for the given regset type (#17657) 2020-09-16 18:14:43 +08:00
Florian Märkl
178f69b643
Refactor Labels out of SDB ##anal (#17621) 2020-09-16 09:54:33 +02:00
karliss
8e07354cdd
Move coverage testing to meson-gcc-newshell-tests (#17643)
Previosly used meson-gcc-tests which isn't run on pull requests.
2020-09-16 15:30:00 +08:00
Damien Zammit
8b0bb10ea8
codecov: Add yaml config for ignoring failures in coverage for PRs (#17656)
Also, only test "project" coverage on master or release branches
2020-09-16 09:12:28 +02:00
Riccardo Schirone
87495e591d
Fix #17351: Let external scanner parse #! cmd identifier as well ##newshell (#17629) 2020-09-15 16:06:08 +02:00
Riccardo Schirone
75a80741ee
Make root a argv RCmdDesc ##newshell (#17326) 2020-09-15 15:27:10 +02:00
Florian Märkl
456b0fdf09
Add API for getting Atomic and Typedef Types and remove broken !size (#17599) 2020-09-15 13:31:38 +02:00
Keegan S
36e9314832
Fix #17638 - Fix http server by using TCP in RSocket's protocol ##remote (#17641)
Co-authored-by: meme <meme@users.noreply.github.com>
2020-09-15 11:22:04 +02:00
pancake
797b937175
Implement touch command ##shell (#17645) 2020-09-15 11:11:41 +02:00
Khairul Azhar Kasmiran
d9057505dc
Set RPATH/RUNPATH on r2 libs too if local (#17639) 2020-09-15 09:16:14 +02:00
pancake
2ad2744796
Implement arcc command using the new r_reg_profile_to_cc API ##types (#17618) 2020-09-15 00:59:56 +02:00
pancake
18af675e05
Show ESIL execution cost information in ao and aoj ##anal (#17585) 2020-09-14 10:44:19 +02:00
pancake
4249c71e82
Parse ansi->html properly in pdJ ##disasm (#17628) 2020-09-14 10:21:31 +02:00
Anisse Astier
50eac99601
Add minimal armv7 and aarch32 VFP and NEON support ##esil (#17462) 2020-09-14 09:57:05 +02:00
Dennis Goodlett
67cc898770
Fix multiple bugs in matching ##signatures (#17607)
Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
2020-09-13 23:11:29 +02:00
GustavoLCR
5c96166e2b
Fix MSVC template demangling with ref to mangled symbol (#17601) ##bin
* Fix not adding the template name as an abbreviation
* Add test
2020-09-13 22:38:51 +02:00
Francesco Tamagni
523683f6f5 Add tests for ObjC changes 2020-09-13 22:36:38 +02:00
Francesco Tamagni
67e79f0bb3 Fix ObjC ivar parsing ##bin 2020-09-13 22:36:38 +02:00
Francesco Tamagni
3c4fc3fc26 Support ObjC small method lists ##bin 2020-09-13 22:36:38 +02:00
Francesco Tamagni
90f4ba69b5 Support iOS 14.x dyld shared cache ##bin 2020-09-13 22:36:38 +02:00
Francesco Tamagni
e74b004239 Add support for new macOS kernelcache ##bin 2020-09-13 22:36:38 +02:00
Florian Märkl
ceac3124fb
Add r_strbuf_initf() ##util (#17634) 2020-09-13 10:08:56 +02:00
Aswin C
871857df1a
Use PJ in iAj ##json (#17636) 2020-09-13 09:58:17 +02:00