diff --git a/go/src/crypto/MsgNotHashedBeforeSigVerfication/MsgNotHashedBeforeSigVerfication.ql b/go/src/crypto/MsgNotHashedBeforeSigVerfication/MsgNotHashedBeforeSigVerfication.ql index 0b35b55..c51e91c 100644 --- a/go/src/crypto/MsgNotHashedBeforeSigVerfication/MsgNotHashedBeforeSigVerfication.ql +++ b/go/src/crypto/MsgNotHashedBeforeSigVerfication/MsgNotHashedBeforeSigVerfication.ql @@ -105,7 +105,7 @@ module AnythingToSignatureMsgTrunFuncConfig implements DataFlow::ConfigSig { // TODO: alternatively, set sources to be ExternalInputs predicate isSource(DataFlow::Node source) { not isSink(source) and - not source.asInstruction() instanceof IR::ReadArgumentInstruction + not source instanceof DataFlow::ParameterNode } predicate isSink(DataFlow::Node sink) {