Loading...
Loading...
Judge whether code is sound and safe to call — its exception surface (throws, catches, exception types) and the unsafe operations in a method body.
npx skill4agent add richlander/dotnet-inspect dotnet-inspect-correctnessdnx dotnet-inspect -y -- <command>Exception Regionsdnx dotnet-inspect -y -- member Type Method:1 -S "Exception Regions"
dnx dotnet-inspect -y -- member Type Method:1 -S "Call Graph" --fields "Throws,ThrowSites,ExceptionTypes,ConstructedExceptions,Catch,Finally"
dnx dotnet-inspect -y -- member Type Method:1 -S "Call Graph" --fields "Throws,Catch,Finally"
dnx dotnet-inspect -y -- member Type Method:1 -S Facts --tsvThrowsThrowSitesExceptionTypesConstructedExceptionsCatchFinallyException Regions-S Facts--tsvdnx dotnet-inspect -y -- member Type Method:1 --library MyLib.dll -S "Unsafe Operations,IL"-S "Unsafe Operations"signalslibrary --il-offset 0x06000001+0x5--il-offset 0x06000001+0x5 -S "Context: Safety"dnx dotnet-inspect -y -- timeline --package MyLib@1.0.0..2.0.0 \
-t MyType -m Method \
--finding analysis.unsafety --at first --at last--at--at allAddeddnx dotnet-inspect -y -- diff --package MyLib@1.4.0..1.5.0 \
-t MyType -m Method \
--finding analysis.unsafetyPairFinding.AddedPresentRemoved