/// <summary> /// Defines a pointer who's value will change depending on the input pointer's value /// </summary> /// <param name="p"></param> /// <param name="o"></param> private Ptr(MemoryModel model, Ptr p, int o) { Parent = p; Offset = o; Mem = model; }
/// <summary> /// Creates a new dynamic pointer object, pointed at the given address /// </summary> /// <param name="addr"></param> /// <returns></returns> public static Ptr New(MemoryModel model, int addr) { return(new Ptr(model, null, addr)); }