libmem would refuse to work with Flatpak apps because of libc incompatibility. After some discussion at the Flatpak repository (issue #5516), I got to know about the /proc/<PID>/root directory, which is a "symlink" of how the process sees the root filesystem. This could be used to access the real libc, even if the program is doing virtualization.
NOTE: This should be checked for BSD as well.
libmem would refuse to work with Flatpak apps because of libc incompatibility. After some discussion at the Flatpak repository (issue #5516), I got to know about the
/proc/<PID>/root
directory, which is a "symlink" of how the process sees the root filesystem. This could be used to access the real libc, even if the program is doing virtualization.