HyperDbg/hyperdbg/script-engine/python/util.py

10 lines
196 B
Python
Raw Permalink Normal View History

2021-02-25 18:44:26 +03:30
# Returns Top of the list L
def GetTop(L):
return L[len(L)-1]
# Remove first element of list and return it
def Read(Tokens):
X = Tokens[0]
Tokens = Tokens[1:]
return Tokens, X