Mercurial > dropbear
diff test/test_aslr.py @ 1874:1c9215154d4a
Handle /proc/.../maps being reordered
We now search for the first r-xp line in the file
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 03 Feb 2022 22:13:06 +0800 |
parents | d940f8007a45 |
children |
line wrap: on
line diff
--- a/test/test_aslr.py Thu Feb 03 22:12:11 2022 +0800 +++ b/test/test_aslr.py Thu Feb 03 22:13:06 2022 +0800 @@ -28,7 +28,6 @@ # expect something like # "563174d59000-563174d5d000 r--p 00000000 00:29 4242372 /home/matt/src/dropbear/build/dropbear" assert map1.endswith('/dropbear') or map1.endswith('/dropbearmulti') - assert ' r--p ' in map1 a1 = map1.split()[0] a2 = map2.split()[0] print(a1)