(structure, member)
Return the type a pointer points to.
       
       Arguments:
         structure : the name of the structure from vtypes
         member : a list of members

       Example:
         get_ptr_type('_EPROCESS', ['ActiveProcessLinks', 'Flink']) => ['_LIST_ENTRY']
Return the type a pointer points to.
       
       Arguments:
         structure : the name of the structure from vtypes
         member : a list of members
Return the type a pointer points to . Arguments : structure : the name of the structure from vtypes member : a list of members
def get_ptr_type(structure, member):
    """Return the type a pointer points to.
       
       Arguments:
         structure : the name of the structure from vtypes
         member : a list of members

       Example:
         get_ptr_type('_EPROCESS', ['ActiveProcessLinks', 'Flink']) => ['_LIST_ENTRY']
    """
    if len(member) > 1:
        _, tp = get_obj_offset(types, [structure, member[0]])
        if tp == 'array':
            return types[structure][1][member[0]][1][2][1]
        else:
            return get_ptr_type(tp, member[1:])
    else:
        return types[structure][1][member[0]][1][1]
def get_ptr_type ( structure , member ) : if len ( member ) > 1 : _ , tp = get_obj_offset ( types , [ structure , member [ 0 ] ] ) if tp == 'array' : return types [ structure ] [ 1 ] [ member [ 0 ] ] [ 1 ] [ 2 ] [ 1 ] else : return get_ptr_type ( tp , member [ 1 : ] ) else : return types [ structure ] [ 1 ] [ member [ 0 ] ] [ 1 ] [ 1 ]