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

check LocalVariableNode.signature to avoid creating Locals with unknown Type #635

Open
swissiety opened this issue Jun 21, 2023 · 0 comments · May be fixed by #789
Open

check LocalVariableNode.signature to avoid creating Locals with unknown Type #635

swissiety opened this issue Jun 21, 2023 · 0 comments · May be fixed by #789
Labels
improvement improve in readability, structure or performance

Comments

@swissiety
Copy link
Collaborator

maybe we can avoid creating Locals with unknown type (sometimes):
LocalVariableNode has a member: signature where we could get type information? (currently we don't)

Location: AsmMethodSource.determineLocalName(int idx) and the method where its we create the actual Local with UnknownType but the name from determineName(..)

@swissiety swissiety added the improvement improve in readability, structure or performance label Jun 21, 2023
oxisto added a commit to oxisto/SootUp that referenced this issue Dec 31, 2023
This PR uses the already existing information of the operand's value type to determine the type for java locals. Previously, most of the stack variables were of "unknown" type
.
Fixes soot-oss#635
oxisto added a commit to oxisto/SootUp that referenced this issue Dec 31, 2023
This PR uses the already existing information of the operand's value type to determine the type for java locals. Previously, most of the stack variables were of "unknown" type
.
Fixes soot-oss#635
oxisto added a commit to oxisto/SootUp that referenced this issue Dec 31, 2023
This PR uses the already existing information of the operand's value type to determine the type for java locals. Previously, most of the stack variables were of "unknown" type
.
Fixes soot-oss#635
oxisto added a commit to oxisto/SootUp that referenced this issue Dec 31, 2023
This PR uses the already existing information of the operand's value type to determine the type for java locals. Previously, most of the stack variables were of "unknown" type
.
Fixes soot-oss#635
oxisto added a commit to oxisto/SootUp that referenced this issue Dec 31, 2023
This PR uses the already existing information of the operand's value type to determine the type for java locals. Previously, most of the stack variables were of "unknown" type
.
Fixes soot-oss#635
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improve in readability, structure or performance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant