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
Build an analyzer that walks through the opcodes of the given contract and analyzes it and finds chunks of opcodes that match a sequence that is ILed and known to be optimized. That would result in creation of ILInfo for the given byte code.
The decision whether or when the given CodeInfo should be a subject of analysis would be left for later.
Plan of Action
create IlInfo component that is constructed from the byte code
make IlInfo dense and small, for example (ushort[] pcs, byte[] iledMethods) for storing all the data
add HasOverride(int pc) and the delegating method
the analysis, it would be great if it was fast and single pass. We could consider storing sequences of opcodes that are optimized in a Trie or other approach that would allow to track multiple sequences (starting from PC_i it can be one sequence, but PC_i+1 can start another one) etc. Still in the initial phase, as the analysis will be done asynchronously, we can make it work first and then optimize
The text was updated successfully, but these errors were encountered:
Build an analyzer that walks through the opcodes of the given contract and analyzes it and finds chunks of opcodes that match a sequence that is ILed and known to be optimized. That would result in creation of
ILInfo
for the given byte code.The decision whether or when the given
CodeInfo
should be a subject of analysis would be left for later.Plan of Action
IlInfo
component that is constructed from the byte codeIlInfo
dense and small, for example(ushort[] pcs, byte[] iledMethods)
for storing all the dataHasOverride(int pc)
and the delegating methodThe text was updated successfully, but these errors were encountered: