projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeeeda4
)
Add the comment describing OR use case
author
Alexander Popov
<alex.popov@linux.com>
Tue, 24 Jul 2018 20:33:57 +0000
(23:33 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Tue, 24 Jul 2018 20:33:57 +0000
(23:33 +0300)
kconfig-hardened-check.py
patch
|
blob
|
history
diff --git
a/kconfig-hardened-check.py
b/kconfig-hardened-check.py
index d8f844705bcfa7d8290044d6b8225ffd9eb09af2..f66f61adc48749845f79dbfae7bce0468118be40 100755
(executable)
--- a/
kconfig-hardened-check.py
+++ b/
kconfig-hardened-check.py
@@
-59,6
+59,9
@@
class OR:
self.opts = opts
self.result = None
+ # self.opts[0] is the option which this OR-check is about.
+ # Use case: OR(<X_is_hardened>, <X_is_disabled>)
+
@property
def name(self):
return self.opts[0].name