Matches and picks apart component of an array access expression.
Example #1
0
 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);
		}
Example #3
0
 public ExpressionNormalizer(PrimitiveType pointerType)
 {
     this.aem = new ArrayExpressionMatcher(pointerType);
 }
Example #4
0
 public ExpressionNormalizer(PrimitiveType pointerType)
 {
     this.aem = new ArrayExpressionMatcher(pointerType);
 }