Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShortestDistanceWeighter tries to get CFG for external method that leads to error #222

Open
gsvgit opened this issue Jan 26, 2023 · 0 comments

Comments

@gsvgit
Copy link
Contributor

gsvgit commented Jan 26, 2023

Execution of this test leads to the following error:

Getting CFG of method System.Int32 System.String.get_Length(this) without body (extern or abstract)
   at VSharp.Test.TestSvmAttribute.TestSvmCommand.<>c.<Explore>b__12_1(FSharpOption`1 _, Exception e) in /home/gsv/Projects/VSharp/VSharp.Test/IntegrationTests.cs:line 257
   at <StartupCode$VSharp-SILI>[email protected](FSharpOption`1 method, Exception e)
   at VSharp.Interpreter.IL.SILI.Interpret(IEnumerable`1 isolated, IEnumerable`1 entryPoints, Action`1 onFinished, Action`1 onException, Action`1 onIIE, Action`2 onInternalFail) in /home/gsv/Projects/VSharp/VSharp.SILI/SILI.fs:line 425
   at VSharp.Test.TestSvmAttribute.TestSvmCommand.Explore(TestExecutionContext context) in /home/gsv/Projects/VSharp/VSharp.Test/IntegrationTests.cs:line 257

Debugging shows that it is caused by attempt to get CFG for external method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant