summary refs log tree commit diff stats
path: root/results/scraper/fex/1654
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
commitf2ec263023649e596c5076df32c2d328bc9393d2 (patch)
tree5dd86caab46e552bd2e62bf9c4fb1a7504a44db4 /results/scraper/fex/1654
parent63d2e9d409831aa8582787234cae4741847504b7 (diff)
downloadqemu-analysis-main.tar.gz
qemu-analysis-main.zip
add downloaded fex bug-reports HEAD main
Diffstat (limited to 'results/scraper/fex/1654')
-rw-r--r--results/scraper/fex/165410
1 files changed, 10 insertions, 0 deletions
diff --git a/results/scraper/fex/1654 b/results/scraper/fex/1654
new file mode 100644
index 000000000..54e6e9f2d
--- /dev/null
+++ b/results/scraper/fex/1654
@@ -0,0 +1,10 @@
+AOTIR: Deleting the RAData inappropriately
+https://github.com/FEX-Emu/FEX/blob/42a632093545d0bf74bb1d87e285e58fa18d0aef/External/FEXCore/Source/Interface/IR/AOTIR.cpp#L353

+

+This is allocated using using FEXCore::Allocator::malloc, then it tries to get freed with C++ delete.

+https://github.com/FEX-Emu/FEX/blob/42a632093545d0bf74bb1d87e285e58fa18d0aef/External/FEXCore/Source/Interface/IR/Passes/RegisterAllocationPass.cpp#L156

+

+This is why when allocating it we have it in a unique_ptr with a custom deleter, but the code is just wrong here. 

+`std::unique_ptr<IR::RegisterAllocationData, IR::RegisterAllocationDataDeleter> AllocData;`

+

+This causes LLVM asan to just immediately barf.
\ No newline at end of file