1 From 4ece4901d13b9fa590a538cc2133374d3c17df6f Mon Sep 17 00:00:00 2001
2 From: Jelle van der Waa <jelle@vdwaa.nl>
3 Date: Tue, 11 Sep 2018 18:21:39 +0200
4 Subject: Ignore .so for no PIE check
6 Signed-off-by: Kyle Keen <keenerd@gmail.com>
8 Namcap/rules/elffiles.py | 2 ++
9 1 file changed, 2 insertions(+)
11 diff --git a/Namcap/rules/elffiles.py b/Namcap/rules/elffiles.py
12 index 6cef680..4ad1e66 100644
13 --- a/Namcap/rules/elffiles.py
14 +++ b/Namcap/rules/elffiles.py
15 @@ -228,6 +228,8 @@ class NoPIERule(TarballRule):
17 if not entry.isfile():
19 + if '.so' in entry.name:
21 fp = tar.extractfile(entry)