summary refs log tree commit diff stats
path: root/results/scraper/fex/1505
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/1505
parent63d2e9d409831aa8582787234cae4741847504b7 (diff)
downloadqemu-analysis-main.tar.gz
qemu-analysis-main.zip
add downloaded fex bug-reports HEAD main
Diffstat (limited to 'results/scraper/fex/1505')
-rw-r--r--results/scraper/fex/150513
1 files changed, 13 insertions, 0 deletions
diff --git a/results/scraper/fex/1505 b/results/scraper/fex/1505
new file mode 100644
index 000000000..e028f4112
--- /dev/null
+++ b/results/scraper/fex/1505
@@ -0,0 +1,13 @@
+Implement libc thunk library
+Thunking libc itself has the potential to make thunking other libraries significantly more robust by making various workarounds unnecessary (see #1208). Here's an (incomplete) list of nontrivial things that need to be tackled:

+

+* Program startup (`__libc_start_main`)

+* `printf`-like functions (including fprintf, sprintf, snprintf, vprintf, ...)

+* Functions with function pointer arguments (`qsort`)

+* Data symbol handling:

+  * `errno`

+  * getopt: `optarg`/`optind`/`opterr`/`optopt`

+* Struct repacking:

+  * Repacking of data in parameter structs that have different layouts across architectures (e.g. `stat`)

+  * Repacking for arguments passed to callbacks

+* `__lxstat`/`__fxstat`/...: Data layout of parameter struct is determined by a version field