def METHOD_NAME(code):
    from subprocess import Popen, PIPE
    p = Popen("sudo cat /proc/kallsyms | grep ' avenrun'", shell=True, stdout=PIPE)
    p.wait()
    evanrun_addr = "0x" + p.stdout.read().split()[0].decode()
    # print("get addr of evanrun: ", evanrun_addr)
    return code.replace("AVENRUN_ADDR", evanrun_addr)