diff options
Diffstat (limited to 'results/scraper/fex/2291')
| -rw-r--r-- | results/scraper/fex/2291 | 46 |
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 |