4141 Commits

Author SHA1 Message Date
pancake
e344564013 Fix return type in var.c 2021-11-14 18:22:10 +01:00
pancake
4c9fac84a0
Generate bin/d the same way as other sdb paths with meson ##build
* Add -Dwasan=true for meson to compile with msvc's address sanitizer
* Clear the prefix dir before installing, so we ensure it's more realistic
2021-11-14 00:57:35 +01:00
aemmitt-ns
bd901a3861
Improvements on the arm64.v35/cs plugins ##esil
* fix arm.v35 conditional sets, cs arm64e ESIL, add q0-31 aliases
* add default to prevent warnings
2021-11-12 16:37:02 +01:00
Sergi Àlvarez i Capilla
3111f11a86 Fix two minor covs 2021-11-09 13:27:42 +01:00
Dennis Goodlett
b7a3516820
Fix bugs in types validator ##signatures (#19392) 2021-11-09 09:06:17 +01:00
pancake
8ae0aa38c8
Fix wasi builds and update wapm package in the new dist/wapm ##build 2021-11-08 10:45:35 +01:00
Sergi Àlvarez i Capilla
52cb0dda6b Add disasm+decompiler side by side api for the codemeta api ##disasm 2021-11-07 00:44:22 +01:00
Dennis Goodlett
5a34189196
Fix validation of next sigs ##signatures (#19380) 2021-11-06 08:07:25 +01:00
Dennis Goodlett
70ddf62757
Fix afv outputing commands when not in "*" mode (#19381) 2021-11-06 08:06:34 +01:00
Dennis Goodlett
b34d8c8703 Fix leak in sig serialization ##signatures 2021-11-06 08:05:28 +01:00
Sergi Àlvarez i Capilla
0833ffbd6d Fix last covs 2021-11-05 12:48:53 +01:00
RHL120
59b5ec4e3c
Fix a problem serializing vartypes ##projects
That was causing some functions to not be reloaded after saving the project
2021-11-05 11:26:55 +01:00
Dennis Goodlett
7c27574b5c
Simplify deserialization of byte ##signatures
* New API to get fist hex bytes in str ##util
2021-11-05 10:13:56 +01:00
Dennis Goodlett
b00d8c6e0f
Add more information to var ##signatures 2021-11-03 12:59:06 +01:00
Sergi Àlvarez i Capilla
c79a32b450 Indent fixes for anal.dwarf_process 2021-11-02 19:03:54 +01:00
Sergi Àlvarez i Capilla
e8c96eabb3 Implement axtm, axfm and add helps for axf? and axt? ##anal 2021-11-02 19:03:45 +01:00
Sergi Àlvarez i Capilla
49cdf48c37 Use r_str_ndup in another bound check in dwarf ##bin 2021-11-02 18:44:08 +01:00
Sergi Àlvarez i Capilla
046fcdb97c Fix #19327 - Comment dead code to fix a warning 2021-11-02 15:15:34 +01:00
Sergi Àlvarez i Capilla
7c3e4a6137 Fix null esil issues on avr without aeim 2021-11-02 12:23:38 +01:00
pancake
f209fcb903
Improve debug message when misleading a function name ##anal 2021-11-02 11:48:28 +01:00
Dennis Goodlett
5be4f6c092
Add serialization API for vars ##anal 2021-11-02 11:04:35 +01:00
pancake
652497ad0d
Fix oobread in z80 disassembler (tests_65081) ##crash
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-11-02 07:52:10 +01:00
Sergi Àlvarez i Capilla
637f4bd1af Fix oobread crash in DWARF parser (tests_64924) ##crash
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-11-01 00:49:50 +01:00
Sergi Àlvarez i Capilla
49b0cebfdf Fix oobread in VAX disassembler (tests_64920) ##crash
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-10-30 12:09:00 +02:00
Sergi Àlvarez i Capilla
027cd9b727 Fix oobread crash in RAnal.hexagon (tests_64900) ##crash
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-10-30 12:09:00 +02:00
condret
cbc017310c Use new rbtree API in esil_cfg 2021-10-28 19:48:46 +02:00
Sergi Àlvarez i Capilla
55dfb5cae8 Fix metadata for some asm/anal ARM plugins 2021-10-28 13:16:12 +02:00
condret
ce75aeb287 Kill esil [], []= and related operations ##esil 2021-10-27 18:18:26 +02:00
condret
51902d70a8 Kill esil [] and =[] in anal_x86_cs 2021-10-27 01:11:32 +02:00
condret
a70dddfe35 Use new rbtree API in esil_dfg 2021-10-22 01:47:21 +02:00
condret
d6794baf21 Use new rbtree API in RCodeMeta 2021-10-21 19:31:24 +02:00
pancake
6ae90339fd
Add armv7 to the arm.v35 plugin ##disasm 2021-10-19 20:21:36 +02:00
pancake
cf5cd6df56
Fix latest covs (#19259) 2021-10-19 10:49:11 +02:00
Dennis Goodlett
e7df8ad3c7
Simplify types storage in r_sign ##signatures (#19245) 2021-10-18 20:42:05 +02:00
Sergi Àlvarez i Capilla
bd5efdbb18 Copy the z80.archinfo into the gb plugin ##anal 2021-10-18 12:19:03 +02:00
pancake
46fc2a861b Fix maxopsz for z80 2021-10-18 02:00:02 +02:00
Dennis Goodlett
21a079f3e5 Refactor r_sign ##signatures 2021-10-16 11:17:03 +02:00
Sergi Àlvarez i Capilla
b9978c24f5 Hide the 'no calling conventions' warning and add =R0 for x86 ##anal 2021-10-15 02:51:24 +02:00
Sergi Àlvarez i Capilla
b903404895 Improve the reg profile for python ##anal 2021-10-15 02:51:24 +02:00
Sergi Àlvarez i Capilla
98a0bfaf84 Fix crash when using the pyc disassembler without pyc bin ##anal 2021-10-15 02:51:24 +02:00
Sergi Àlvarez i Capilla
4a6c0c8e84 Fix some asserts spotted by r2r and R2_DEBUG_ASSERT=1 2021-10-14 18:49:33 +02:00
pancake
64225f30db
New 'avg' command and RAnal.global to manage global variables ##anal
* Tied to the flags and meta instances
2021-10-14 12:40:55 +02:00
condret
8de5bf092d Cleanup string declaration (use * instead of []) 2021-10-14 02:34:11 +02:00
Dennis Goodlett
d3863dded9 Add return type to zj ##signatures 2021-10-14 01:45:03 +02:00
condret
52262664c9 Fix variable relocation on ood (#19219) ##anal 2021-10-13 22:11:18 +02:00
Dennis Goodlett
d0055f5284
Prevent merging zigns on load ##signatures
* Prevent merging ##signatures of same name on load
* Rasign2 respect -m on -S
* Optimizations
2021-10-11 22:49:21 +02:00
Lazula
0747bcd8e2 Fix new defects in various files
* Remove unnecessary NULL check in __demangleAs()
* Remove unnecessary NULL check in r_io_fd_seek()
* Add missing break in ARM32 COFF case and fix test
* Add missing NULL checks for r_io_bank_get() result
* Add missing NULL checks in r_bin_demangle()
* Add missing NULL check for r_io_submap_new() result
* Fix improper failure check in risv_assemble()
* Add missing break in open command
* Document fall-through case in dalvik anal
2021-10-08 01:31:17 +02:00
Dennis Goodlett
8665744819
Auto-rename name collisions in ##signatures 2021-10-07 08:21:25 +02:00
pancake
39f83cf213 Fix null deref when using anal.a2f ##anal 2021-09-25 11:43:52 +02:00
Fernando Domínguez
e6ce88177e Scan with FLIRT regardless of the function being unknown 2021-09-24 19:25:59 +02:00