node/lib/metasm/metasm/cpu/ia32/compile_c.rb
# holds compiler state information for a function
# registers are saved as register number (see Ia32::Reg)
# TODO cache eflags ? or just z ? (may be defered to asm_optimize)
holds compiler state information for a function
registers are saved as register number
TODO cache eflags . or just z . (may be defered to asm_optimize)
holds compiler state information for a function registers are saved as register number TODO cache eflags . or just z . ( may be defered to asm_optimize )
def c_asm(stmt)
		if stmt.output or stmt.input or stmt.clobber
			raise 
		else
			raise if @state.func.initializer.symbol.keys.find { |sym| stmt.body =~ /\b#{Regexp.escape(sym)}\b/ }	
			@source << stmt.body
		end
	end
def c_asm ( stmt ) if stmt . output or stmt . input or stmt . clobber raise else raise if @state . func . initializer . symbol . keys . find { | sym | stmt . body =~ / \b #{ Regexp . escape ( sym ) } \b / } @source << stmt . body end end
holds compiler state information for a function
registers are saved as register number (see Ia32::Reg)
TODO cache eflags ?
holds compiler state information for a function registers are saved as register number ( see Ia32 :: Reg ) TODO cache eflags ?
# TODO (handle %%0 => eax, gas, etc) # gsub ebp+off ?
stmt