Valgrind version 3.25.x use XML protocol 4 by default, except when --track-fds is used (then it uses protocol version 5). There should be a test, that checks, that passing this flag works as designed and that file descriptor misuses are reported properly. If everything works, it might be useful to enable this flag by default (only after assessing the potential fallout).