google / pyringe

Debugger capable of attaching to and injecting code into python processes.
Other
1.63k stars 78 forks source link

Investigate PyFrame_FastToLocals #9

Open TehMillhouse opened 10 years ago

TehMillhouse commented 10 years ago

According to revelation, PyFrame_FastToLocals not only copies f_fastlocals to f_locals, but also disables use of the fastlocals optimization. This might enable removing the limitations to setting locals in injected code.