[arch-projects] [namcap] [PATCH] Ignore .so for no PIE check
11 Sep
2018
11 Sep
'18
4:21 p.m.
--- Namcap/rules/elffiles.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Namcap/rules/elffiles.py b/Namcap/rules/elffiles.py index d707a58..41fd1cd 100644 --- a/Namcap/rules/elffiles.py +++ b/Namcap/rules/elffiles.py @@ -223,6 +223,8 @@ class NoPIERule(TarballRule): for entry in tar: if not entry.isfile(): continue + if '.so' in entry.name: + continue fp = tar.extractfile(entry) if not is_elf(fp): continue -- 2.18.0
2259
Age (days ago)
2259
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jelle van der Waa