Initial support for static fields in JcInterpreter#30
Merged
Conversation
b4b4e72 to
0d23a17
Compare
sergeypospelov
approved these changes
Jul 3, 2023
Member
|
I didn't get, how it works with initialization time. To resolve static values in results we have to have some kind of |
Collaborator
Author
We currently don't have a mode when statics are treated as input values. For now, we run the static initializer once on a first access as if we were analyzing the entrypoint in a fresh environment. |
petrukhinandrew
pushed a commit
to petrukhinandrew/usvm
that referenced
this pull request
May 8, 2025
* [feat] Exception tests Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Path variables breaking Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Refactor PVs Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Make @repository classes not break USVM Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [feat] Rework mocks (+ primitive PV) (+ move methods to JSA) Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Used immutable list for mocks Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Refactor (used mocked calls instead of state) (narrowed types for exceptions) (remove unnecessary lists) Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> --------- Signed-off-by: Arthur Alekseev <arthur100500@gmail.com>
Saloed
added a commit
that referenced
this pull request
Jun 2, 2025
petrukhinandrew
pushed a commit
to petrukhinandrew/usvm
that referenced
this pull request
Jun 19, 2025
* [feat] Exception tests Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Path variables breaking Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Refactor PVs Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Make @repository classes not break USVM Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [feat] Rework mocks (+ primitive PV) (+ move methods to JSA) Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Used immutable list for mocks Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Refactor (used mocked calls instead of state) (narrowed types for exceptions) (remove unnecessary lists) Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> --------- Signed-off-by: Arthur Alekseev <arthur100500@gmail.com>
petrukhinandrew
pushed a commit
to petrukhinandrew/usvm
that referenced
this pull request
Aug 15, 2025
* [feat] Exception tests Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Path variables breaking Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Refactor PVs Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Make @repository classes not break USVM Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [feat] Rework mocks (+ primitive PV) (+ move methods to JSA) Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Used immutable list for mocks Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> * [fix] Refactor (used mocked calls instead of state) (narrowed types for exceptions) (remove unnecessary lists) Signed-off-by: Arthur Alekseev <arthur100500@gmail.com> --------- Signed-off-by: Arthur Alekseev <arthur100500@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.
Initial support for static fields
UFieldLValueusing unique concrete address for eachJcClass.