Merging master into dev#91
Closed
MchKosticyn wants to merge 95 commits intoVSharp-team:devfrom
Closed
Conversation
# Conflicts: # VSharp.Test/Tests/VSharp.CSharpUtils/Unix.gold # VSharp.Test/Tests/VSharp.CSharpUtils/Win32NT.gold
[Fix] the order of composition of statements has changed.
…irtualMethodTable # Conflicts: # VSharp.SILI.Core/API.fs # VSharp.SILI.Core/API.fsi
…odTable Symbolic virtual method table.
# Conflicts: # VSharp.SILI.Core/Propositional.fs # VSharp.SILI/Terms.fs # VSharp.Utils/Collections.fs # VSharp.sln
Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
# Conflicts: # VSharp.Test/SiliTests.cs
…h closures. Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
…olver Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
# Conflicts: # VSharp.Test/SiliTests.cs
Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
True compositionality, stage I
Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
Preliminary solver integration + improvements for compositionality
- while
- do {} while
- while (true)
New string representation and string equality
- Term extended - Constructor - ToString - TypeOf
Due to total NativeInt type cleaning after decompilation
It is a wrapper for pointer difference. For example: int* p, q; long d = p - q; // d will be Concrete(.., SymbolicPointerDifference([p], [q])) // so `SPD(left, right)` belongs to `sum(left) - sum(right)`
Handling Unions, Errors and IndentedPtr's
Fold such examples: int* p, q; long d = p - q; return q + d; // = p
Handling nontrivial addition expressions, such as: r + (p - q) + (q - r) ~> p
Classic expression traversal: - dispatch on operator type - forward children to dispatch methods
int* p, q; long d = p - q; // d ~ SymbolicPointerDifference([p], [q]) // The main purpose of SymbolicPointerDifference
- simple reduce: `q + (p - q)` ~> `p` - "vector triangle": `z + (x - y) + (y - z)` ~> `x`
Pointer arithmetics
Fixed statement and style fix
implicitly tracking fully qualified locations of instantiation targets. Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
There are still several open issues, see fresh TODOs. Signed-off-by: Dmitry Mordvinov <dvvsrd@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.