Open tannergooding opened 1 year ago
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
Author: | tannergooding |
---|---|
Assignees: | - |
Labels: | `area-CodeGen-coreclr`, `untriaged` |
Milestone: | - |
The constructor takes in and stores a
ssize_t offset
: https://github.com/dotnet/runtime/blob/main/src/coreclr/jit/gentree.h#L7089However, it returns an
int Offset()
which may result in implicit truncation and loss of data: https://github.com/dotnet/runtime/pull/86400We should likely change the signature to take in an
int
and ensure that all taken offsets are in range.