public TraitCollector(TypeFactory factory, ITypeStore store, ITraitHandler handler, Program program) { this.factory = factory; this.store = store; this.handler = handler; this.program = program; this.aem = new ArrayExpressionMatcher(program.Platform.PointerType); this.atrco = new AddressTraitCollector(factory, store, handler, program); }
public void Setup() { m = new ProcedureBuilder(); i = m.Local32("i"); c = m.Int32(16); off = m.Int32(42); r = m.Local32("r"); aem = new ArrayExpressionMatcher(PrimitiveType.Pointer32); }
public ExpressionNormalizer(PrimitiveType pointerType) { this.aem = new ArrayExpressionMatcher(pointerType); }