|
|
@ -215,6 +215,9 @@ class SlitherSolc(Slither): |
|
|
|
contract.set_is_analyzed(True) |
|
|
|
contract.set_is_analyzed(True) |
|
|
|
|
|
|
|
|
|
|
|
def _analyze_struct_events(self, contract): |
|
|
|
def _analyze_struct_events(self, contract): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
contract.analyze_constant_state_variables() |
|
|
|
|
|
|
|
|
|
|
|
# Struct can refer to enum, or state variables |
|
|
|
# Struct can refer to enum, or state variables |
|
|
|
contract.analyze_structs() |
|
|
|
contract.analyze_structs() |
|
|
|
# Event can refer to struct |
|
|
|
# Event can refer to struct |
|
|
@ -236,7 +239,7 @@ class SlitherSolc(Slither): |
|
|
|
contract.analyze_content_functions() |
|
|
|
contract.analyze_content_functions() |
|
|
|
|
|
|
|
|
|
|
|
contract.set_is_analyzed(True) |
|
|
|
contract.set_is_analyzed(True) |
|
|
|
|
|
|
|
|
|
|
|
def _convert_to_slithir(self): |
|
|
|
def _convert_to_slithir(self): |
|
|
|
for contract in self.contracts: |
|
|
|
for contract in self.contracts: |
|
|
|
for func in contract.functions + contract.modifiers: |
|
|
|
for func in contract.functions + contract.modifiers: |
|
|
|