summary refs log tree commit diff stats
path: root/results/scraper/fex/2291
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/2291
parent63d2e9d409831aa8582787234cae4741847504b7 (diff)
downloadqemu-analysis-main.tar.gz
qemu-analysis-main.zip
add downloaded fex bug-reports HEAD main
Diffstat (limited to 'results/scraper/fex/2291')
-rw-r--r--results/scraper/fex/229146
1 files changed, 46 insertions, 0 deletions
diff --git a/results/scraper/fex/2291 b/results/scraper/fex/2291
new file mode 100644
index 000000000..585226d44
--- /dev/null
+++ b/results/scraper/fex/2291
@@ -0,0 +1,46 @@
+How to use AOTIR in right way ? 
+Hi

+

+I write a simple hello.c to test AOTIR. 

+

+```

+#include <stdio.h>

+#include <stdlib.h>

+

+

+int main()

+{

+    puts("hello, world!");

+    puts("hello, hello, hello  ");

+    return 0;

+}

+```

+

+When I want to use AOTIR feature, 

+

+1. change ~/.fex-emu/Config.json:AOTIRCapture to 1. 

+2. run prog:

+```

+~/source/FEX/build-Release-Thunk/Bin/FEXLoader -- ./hello

+```

+to generate aotir file in ~/.fex-emu/aotir/ directory,  

+3. change AOTIRCatpure back to 0, AOTIRLoad to 1, 

+4. run above command again, now it will use aotir feature 

+

+**First Question:**

+Have a simple way to use this feature ?  I dont want to change config file again and again. 

+

+If i set both AOTIRCapture and AOTIRLoad to 1, then FEX crashed in a null pointer deference.

+

+**Second Question:**

+```

+bogus@bogus:~/source/test/hello$ ~/source/FEX/build-Release-Thunk/Bin/FEXLoader -- ./hello

+try to open file: /home/bogus/.fex-emu/aotir/ld.so.cache-16224829478350186670-sTlP.aotir 

+try to open file: /home/bogus/.fex-emu/aotir/libc.so.6-15624069436683325548-sTlP.aotir 

+hello, world!

+hello, hello, hello  

+```

+I found the FEX not use hello-*.aotir, why ?

+

+**Third Question:**

+what is aotir format? I drag the file into Ghidra , it seems not be recognized.
\ No newline at end of file