Skip to content

Conversation

@danburkert
Copy link
Owner

No description provided.

@oconnor663
Copy link

It looks like this would reproduce the scenario, yes, though I don't know if I'd actually expect it to crash. @gankro (by the power of git blame I summon thee), do you know what actually happens if we violate the rules set out in ptr::add's docs, and add an offset larger than isize::MAX? All the context on why I'm asking this is in #69.

@Gankra
Copy link

Gankra commented Sep 24, 2018

It's Undefined Behaviour and llvm is permitted to do anything and everything to your code if you do it

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.

4 participants