Frankenstella, a PHP compiler
Friday, July 23, 2004
 
structure of zend_op_array
the things that seem important to us:
this is the biggy, this where are all the goodies are hidden!
note that although vld_dump_op_array prints everything out nicely, it calls vld_dump_op to do the real work which accesses this.

definition:
  •        opcode -> name of op
  •        result -> the result, duh
  •        op1 -> first op
  •        op2 -> second op, double duh
  •        extended_value -> if it exists
  •        lineno -> need i say it?

Comments:
good - next step - can u explain the 3 progs i sent u at the bytecode level - objective : find x86 equivalents
 
What is extended_value?
 
For example usage is as follows:
JMPZNZ, Jump to address 1 (extended_value) if operand is true, jump to address 2 (op2) if operand is false
 
Hmmmmmm
 
Post a Comment

<< Home

Powered by Blogger