You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log("Error: Missing argument for sol file to scan");
process.exit(1);
}
var target = process.argv[2];
var unsafes = SolidityAnalyzer.revealUnsafeCallsFromFile(target);
for (var i in unsafes){
console.warn("\tUnsafe modification of '"+unsafes[i].call+"' [indirectly] from '"+unsafes[i].modified+"'.");
}
var delegates = SolidityAnalyzer.revealUnsafeDelegatecallsFromFile(target);
for (var i in delegates){
console.warn("\tA delegateCall in function '"+delegates[i].functionName+"' might cause malicious access to public methods of '"+delegates[i].name+"'("+delegates[i].type+").");