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

Add thirdparty/ ubsan suppressions for TPS demo #100382

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

hpvb
Copy link
Member

@hpvb hpvb commented Dec 13, 2024

With these suppressions it is possible to import and run the TPS demo without any thirdparty/ reported ubsan.

This is useful because it is a complex project, so it is good for testing if new errors show up in our own code.

Sorry for the double PR, I could've rolled this into the previous one, but I didn't think to do this until now. This should be the last of it though.

@hpvb hpvb added this to the 4.4 milestone Dec 13, 2024
@hpvb hpvb requested a review from a team as a code owner December 13, 2024 23:11
implicit-integer-sign-change:thirdparty/zlib/trees.c
implicit-integer-sign-change:thirdparty/zstd/compress/zstd_cwksp.h
integer-divide-by-zero:thirdparty/misc/ok_color.h
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to remove this one?

Copy link
Member Author

@hpvb hpvb Dec 13, 2024

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually there's another case of this. I'll need to do another force push. It seems that github ci sometimes decides to not give me the latest logs...

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay, this is definitely good now. I checked the github ci, and ran the same test locally, and the output matches.

With these suppressions it is possible to import and run the TPS demo
without any thirdparty/ reported ubsan.

This is useful because it is a complex project, so it is good for
testing if new errors show up in our own code.
@hpvb hpvb force-pushed the thirdparty-ubsan-tpsdemo branch from af3c809 to 49a19db Compare December 13, 2024 23:42
@hpvb
Copy link
Member Author

hpvb commented Dec 14, 2024

I think this can be merged, there's no more thirdparty/ if you look in the ci output of this commit!

@akien-mga akien-mga merged commit b9437c3 into godotengine:master Dec 14, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants