Control: retitle -1 ltrace: [p]{read,write}[v]() handling, common *64() functions in modern glibc, [fl]seek[o]()/ftell[o](); requisite [u]llong; 20x speed optimisation in default config; format %b+bin() lens and %w[f]32x
Attaching (a) a fix for the pre-mapping patch that broke misaligned accesses instead of unbreaking them (sorry), and (b) format %b (already in bookworm glibc but now standard in C2x) + a free bin() lens, and (c) format %w[f]{digits}[formatspec] (new in C2x, glibc 2.38). Thus (with a ltrace.conf that has "long write(int, string3, bin(ulong))": $ cat qwe.c int main() { printf("%#b\n", 69); printf("%w64x %s\n", "gameing", (char *)0); write(1, "zupa\n", 5); } $ ./ltrace -F ./ltrace.conf ./qwe | tail printf("%#b\n", 0b1000101) = 10 printf("%w64x %s\n", 0x563ab86eb013, nil) = 14 write(1, "zupa\n", 0b101) = 5 +++ exited (status 0) +++ zupa 0b1000101 %w64x gameing Best, наб
signature.asc
Description: PGP signature