clslgrnc / tbrop

Consider decorating method with @staticmethod PYL-R0201
Performance
Major
10 months ago5 years old
Method doesn't use the class instance and could be converted into a static method
380    def getChainCondition(self):
381        return set(self.gadgetMatrix.chainCond.nonzero()[1])
382
383    def getReturnCondition(self, to):384        # TODO: use self.gadgetMatrix
385        return None
386
Method doesn't use the class instance and could be converted into a static method
373    def getLength(self):
374        return len(self.instList)
375
376    def getRegisterAccess(self, frm=None, to=None, rflags=False):377        # TODO: use self.gadgetMatrix
378        return None
379