X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=kconfig-hardened-check.py;h=f66f61adc48749845f79dbfae7bce0468118be40;hb=885eca86950992cdc34ef6067999fdc5b1467265;hp=d8f844705bcfa7d8290044d6b8225ffd9eb09af2;hpb=eeeeda442683d08c6daa5cd0a52de4ea34c4fc1f;p=kconfig-hardened-check.git diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index d8f8447..f66f61a 100755 --- 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(, ) + @property def name(self): return self.opts[0].name