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

Create valgrind.adoc #352

Closed
wants to merge 4 commits into from
Closed

Create valgrind.adoc #352

wants to merge 4 commits into from

Conversation

paulfloyd
Copy link
Contributor

Valgrind news.

Valgrind news.
Comment on lines 22 to 33
smaller bugfixes.

Support for FreeBSD 13.3 has been added.
Added a redirect for `reallocarray`.
Several fixes for `aio*` functions.
Added a redirect for `memccpy`.
There is a fix for `_umtx_op OP_ROBUST_LISTS`.
Added redirs for C23 `free_sized` and `free_aligned_sized`.
Correctly propagate the ELF stack protection flags to the guest stack that Valgrind synthesizes.
Fixes for `--sanity-level-3` and above (only used for Valgrind self-testing at runtime).
Aeveral fixes to checking done for `semctl`.
Fixed argument checking for `utrace`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this meant to be a bullet list with "smaller bugfixes" as the list header?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would work.

Copy link
Contributor

@pauamma pauamma left a comment

Choose a reason for hiding this comment

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

With these 2 nits (fixable on commit).

* Several fixes for `aio*` functions.
* Added a redirect for `memccpy`.
* There is a fix for `_umtx_op OP_ROBUST_LISTS`.
* Added redirs for C23 `free_sized` and `free_aligned_sized`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Added redirs for C23 `free_sized` and `free_aligned_sized`.
* Added redirects for C23 `free_sized` and `free_aligned_sized`.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK

* Added a redirect for `memccpy`.
* There is a fix for `_umtx_op OP_ROBUST_LISTS`.
* Added redirs for C23 `free_sized` and `free_aligned_sized`.
* Correctly propagate the ELF stack protection flags to the guest stack that Valgrind synthesizes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Correctly propagate the ELF stack protection flags to the guest stack that Valgrind synthesizes.
* Correctly propagated the ELF stack protection flags to the guest stack that Valgrind synthesizes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it should be present continuous, this is something that gets done at every startup. Previously this was hard coded and did not respect the guest stack protection flags.

Copy link
Member

@lsalvadore lsalvadore left a comment

Choose a reason for hiding this comment

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

Thanks for your report. I made only two small comments, I can fix those on commit if your prefer.

The major news, as per the title, is that a port to FreeBSD arm64 (or aarch64) is now ready.
The next steps are to get it reviewed and pushed upstream.

Valgrind 3.23 due out at the end of April 2024 and package:devel/valgrind[] will be updated shortly after that.
Copy link
Member

Choose a reason for hiding this comment

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

Mind that I am not a native English speaker, but this does not sound right to me. Maybe

Suggested change
Valgrind 3.23 due out at the end of April 2024 and package:devel/valgrind[] will be updated shortly after that.
Valgrind 3.23 is due out at the end of April 2024 and package:devel/valgrind[] will be updated shortly after that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK


Valgrind 3.23 due out at the end of April 2024 and package:devel/valgrind[] will be updated shortly after that.

package:devel/valgrind-devel[] will get an update as soon as I've pushed the changes for arm64.
Copy link
Member

Choose a reason for hiding this comment

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

Please avoid contractions.

Suggested change
package:devel/valgrind-devel[] will get an update as soon as I've pushed the changes for arm64.
package:devel/valgrind-devel[] will get an update as soon as I have pushed the changes for arm64.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK as well

freebsd-git pushed a commit that referenced this pull request Mar 21, 2024
Reviewed by:	status (Pau Amma <pauamma@gundo.com>)
Pull Request:	#352
@lsalvadore
Copy link
Member

Merged with the approved small changes. Thanks!

@lsalvadore lsalvadore closed this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants