You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.
Add null checks against the object pointer for ldfld, stfld, ldloca, ldelema, ldflda, ldelema.
Checks should use an explicit compare+branch+throw sequence.
Throw will use call rather than invoke for now (stub EH support).
Use separate throw block for each test, at least for now (it facilitates debugging, vs. shared throw block for all tests in the same EH context).
Tricky bit will be making sure the reader's flow graph bookkeeping doesn't get messed up as blocks are split. May need separate notions of MSIL block and LLVM block.
#183 added the mechanics for inserting a null check sequence #202 builds on that to add the mechanics for inserting null checks on instance arguments at calls
Still need to update the decision criteria to insert all the required checks (#203 and #204).
Add null checks against the object pointer for ldfld, stfld, ldloca, ldelema, ldflda, ldelema.
Checks should use an explicit compare+branch+throw sequence.
Throw will use call rather than invoke for now (stub EH support).
Use separate throw block for each test, at least for now (it facilitates debugging, vs. shared throw block for all tests in the same EH context).
Tricky bit will be making sure the reader's flow graph bookkeeping doesn't get messed up as blocks are split. May need separate notions of MSIL block and LLVM block.
Part of #13.
The text was updated successfully, but these errors were encountered: