summary refs log tree commit diff stats
path: root/results/scraper/fex/1654
diff options
context:
space:
mode:
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