static analyzer crash: the method or operation is not implemented
with latest build (1.4.50111.1) receive following crash of static analyzer. may able guess function in based on first line of message, indicating function in our code.
codecontracts: utilities: internal error @ method method 240 : shell.ep.cdis.utilities.reflectionextensions.createexpressioninfo(system.reflection.methodinfo,system.type,system.type[])
codecontracts: utilities: failed uncaught exception: method or operation not implemented.
codecontracts: utilities: stack trace: @ system.compiler.analysis.ccimddecoder.elementtype(typenode type)
codecontracts: utilities: @ microsoft.research.codeanalysis.analysiswrapper.typebindings`11.arrayanalysisplugin.suggestanalysisspecificpostconditions(contractinferencemanager inferencemanager, ifixpointinfo`2 fixpointinfo, list`1 postconditions)
codecontracts: utilities: @ microsoft.research.codeanalysis.analysiswrapper.typebindings`11.arrayanalysis`2.suggestanalysisspecificpostconditions(contractinferencemanager inferencemanager, ifixpointinfo`2 fixpointinfo, list`1 postconditions)
codecontracts: utilities: @ microsoft.research.codeanalysis.analysiswrapper.typebindings`11.genericvalueanalysis`2.suggestpostcondition(contractinferencemanager inferencemanager, ifixpointinfo`2 fixpointinfo)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.runcontractinference(int32 phasecount, string methodfullname, imethoddriver`12 mdriver, analysisstatistics& methodstats, list`1 results, contractinferencemanager inferencemanager, composedfactquery`1 factquery)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.noniteratormethodanalysisnoncached(method method, methodanalysisflags& analysisflags, int32& phasecount, string methodfullname, iclassdriver`13 cdriver, imethoddriver`12 mdriver, imethoddriver`12 z3mdriver, analysisstatistics& methodstats, contractdensity& methodcontractdensity)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.analyzenoniteratormethodinternal(method method, methodanalysisflags analysisflags)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.analyzemethodinternal(method method, methodanalysisflags analysisflags)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.analyzemethod(method method)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.dowork(single totalmethods, int32& progresschars, datetime assemblystarttime, boolean& first, method method)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.analyzeassembly(assembly assembly, set`1 assembliesunderanalysis)
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.internalanalyze()
codecontracts: utilities: @ microsoft.research.codeanalysis.clousot.typebinder`9.analyze()
hi sebastian,
can please send me small repro?
a quick fix should be: put contract verification(false) on crashing method, or disable ensure inference/suggestion
thanks
f
DevLabs > Code Contracts
Comments
Post a Comment