Skip to content

Fix ilasm casting - #90450

Merged
BruceForstall merged 2 commits into
dotnet:mainfrom
BruceForstall:FixIlasm
Aug 14, 2023
Merged

Fix ilasm casting#90450
BruceForstall merged 2 commits into
dotnet:mainfrom
BruceForstall:FixIlasm

Conversation

@BruceForstall

Copy link
Copy Markdown
Contributor

Fix a few cases where casting strlen could truncate values.

Fix some output functions to use %zd for size_t types.

Fix some error output to print the size of the "too long" string, not the truncated string.

@ghost ghost assigned BruceForstall Aug 12, 2023
@ghost ghost added the area-ILTools-coreclr label Aug 12, 2023
@ghost

ghost commented Aug 12, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

Fix a few cases where casting strlen could truncate values.

Fix some output functions to use %zd for size_t types.

Fix some error output to print the size of the "too long" string, not the truncated string.

Author: BruceForstall
Assignees: BruceForstall
Labels:

area-ILTools-coreclr

Milestone: -

@BruceForstall

Copy link
Copy Markdown
Contributor Author

/azp run runtime-coreclr ilasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@BruceForstall
BruceForstall requested a review from TIHan August 12, 2023 01:29
@BruceForstall

Copy link
Copy Markdown
Contributor Author

@TIHan @dotnet/jit-contrib PTAL

@TIHan TIHan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks fine to me, straight-forward fix.

@BruceForstall
BruceForstall merged commit 1d09abf into dotnet:main Aug 14, 2023
@BruceForstall
BruceForstall deleted the FixIlasm branch August 14, 2023 17:09
@ghost ghost locked as resolved and limited conversation to collaborators Sep 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants