Skip to content

Commit f8e3cdb

Browse files
committed
Removed Access Control Incompleteness checker method and its invocations from xEVMLiSA class
1 parent 36978b2 commit f8e3cdb

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/main/java/it/unipr/crosschain/xEVMLiSA.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,6 @@ public static void runCrossChainCheckers(Bridge bridge) {
252252
() -> runUncheckedExternalInfluenceChecker(bridge, contract)));
253253
futures.add(
254254
EVMLiSAExecutor.submit(xEVMLiSA.class, () -> runMissingEventNotificationChecker(contract)));
255-
futures.add(
256-
EVMLiSAExecutor.submit(xEVMLiSA.class, () -> runAccessControlIncompleteness(bridge, contract)));
257255
}
258256
futures.add(
259257
EVMLiSAExecutor.submit(xEVMLiSA.class, () -> runLocalDependencyCheckers(bridge)));
@@ -343,27 +341,6 @@ public static void runUncheckedExternalInfluenceChecker(Bridge bridge, SmartCont
343341
MyCache.getInstance().getPossibleUncheckedExternalInfluenceWarnings(contract.getCFG().hashCode()));
344342
}
345343

346-
public static void runAccessControlIncompleteness(Bridge bridge, SmartContract contract) {
347-
log.info("[IN] Running Access Control Incompleteness checker on {}.", contract.getName());
348-
349-
// Setup configuration
350-
Program program = new Program(new EVMLiSAFeatures(), new EVMLiSATypeSystem());
351-
program.addCodeMember(contract.getCFG());
352-
LiSAConfiguration conf = LiSAConfigurationManager.createConfiguration(contract);
353-
LiSA lisa = new LiSA(conf);
354-
355-
AccessControlIncompletenessChecker checker = new AccessControlIncompletenessChecker();
356-
conf.semanticChecks.add(checker);
357-
conf.abstractState = new SimpleAbstractState<>(new MonolithicHeap(),
358-
new AccessControlIncompletenessAbstractDomain(),
359-
new TypeEnvironment<>(new InferredTypes()));
360-
lisa.run(program);
361-
362-
log.info("[OUT] Access Control Incompleteness checker ended on {}, with {} vulnerabilities found.",
363-
contract.getName(),
364-
MyCache.getInstance().getUncheckedExternalCallWarnings(contract.getCFG().hashCode()));
365-
}
366-
367344
/**
368345
* Runs the Unchecked External Call Checker on a single contract. This
369346
* configures and invokes LiSA with the UncheckedExternalCallChecker to

0 commit comments

Comments
 (0)