diff options
| author | niluxv <niluxv.opensource.C-h2ty6xl@yandex.com> | 2023-08-06 11:40:34 +0200 |
|---|---|---|
| committer | niluxv <niluxv.opensource.C-h2ty6xl@yandex.com> | 2023-10-10 09:59:46 +0200 |
| commit | b48039f6feec314842d40236f33d6a1c5b66b3da (patch) | |
| tree | 33895a62209fce02feabff24d3959ea25627004b /library/std/src/sys/unix/net.rs | |
| parent | e7a3c341dd517465a326ef693d49f6238789f96b (diff) | |
| download | rust-b48039f6feec314842d40236f33d6a1c5b66b3da.tar.gz rust-b48039f6feec314842d40236f33d6a1c5b66b3da.zip | |
Rewrite `read_encoded_pointer` conforming to strict provenance
* Entries in the callsite table now use a dedicated function for reading an offset rather than a pointer * `read_encoded_pointer` uses that new function for reading offsets when the "application" part of the encoding indicates an offset (relative to some pointer) * It now errors out on nonsensical "application" and "value encoding" combinations Inspired by @eddyb's comment on zulip about this: <https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/strict.20provenance.20in.20dwarf.3A.3Aeh/near/276197290>
Diffstat (limited to 'library/std/src/sys/unix/net.rs')
0 files changed, 0 insertions, 0 deletions
