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

analyze: misc fixes for lighttpd buffer (part 2/2) #1180

Merged
merged 7 commits into from
Dec 9, 2024

Conversation

spernsteiner
Copy link
Collaborator

More small fixes for lighttpd's buffer module:

  • In dataflow, require WRITE permission for the no-op reborrow projection &mut *p. This projection requires p: &mut T rather than p: &T.
  • Add a script for collecting successfully rewritten defs. The script reads the output of c2rust-analyze to identify defs for which analysis and rewriting succeeded without errors, and extracts only those defs into a separate file. This is useful for checking whether the results of rewriting compile after testing on a particular module when there are compile errors elsewhere in the codebase.
  • Fix some bugs in the pointwise metrics scripts

@spernsteiner spernsteiner requested a review from ahomescu December 2, 2024 22:22
@spernsteiner spernsteiner force-pushed the analyze-buffer-misc-fixes-2 branch from 030e0f8 to 74d3226 Compare December 9, 2024 18:47
@spernsteiner spernsteiner force-pushed the analyze-buffer-misc-fixes-2-base branch from 12db490 to 9fcadbe Compare December 9, 2024 18:47
@spernsteiner spernsteiner changed the base branch from analyze-buffer-misc-fixes-2-base to master December 9, 2024 18:47
@spernsteiner spernsteiner merged commit c9f0c11 into master Dec 9, 2024
8 checks passed
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.

2 participants