Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c8590 commit 513db72Copy full SHA for 513db72
1 file changed
Lib/test/support/strace_helper.py
@@ -74,7 +74,7 @@ def sections(self):
74
def _filter_memory_call(call):
75
# mmap can operate on a fd or "MAP_ANONYMOUS" which gives a block of memory.
76
# Ignore "MAP_ANONYMOUS + the "MAP_ANON" alias.
77
- if call.syscall == "mmap" and "MAP_ANON" in call.args[3]:
+ if call.syscall in ("mmap", "mmap2") and "MAP_ANON" in call.args[3]:
78
return True
79
80
if call.syscall in ("munmap", "mprotect"):
0 commit comments