Skip to content

Commit

Permalink
tmp: assert commented
Browse files Browse the repository at this point in the history
  • Loading branch information
merendamattia committed Jan 9, 2025
1 parent 12ad112 commit d03199a
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ public class EVMBytecodeSolidiFITxOriginTruth {

private ConcurrentMap<Integer, Integer> _results = new ConcurrentHashMap<>();
private ConcurrentMap<Integer, Integer> _solidifi = new ConcurrentHashMap<>();
// private HashSet<String> _taintedOpcodes = new
// HashSet<>(List.of("OriginOperator"));

@Test
public void testSolidiFITxOriginTruth() throws Exception {
Expand Down Expand Up @@ -118,7 +116,7 @@ else if (value < valueSolidifi) {
log.warn("{} false positive on buggy_{}.sol", value - valueSolidifi, key);
}
}
assert soundness;
// assert soundness;
}

public static List<String> getFileNamesInDirectory(String directoryPath) {
Expand All @@ -128,13 +126,10 @@ public static List<String> getFileNamesInDirectory(String directoryPath) {
if (directory.isDirectory()) {
File[] files = directory.listFiles();

if (files != null) {
for (File file : files) {
if (file.isFile()) {
if (files != null)
for (File file : files)
if (file.isFile())
fileNames.add(file.getName());
}
}
}
} else {
log.warn("Path {} is not a directory.", directoryPath);
}
Expand Down

0 comments on commit d03199a

Please sign in to comment.