node/lib/metasm/metasm/cpu/ia32/main.rb
def symbolic(di=nil)
			p = nil
			p = Expression[p, :+, @b.symbolic(di)] if b
			p = Expression[p, :+, [@s, :*, @i.symbolic(di)]] if i
			p = Expression[p, :+, @imm] if imm
			p = Expression["segment_base_#@seg", :+, p] if seg and seg.val != ((b && (@b.val == 4 || @b.val == 5)) ? 2 : 3)
			Indirection[p.reduce, @sz/8, (di.address if di)]
		end
# returns the symbolic representation of the ModRM (ie an Indirection)
# segment selectors are represented as eg "segment_base_fs"
# not present when same as implicit (ds:edx, ss:esp)
returns the symbolic representation of the ModRM
segment selectors are represented as eg "segment_base_fs"
not present when same as implicit (ds:edx, ss:esp)
returns the symbolic representation of the ModRM segment selectors are represented as eg " segment_base_fs " not present when same as implicit ( ds : edx ss : esp )
def symbolic(di=nil)
			p = nil
			p = Expression[p, :+, @b.symbolic(di)] if b
			p = Expression[p, :+, [@s, :*, @i.symbolic(di)]] if i
			p = Expression[p, :+, @imm] if imm
			p = Expression["segment_base_#@seg", :+, p] if seg and seg.val != ((b && (@b.val == 4 || @b.val == 5)) ? 2 : 3)
			Indirection[p.reduce, @sz/8, (di.address if di)]
		end
def symbolic ( di = nil ) p = nil p = Expression [ p , :+ , @b . symbolic ( di ) ] if b p = Expression [ p , :+ , [ @s , :* , @i . symbolic ( di ) ] ] if i p = Expression [ p , :+ , @imm ] if imm p = Expression [ "segment_base_#@seg" , :+ , p ] if seg and seg . val != ( ( b && ( @b . val == 4 || @b . val == 5 ) ) ? 2 : 3 ) Indirection [ p . reduce , @sz / 8 , ( di . address if di ) ] end
returns the symbolic representation of the ModRM (ie an Indirection)
segment selectors are represented as eg "segment_base_fs"
not present when same as implicit (ds:edx, ss:esp)
returns the symbolic representation of the ModRM ( ie an Indirection ) segment selectors are represented as eg " segment_base_fs " not present when same as implicit ( ds : edx ss : esp )
di