summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/output/instruction/1808565
blob: 0533270178176bf81f45cb834c21671f70745b98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
instruction: 0.556
runtime: 0.276
syscall: 0.168



Reading /proc/self/task/<pid>/maps is not remapped to the target

Seeing this in qemu-user 3.1.0

The code in is_proc_myself which supports remapping of /proc/self/maps and /proc/<pid>/maps does not support remapping of /proc/self/task/<pid>/maps or /proc/<pid>/task/<pid>/maps. Extending is_proc_myself to cover these cases causes the maps to be rewritten correctly.

These are useful in multithreaded programs to avoid freezing the entire program to capture the maps for a single tid.