mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Add raise, break, continue, and a hacky attempt at for loops.
for loops currently generate a core dump.
This commit is contained in:
parent
7e4de4e612
commit
f1205548e5
4 changed files with 179 additions and 9 deletions
|
|
@ -141,7 +141,8 @@ bool Pyc::IsJumpOffsetArg(int opcode)
|
|||
{
|
||||
return (opcode == Pyc::JUMP_FORWARD_A) || (opcode == Pyc::JUMP_IF_FALSE_A) ||
|
||||
(opcode == Pyc::JUMP_IF_TRUE_A) || (opcode == Pyc::SETUP_LOOP_A) ||
|
||||
(opcode == Pyc::SETUP_FINALLY_A) || (opcode == Pyc::SETUP_EXCEPT_A);
|
||||
(opcode == Pyc::SETUP_FINALLY_A) || (opcode == Pyc::SETUP_EXCEPT_A) ||
|
||||
(opcode == Pyc::FOR_LOOP_A);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue