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
I am trying to implement a processor module for solana's eBPF, which implicitly creates a new stack frame for each call.
When I tried adding pcode that creates a stack frame before the call and pops it at the function return, the decompilation was messed up. When not doing anything regarding the stack frames, it's unsurprisingly also bad.
I've written down what I tried so far and a bit of background on the architecture in an issue here and would appreciate any pointers on how to implement this correctly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to implement a processor module for solana's eBPF, which implicitly creates a new stack frame for each call.
When I tried adding pcode that creates a stack frame before the call and pops it at the function return, the decompilation was messed up. When not doing anything regarding the stack frames, it's unsurprisingly also bad.
I've written down what I tried so far and a bit of background on the architecture in an issue here and would appreciate any pointers on how to implement this correctly.
Beta Was this translation helpful? Give feedback.
All reactions