Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Remove all buffer length assumptions from HTTP proofs. #1251

Merged
merged 3 commits into from
Sep 20, 2019

Conversation

markrtuttle
Copy link
Contributor

This pull request removes buffer length assumptions from HTTP proofs.

This pull request changes a lot of files. It is easier to read one commit at a time.

The key insight to removing buffer length assumptions is that the code accesses all buffers via pointers in the message headers, the code does not depend on the fact that buffers follow the message headers in memory (there is no pointer arithmetic to access the start of the buffers).

This also repairs the CBMC proof of HTTP AddHeaders method until there is a fix to diffblue/cbmc#5096.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Mark R. Tuttle added 2 commits September 20, 2019 08:58
Also repair CBMC proof of HTTP AddHeaders method until there is a fix
to diffblue/cbmc#5096

The key insight to removing buffer length assumptions is that the code
accesses all buffers via pointers in the message headers, the code does
not depend on the fact that buffers follow the message headers in memory
(there is no pointer arithmetic to access the start of the buffers).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants