Skip to content

Malloc with initializer & memset #17

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

Merged
merged 3 commits into from
May 17, 2023
Merged

Malloc with initializer & memset #17

merged 3 commits into from
May 17, 2023

Conversation

Saloed
Copy link
Collaborator

@Saloed Saloed commented May 16, 2023

Add malloc with initial values

@Saloed Saloed requested a review from sergeypospelov May 16, 2023 10:24
fromDstIdx = ctx.mkSizeExpr(0),
toDstIdx = contentLength,
guard = ctx.trueExpr
)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, we also need to update array length. Something like this

Suggested change
}
writeArrayLength(ref, contentLength, type)
}

@Saloed Saloed requested a review from sergeypospelov May 17, 2023 10:15
Copy link
Member

@sergeypospelov sergeypospelov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Saloed added 3 commits May 17, 2023 18:35

Verified

This commit was signed with the committer’s verified signature.
@Saloed Saloed merged commit 683d270 into main May 17, 2023
@Saloed Saloed deleted the saloed/memset branch May 17, 2023 15:41
@sergeypospelov sergeypospelov mentioned this pull request May 18, 2023
24 tasks
petrukhinandrew added a commit to petrukhinandrew/usvm that referenced this pull request Apr 11, 2025
* fix: improper caching in JcTestVisitor inheritors

* sytle fixes
petrukhinandrew added a commit to petrukhinandrew/usvm that referenced this pull request May 5, 2025
* fix: improper caching in JcTestVisitor inheritors

* sytle fixes
Saloed added a commit that referenced this pull request Jun 2, 2025
* Malloc with initializer & memset
* Update array length on memset
petrukhinandrew added a commit to petrukhinandrew/usvm that referenced this pull request Jun 19, 2025
* fix: improper caching in JcTestVisitor inheritors

* sytle fixes
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

Successfully merging this pull request may close these issues.

None yet

2 participants