SYMBOL INDEX (1094 symbols across 153 files) FILE: 2017/0ctf-quals-2017/StarCraft/StarCraft_remote.py function output (line 12) | def output(name, data): function lmov (line 15) | def lmov(data): function exploit (line 22) | def exploit(ip): FILE: 2017/34c3-2017/web/blog/cli.py class Blog (line 5) | class Blog(Saker): method __init__ (line 7) | def __init__(self, url=""): method getToken (line 10) | def getToken(self): method signup (line 15) | def signup(self, name, pwd="123asdzxc"): method login (line 26) | def login(self, name, pwd="123asdzxc"): method publish (line 36) | def publish(self, title, content): method feed (line 47) | def feed(self, ftype="json", callback=""): method flag1 (line 55) | def flag1(self): method flagapi (line 58) | def flagapi(self): FILE: 2017/blizzard-2017/strng/solve.c function die (line 18) | void die(const char* msg) { function hexdump (line 23) | void hexdump(uint8_t *mem, size_t len) { function pmio_write (line 40) | void pmio_write(uint64_t addr, uint32_t value) { function pmio_read (line 44) | uint32_t pmio_read(uint64_t addr) { function main (line 48) | int main(int argc, char const* argv[]) { FILE: 2017/csaw-quals-2017/pwn/auir/auir.py function add_chunk (line 35) | def add_chunk(content,size): function del_chunk (line 43) | def del_chunk(idx): function fix_chunk (line 49) | def fix_chunk(idx,content,size): function see_chunk (line 59) | def see_chunk(idx): FILE: 2017/hacklu-2017/pwn/mult-o-flow/solve_mult-o-flow.py function main (line 6) | def main(): FILE: 2018/0ctf-final-2018/pwn/blackhole2/solve_blackhole2.py function proof_of_work (line 12) | def proof_of_work(): function ret2csu (line 22) | def ret2csu(rbx,rbp,r12,r13_rdx,r14_rsi,r15_rdi): function calc (line 26) | def calc(rbp,ret): function pop_rdi (line 31) | def pop_rdi(rdi): function pop_rsi_r15 (line 33) | def pop_rsi_r15(rsi,r15): function leave_ret (line 35) | def leave_ret(): function pop_rbp (line 37) | def pop_rbp(rbp): function pop_rbp (line 39) | def pop_rbp(): function pop_rsp_r13_r14_r15 (line 41) | def pop_rsp_r13_r14_r15(rsp,r13,r14,r15): function infinite_loop (line 43) | def infinite_loop(): FILE: 2018/0ctf-final-2018/pwn/zeroftp/crc32.c function crc32_compute (line 43) | unsigned long crc32_compute(unsigned long inCrc32, const void *buf, size... FILE: 2018/0ctf-final-2018/pwn/zeroftp/enc_sock.c function zero_error (line 21) | void zero_error(const char*s) function init_rc4 (line 27) | void init_rc4() function crypt (line 46) | void crypt(uc *data, size_t len) function init_dh (line 62) | void init_dh() function zero_send (line 108) | void zero_send(void* buf, size_t len) function zero_recv (line 129) | void zero_recv(void* buf, size_t len) FILE: 2018/0ctf-final-2018/pwn/zeroftp/enc_sock.h type uc (line 15) | typedef unsigned char uc; FILE: 2018/0ctf-final-2018/pwn/zeroftp/exp.py function attach (line 19) | def attach(addr): function zero_pack_bool (line 32) | def zero_pack_bool(data): function zero_unpack_bool (line 39) | def zero_unpack_bool(payload): function zero_pack_string (line 49) | def zero_pack_string(data): function zero_unpack_string (line 57) | def zero_unpack_string(payload): function zero_pack_raw (line 67) | def zero_pack_raw(data): function zero_unpack_raw (line 85) | def zero_unpack_raw(payload): function zero_pack_int (line 102) | def zero_pack_int(data, endian): function zero_unpack_int (line 114) | def zero_unpack_int(payload): function zero_pack_list (line 128) | def zero_pack_list(data, list_len): function zero_unpack_list (line 147) | def zero_unpack_list(payload): function zero_pack (line 176) | def zero_pack(data, types): function zero_unpack (line 189) | def zero_unpack(payload): function zero_recv (line 211) | def zero_recv(): function zero_send (line 224) | def zero_send(data): function zeroftp_login (line 232) | def zeroftp_login(username, password): function zeroftp_ls (line 242) | def zeroftp_ls(directory): function zeroftp_cd (line 250) | def zeroftp_cd(directory): function zeroftp_mkdir (line 257) | def zeroftp_mkdir(directory): function zeroftp_rmdir (line 264) | def zeroftp_rmdir(directory): function zeroftp_rdfile (line 271) | def zeroftp_rdfile(filename): function zeroftp_wrfile (line 278) | def zeroftp_wrfile(filename, content): function zeroftp_rmfile (line 286) | def zeroftp_rmfile(filename): function zeroftp_fileinfo (line 293) | def zeroftp_fileinfo(pathname, arg2=-1, fileinfo_elem=None): function zeroftp_setfileinfo (line 304) | def zeroftp_setfileinfo(pathname, fileinfo_elem, arg3): function zeroftp_backdoor (line 316) | def zeroftp_backdoor(filename): function zeroftp_exit (line 324) | def zeroftp_exit(): function test (line 328) | def test(): function re1 (line 361) | def re1(): function hijack (line 369) | def hijack(addr): function leak (line 386) | def leak(): function exploit (line 415) | def exploit(): FILE: 2018/0ctf-final-2018/pwn/zeroftp/md5.c function to_bytes (line 39) | void to_bytes(uint32_t val, uint8_t *bytes) function to_int32 (line 47) | uint32_t to_int32(const uint8_t *bytes) function md5 (line 55) | void md5(const uint8_t *initial_msg, size_t initial_len, uint8_t *digest) { FILE: 2018/0ctf-final-2018/pwn/zeroftp/release/exp.py function attach (line 30) | def attach(addr): function zero_pack_bool (line 43) | def zero_pack_bool(data): function zero_unpack_bool (line 50) | def zero_unpack_bool(payload): function zero_pack_string (line 60) | def zero_pack_string(data): function zero_unpack_string (line 68) | def zero_unpack_string(payload): function zero_pack_raw (line 78) | def zero_pack_raw(data): function zero_unpack_raw (line 96) | def zero_unpack_raw(payload): function zero_pack_int (line 113) | def zero_pack_int(data, endian): function zero_unpack_int (line 125) | def zero_unpack_int(payload): function zero_pack_list (line 139) | def zero_pack_list(data, list_len): function zero_unpack_list (line 158) | def zero_unpack_list(payload): function zero_pack (line 187) | def zero_pack(data, types): function zero_unpack (line 200) | def zero_unpack(payload): function zero_recv (line 222) | def zero_recv(): function zero_send (line 235) | def zero_send(data): function zeroftp_login (line 243) | def zeroftp_login(username, password): function zeroftp_ls (line 253) | def zeroftp_ls(directory): function zeroftp_cd (line 261) | def zeroftp_cd(directory): function zeroftp_mkdir (line 268) | def zeroftp_mkdir(directory): function zeroftp_rmdir (line 275) | def zeroftp_rmdir(directory): function zeroftp_rdfile (line 282) | def zeroftp_rdfile(filename): function zeroftp_wrfile (line 289) | def zeroftp_wrfile(filename, content): function zeroftp_rmfile (line 297) | def zeroftp_rmfile(filename): function zeroftp_fileinfo (line 304) | def zeroftp_fileinfo(pathname, arg2=-1, fileinfo_elem=None): function zeroftp_setfileinfo (line 315) | def zeroftp_setfileinfo(pathname, fileinfo_elem, arg3): function zeroftp_backdoor (line 327) | def zeroftp_backdoor(filename): function zeroftp_exit (line 335) | def zeroftp_exit(): function test (line 339) | def test(): function re1 (line 372) | def re1(): function hijack (line 385) | def hijack(addr): function leak (line 402) | def leak(): function exploit (line 431) | def exploit(): FILE: 2018/0ctf-final-2018/pwn/zeroftp/utils.py function init_sock (line 15) | def init_sock(ip, port): function init_enc (line 20) | def init_enc(): function send (line 46) | def send(m): function recv (line 53) | def recv(length): function zero_pack_bool (line 74) | def zero_pack_bool(data): function zero_unpack_bool (line 81) | def zero_unpack_bool(payload): function zero_pack_string (line 91) | def zero_pack_string(data): function zero_unpack_string (line 99) | def zero_unpack_string(payload): function zero_pack_raw (line 109) | def zero_pack_raw(data): function zero_unpack_raw (line 127) | def zero_unpack_raw(payload): function zero_pack_int (line 144) | def zero_pack_int(data, endian): function zero_unpack_int (line 154) | def zero_unpack_int(payload): function zero_pack_list (line 168) | def zero_pack_list(data, list_len): function zero_unpack_list (line 187) | def zero_unpack_list(payload): function zero_pack (line 214) | def zero_pack(data, types): function zero_unpack (line 227) | def zero_unpack(payload): function zero_recv (line 249) | def zero_recv(): function zero_send (line 261) | def zero_send(data): function zeroftp_login (line 269) | def zeroftp_login(username, password): function zeroftp_ls (line 279) | def zeroftp_ls(directory): function zeroftp_cd (line 286) | def zeroftp_cd(directory): function zeroftp_mkdir (line 293) | def zeroftp_mkdir(directory): function zeroftp_rmdir (line 301) | def zeroftp_rmdir(directory): function zeroftp_rdfile (line 309) | def zeroftp_rdfile(filename): function zeroftp_wrfile (line 316) | def zeroftp_wrfile(filename, content): function zeroftp_rmfile (line 324) | def zeroftp_rmfile(): function zeroftp_fileinfo (line 328) | def zeroftp_fileinfo(pathname, fileinfo_elem): function zeroftp_setfileinfo (line 336) | def zeroftp_setfileinfo(pathname, fileinfo_elem, arg3): function zeroftp_backdoor (line 350) | def zeroftp_backdoor(): function zeroftp_exit (line 358) | def zeroftp_exit(): function test (line 361) | def test(): FILE: 2018/0ctf-final-2018/pwn/zeroftp/zero_pack.c function zero_unpack_bool (line 47) | int zero_unpack_bool(uint8_t *in, uint8_t **out_p, zero_basic_t **p_zero... function zero_unpack_string (line 78) | int zero_unpack_string(uint8_t *in, uint8_t **out_p, zero_basic_t **p_ze... function zero_unpack_raw (line 110) | int zero_unpack_raw(uint8_t *in, uint8_t **out_p, zero_basic_t **p_zero_... function zero_unpack_int (line 179) | int zero_unpack_int(uint8_t *in, uint8_t **out_p, zero_basic_t **p_zero_... function zero_pack_bool (line 334) | static inline int zero_pack_bool(zero_basic_t *zero_basic, uint8_t *in, ... function zero_pack_string (line 346) | __attribute__((always_inline)) function zero_pack_raw (line 363) | __attribute__((always_inline)) function zero_pack_int (line 400) | __attribute__((always_inline)) function zero_pack_list (line 434) | __attribute__((always_inline)) function zero_pack_bool_len (line 481) | __attribute__((always_inline)) function zero_pack_string_len (line 520) | size_t zero_pack_string_len(zero_basic_t *zero_basic) { function zero_pack_raw_len (line 524) | size_t zero_pack_raw_len(zero_basic_t *zero_basic) { function zero_pack_int_len (line 538) | size_t zero_pack_int_len(zero_basic_t *zero_basic) { function zero_pack_list_len (line 542) | size_t zero_pack_list_len(zero_basic_t *zero_basic) { function zero_pack_len (line 550) | size_t zero_pack_len(zero_basic_t *zero_basic) { function zero_pack (line 577) | int zero_pack(zero_basic_t *zero_basic, uint8_t *in, uint8_t **out_p) { function zero_basic_bool_free (line 604) | void zero_basic_bool_free(zero_basic_t *zero_basic) { function zero_basic_string_free (line 609) | void zero_basic_string_free(zero_basic_t *zero_basic) { function zero_basic_raw_free (line 614) | void zero_basic_raw_free(zero_basic_t *zero_basic) { function zero_basic_int_free (line 619) | void zero_basic_int_free(zero_basic_t *zero_basic) { function zero_basic_list_free (line 624) | void zero_basic_list_free(zero_basic_t *zero_basic) { function zero_basic_free (line 633) | void zero_basic_free(zero_basic_t *zero_basic) { function zero_bool_new (line 659) | void zero_bool_new(zero_basic_t **zero_basic_p, uint8_t val) { function zero_string_new (line 671) | void zero_string_new(zero_basic_t **zero_basic_p, char *str) { function zero_raw_new (line 683) | void zero_raw_new(zero_basic_t **zero_basic_p, uint8_t *raw, size_t len) { function zero_int_new (line 695) | void zero_int_new(zero_basic_t **zero_basic_p, uint64_t val, uint8_t end... function zero_list_new (line 720) | void zero_list_new(zero_basic_t **zero_basic_p, zero_basic_t **list) { function zero_bool_test (line 745) | static void zero_bool_test() { function zero_string_test (line 760) | static void zero_string_test() { function zero_short_raw_test (line 775) | static void zero_short_raw_test() { function zero_long_raw_test (line 790) | static void zero_long_raw_test() { function zero_int_little_test (line 809) | static void zero_int_little_test() { function zero_int_big_test (line 824) | static void zero_int_big_test() { function zero_list_test (line 839) | static void zero_list_test() { function test_zero_pack (line 876) | void test_zero_pack() { function zero_basic_dump (line 889) | void zero_basic_dump(zero_basic_t *target, size_t size) { FILE: 2018/0ctf-final-2018/pwn/zeroftp/zero_pack.h type zero_basic_type (line 7) | enum zero_basic_type { type zero_info_t (line 15) | typedef uint8_t zero_info_t ; type zero_types_t (line 16) | typedef uint8_t zero_types_t ; type zero_basic_t (line 18) | typedef struct zero_basic_t { type result_t (line 24) | typedef int32_t result_t; type RETURN_RESULT (line 26) | enum RETURN_RESULT { FILE: 2018/0ctf-final-2018/pwn/zeroftp/zero_proto.h type zeroftp_cmd_type (line 7) | enum zeroftp_cmd_type { FILE: 2018/0ctf-final-2018/pwn/zeroftp/zero_utils.c function zero_hexdump (line 4) | void zero_hexdump(unsigned char *mem, int len) { FILE: 2018/0ctf-final-2018/pwn/zeroftp/zerofs.c function _create_block (line 67) | static int _create_block(void) { function _free_block (line 86) | static int _free_block(int blockId) { function _memory_truncate (line 100) | static long int _memory_truncate(long int blockId, off_t length, long in... function _memory_write (line 138) | static ssize_t _memory_write(long int blockId, const void *buf, long int... function _memory_read (line 158) | static ssize_t _memory_read(long int blockId, void *buf, long int st, lo... function _create_inode (line 176) | static int _create_inode(void) { function _free_inode (line 189) | static int _free_inode(long int inumber) { function _unlink_fnode (line 233) | static inline void _unlink_fnode(fnode_t *fnode) { function fnode_t (line 266) | static fnode_t *_resolve_path(const char *pathname, int padir) { function IOFile (line 326) | static IOFile *_create_IOFile(fnode_t *fnode, int flags) { function _init_disk (line 337) | static void _init_disk(zerofs_disk *disk) { function _insert_IOFile (line 368) | static int _insert_IOFile(IOFile *io_file) { function fnode_t (line 388) | static fnode_t *_create_fnode(file_t type, const char *name, perm_t perm... function zerofs_initfs (line 420) | ssize_t zerofs_initfs(const char *username) { function zerofs_open (line 459) | int zerofs_open(const char *pathname, int flags){ function zerofs_close (line 507) | int zerofs_close(int fd) { function zerofs_chdir (line 521) | int zerofs_chdir(const char *pathname) { function zerofs_mkdir (line 536) | int zerofs_mkdir(const char *pathname, int flags) { function zerofs_rmdir (line 569) | int zerofs_rmdir(const char *pathname) { function off_t (line 598) | off_t zerofs_lseek(int fd, off_t offset, int whence) { function zerofs_elemset (line 670) | int zerofs_elemset(const char *pathname, elem_t elem, value_t value) { function value_t (line 732) | value_t zerofs_elemget(const char *pathname, elem_t elem) { function zerofs_link (line 777) | int zerofs_link(const char *oldpath, const char *newpath) { function zerofs_unlink (line 812) | int zerofs_unlink(const char *pathname) { function zerofs_read (line 844) | ssize_t zerofs_read(int fd, void *buf, size_t count) { function zerofs_truncate (line 869) | int zerofs_truncate(const char *pathname, off_t length) { function zerofs_write (line 894) | ssize_t zerofs_write(int fd, const void *buf, size_t count) { function main (line 931) | int main() { FILE: 2018/0ctf-final-2018/pwn/zeroftp/zerofs.h type file_t (line 24) | typedef enum { type perm_t (line 29) | typedef enum { type elem_t (line 35) | typedef enum { type value_t (line 49) | typedef union { type inode_t (line 58) | typedef struct inode_t { type block_t (line 68) | typedef struct { type zerofs_disk (line 74) | typedef struct { type fnode_t (line 81) | typedef struct fnode_t { type IOFile (line 96) | typedef struct IOFile { type zerofs_state (line 102) | typedef struct { FILE: 2018/0ctf-final-2018/pwn/zeroftp/zeroftp.c function is_regular_file (line 40) | static int is_regular_file(const char *path) { function zeroftp_send (line 47) | void zeroftp_send(uint8_t *packet, size_t data_len) { function zeroftp_result_bool (line 65) | void zeroftp_result_bool(int result) { function zeroftp_result_int (line 87) | void zeroftp_result_int(uint64_t val) { function zeroftp_result_raw (line 108) | void zeroftp_result_raw(uint8_t *raw, uint8_t raw_size) { function zeroftp_result_string (line 128) | void zeroftp_result_string(uint8_t *str) { function zeroftp_result_list (line 148) | void zeroftp_result_list(zero_basic_t **list) { function zeroftp_cmd_dispatcher (line 170) | void zeroftp_cmd_dispatcher(uint8_t *cmd, uint32_t cmd_len) { function zeroftp_main (line 742) | void zeroftp_main(uint8_t *packet) { function zeroftp_main (line 768) | void zeroftp_main() { function zeroftp_loop (line 810) | void zeroftp_loop() { function zeroftp_test (line 1108) | void zeroftp_test() { function sigalrm_fn (line 1155) | void sigalrm_fn(int sig) function initial (line 1161) | void initial() { function main (line 1170) | int main(int argc, char const* argv[]) FILE: 2018/0ctf-quals-2018/pwn/babyheap/solve_babyheap.py function alloc (line 11) | def alloc(size): function update (line 16) | def update(index,size,content): function delete (line 25) | def delete(index): function view (line 30) | def view(index): function main (line 37) | def main(): FILE: 2018/0ctf-quals-2018/pwn/babystack/solve_babystack_ref.py function calcpow (line 29) | def calcpow(chal): function get_connection (line 37) | def get_connection(): function exploit (line 40) | def exploit(r): FILE: 2018/35c3-2018/crypto/post_quantum/challenge.py function matrix_vector_multiply (line 8) | def matrix_vector_multiply(columns, vector): function bitvector_to_bytes (line 19) | def bitvector_to_bytes(bitvector): function bitvector_from_bytes (line 22) | def bitvector_from_bytes(bytes): class CodeBasedEncryptionScheme (line 25) | class CodeBasedEncryptionScheme(object): method new (line 28) | def new(cls, bitlength=48): method __init__ (line 32) | def __init__(self, key): method keygen (line 38) | def keygen(cls, bitlength): method add_encoding (line 43) | def add_encoding(self, message): method decode (line 54) | def decode(self, message): method encrypt (line 68) | def encrypt(self, message): method decrypt (line 96) | def decrypt(self, ciphertext): FILE: 2018/35c3-2018/pwn/Junior-Stringmaster2/solve.py function swap (line 11) | def swap(i1,i2): function replace (line 13) | def replace(c1,c2): function printt (line 16) | def printt(): function quit (line 18) | def quit(): FILE: 2018/35c3-2018/pwn/Junior-Stringmaster2/stringmaster2.cpp function print_menu (line 14) | void print_menu() { function play (line 24) | void play() { function main (line 106) | int main() { FILE: 2018/35c3-2018/pwn/collection/exp.py function p64 (line 9) | def p64(x): function u64 (line 12) | def u64(x): function fake (line 19) | def fake(addr): function r64 (line 41) | def r64(addr): function w64 (line 45) | def w64(addr, data): FILE: 2018/bctf-2018/pwn/easiest/exp.py function attach (line 23) | def attach(addr): function add (line 28) | def add(idx, size, data): function del1 (line 34) | def del1(idx): function del2 (line 38) | def del2(idx): FILE: 2018/codegate-quals-2018/pwn/gamebox1/_7amebox_patched.py class Stdin (line 23) | class Stdin: method read (line 24) | def read(self, size): method write (line 36) | def write(self, data): class Stdout (line 40) | class Stdout: method read (line 41) | def read(self, size): method write (line 44) | def write(self, data): class Register (line 51) | class Register: method __init__ (line 52) | def __init__(self): method init_register (line 56) | def init_register(self): method set_register (line 60) | def set_register(self, reg, value): method get_register (line 72) | def get_register(self, reg): class FileSystem (line 85) | class FileSystem: method __init__ (line 86) | def __init__(self): method load_file (line 89) | def load_file(self, filename): method open (line 94) | def open(self, filename): class File (line 104) | class File: method __init__ (line 105) | def __init__(self): method set_buffer (line 110) | def set_buffer(self, data): method read (line 114) | def read(self, size): method write (line 127) | def write(self, data): class Memory (line 131) | class Memory: method __init__ (line 132) | def __init__(self, size): method __getitem__ (line 138) | def __getitem__(self, key): method __setitem__ (line 141) | def __setitem__(self, key, val): method get_perm (line 144) | def get_perm(self, addr): method set_perm (line 150) | def set_perm(self, addr, perm): method allocate (line 153) | def allocate(self, new_perm, addr=None): method check_permission (line 167) | def check_permission(self, addr, perm): class EMU (line 174) | class EMU: method __init__ (line 175) | def __init__(self): method set_timeout (line 206) | def set_timeout(self, timeout = 30): method set_mitigation (line 213) | def set_mitigation(self, nx=False): method init_pipeline (line 217) | def init_pipeline(self): method load_firmware (line 221) | def load_firmware(self, firm_name): method bit_concat (line 254) | def bit_concat(self, bit_list): method execute (line 262) | def execute(self): method dispatch (line 285) | def dispatch(self, addr): method read_memory (line 318) | def read_memory(self, addr, length): method read_memory_str (line 331) | def read_memory_str(self, addr): method read_memory_tri (line 351) | def read_memory_tri(self, addr, count): method write_memory (line 369) | def write_memory(self, addr, data, length): method write_memory_tri (line 380) | def write_memory_tri(self,addr,data_list, count): method op_x0 (line 393) | def op_x0(self, op_type, opers): method op_x1 (line 406) | def op_x1(self, op_type, opers): method op_x2 (line 420) | def op_x2(self, op_type, opers): method op_x3 (line 431) | def op_x3(self, op_type, opers): method op_x4 (line 442) | def op_x4(self, op_type, opers): method op_x5 (line 463) | def op_x5(self, op_type, opers): method op_x6 (line 480) | def op_x6(self, op_type, opers, is_ins=True): method op_x7 (line 505) | def op_x7(self, op_type, opers): method op_x9 (line 522) | def op_x9(self, op_type, opers): method op_x10 (line 544) | def op_x10(self, op_type, opers): method op_x11 (line 565) | def op_x11(self, op_type, opers): method op_x12 (line 587) | def op_x12(self, op_type, opers): method op_x13 (line 609) | def op_x13(self, op_type, opers): method op_x14 (line 630) | def op_x14(self, op_type, opers): method op_x15 (line 651) | def op_x15(self, op_type, opers): method op_x16 (line 672) | def op_x16(self, op_type, opers): method op_x17 (line 699) | def op_x17(self, op_type, opers): method op_x18 (line 713) | def op_x18(self, op_type, opers): method op_x19 (line 727) | def op_x19(self, op_type, opers): method op_x20 (line 749) | def op_x20(self, op_type, opers): method op_x21 (line 771) | def op_x21(self, op_type, opers): method op_x22 (line 793) | def op_x22(self, op_type, opers): method op_x23 (line 815) | def op_x23(self, op_type, opers): method op_x24 (line 855) | def op_x24(self, op_type, opers): method op_x25 (line 895) | def op_x25(self, op_type, opers): method op_x26 (line 921) | def op_x26(self, op_type, opers): method op_x27 (line 947) | def op_x27(self, op_type, opers): method op_x28 (line 972) | def op_x28(self, op_type, opers): method op_x29 (line 999) | def op_x29(self, op_type, opers): method op_x30 (line 1021) | def op_x30(self, op_type, opers): method op_x8 (line 1048) | def op_x8(self, op_type, opers): method sys_s0 (line 1060) | def sys_s0(self): method sys_s1 (line 1065) | def sys_s1(self): method sys_s2 (line 1083) | def sys_s2(self): method sys_s3 (line 1099) | def sys_s3(self): method sys_s4 (line 1116) | def sys_s4(self): method sys_s5 (line 1129) | def sys_s5(self): method terminate (line 1135) | def terminate(self, msg): FILE: 2018/codegate-quals-2018/pwn/gamebox1/solve.py function u21 (line 12) | def u21(s): function p21 (line 22) | def p21(num): function movI (line 29) | def movI(reg, val): function syscall (line 37) | def syscall(): function inc (line 45) | def inc(reg): function dec (line 52) | def dec(reg): function check (line 59) | def check(): FILE: 2018/codegate-quals-2018/pwn/marimo/solve.py function attach (line 12) | def attach(addr): function sell (line 15) | def sell(idx): function buy (line 23) | def buy(size, name, profile): function view (line 35) | def view(idx, modify=False, profile=None): function free_marimo (line 63) | def free_marimo(name, profile): FILE: 2018/codegate-quals-2018/pwn/melong/solve.py function attach (line 11) | def attach(addr): function check (line 14) | def check(height, weight): function exercise (line 22) | def exercise(): function register (line 26) | def register(size): function write_diary (line 32) | def write_diary(payload): FILE: 2018/codegate-quals-2018/web/rbSql/dbconn.php function rbSql (line 20) | function rbSql($cmd,$table,$query){ function rbParse (line 112) | function rbParse($rawData){ function rbPack (line 159) | function rbPack($data){ function rbGetPath (line 171) | function rbGetPath($table){ function rbReadFile (line 178) | function rbReadFile($filePath){ function rbWriteFile (line 185) | function rbWriteFile($filePath,$fileContent){ FILE: 2018/codegate-quals-2018/web/rbSql/exp.py function join (line 9) | def join(): FILE: 2018/csaw-quals-2018/ppc/bin_t/exp.py function debug (line 5) | def debug(msg): class Node (line 9) | class Node(): method __init__ (line 10) | def __init__(self, key): class AVLTree (line 15) | class AVLTree(): method __init__ (line 16) | def __init__(self, *args): method height (line 25) | def height(self): method is_leaf (line 31) | def is_leaf(self): method insert (line 34) | def insert(self, key): method rebalance (line 56) | def rebalance(self): method rrotate (line 84) | def rrotate(self): method lrotate (line 96) | def lrotate(self): method update_heights (line 108) | def update_heights(self, recurse=True): method update_balances (line 121) | def update_balances(self, recurse=True): method delete (line 133) | def delete(self, key): method logical_predecessor (line 167) | def logical_predecessor(self, node): method logical_successor (line 180) | def logical_successor(self, node): method check_balanced (line 195) | def check_balanced(self): method inorder_traverse (line 204) | def inorder_traverse(self): method preorder_traverse (line 221) | def preorder_traverse(self): method display (line 235) | def display(self, level=0, pref=''): FILE: 2018/csaw-quals-2018/pwn/alien/exp.py function attach (line 23) | def attach(addr): function new_alien (line 31) | def new_alien(size, name): function consume_alien (line 36) | def consume_alien(idx): FILE: 2018/csaw-quals-2018/pwn/doubletrouble/exp.py function attach (line 24) | def attach(addr): function pp (line 29) | def pp(x): FILE: 2018/csaw-quals-2018/pwn/plc/exp.py function validate_checksum (line 6) | def validate_checksum(code): FILE: 2018/ctfzone-quals-2018/crypto/SignatureServer/exp.py function sign (line 20) | def sign(data): function eeee (line 30) | def eeee(data,sig): FILE: 2018/ctfzone-quals-2018/crypto/SignatureServer/exp2.py function sign (line 21) | def sign(data): function eeee (line 31) | def eeee(data,sig): FILE: 2018/ctfzone-quals-2018/crypto/SignatureServer/server.py function extend_signature_key (line 27) | def extend_signature_key(initial_key): class Signer (line 33) | class Signer: method __init__ (line 35) | def __init__(self): method sign_byte (line 42) | def sign_byte(self,a,ind): method sign (line 47) | def sign(self,data): method execute_command (line 60) | def execute_command(self,data_sig): function process (line 81) | def process(data,signer): class ThreadedTCPRequestHandler (line 93) | class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): method handle (line 95) | def handle(self): method finish (line 110) | def finish(self): class ThreadedTCPServer (line 114) | class ThreadedTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPSer... FILE: 2018/defcon-quals-2018/pwn/babypwn/baby.c function main (line 10) | int main() FILE: 2018/defcon-quals-2018/pwn/babypwn/solve_babypwn_ref.py function pow_hash (line 11) | def pow_hash(challenge, solution): function check_pow (line 14) | def check_pow(challenge, n, solution): function solve_pow (line 18) | def solve_pow(challenge, n): function hit (line 26) | def hit(): FILE: 2018/dragonctf-2018/crypto/aes/exp.py function xor (line 9) | def xor(a, b): function pad (line 13) | def pad(msg): function bruteforce (line 30) | def bruteforce(iv,msg): function bruteforce2 (line 116) | def bruteforce2(iv,msg): FILE: 2018/dragonctf-2018/crypto/aes/exp12.py function xor (line 7) | def xor(a, b): function pad (line 11) | def pad(msg): function bruteforce (line 28) | def bruteforce(iv,msg): FILE: 2018/dragonctf-2018/crypto/aes/exp2.py function xor (line 7) | def xor(a, b): function pad (line 11) | def pad(msg): function bruteforce (line 28) | def bruteforce(iv,msg): function bruteforce2 (line 114) | def bruteforce2(iv,msg): FILE: 2018/dragonctf-2018/crypto/aes/exp3.py function xor (line 7) | def xor(a, b): function pad (line 11) | def pad(msg): function bruteforce (line 28) | def bruteforce(iv,msg): function getlast (line 138) | def getlast(d): FILE: 2018/dragonctf-2018/crypto/aes/exp43.py function xor (line 7) | def xor(a, b): function pad (line 11) | def pad(msg): function bruteforce (line 28) | def bruteforce(iv,msg): FILE: 2018/dragonctf-2018/crypto/aes/server.py class CryptoError (line 11) | class CryptoError(Exception): function split_by (line 15) | def split_by(data, step): function xor (line 19) | def xor(a, b): function pad (line 24) | def pad(msg): function unpad (line 29) | def unpad(msg): function tsb_encrypt (line 35) | def tsb_encrypt(aes, msg): function tsb_decrypt (line 52) | def tsb_decrypt(aes, msg): function send_binary (line 69) | def send_binary(s, msg): function send_enc (line 73) | def send_enc(s, aes, msg): function recv_exact (line 76) | def recv_exact(s, length): function recv_binary (line 86) | def recv_binary(s): function recv_enc (line 91) | def recv_enc(s, aes): function main (line 95) | def main(s): class TaskHandler (line 117) | class TaskHandler(SocketServer.BaseRequestHandler): method handle (line 118) | def handle(self): FILE: 2018/dragonctf-2018/web/Nodepad/cli.py class Cli (line 8) | class Cli(Saker): method __init__ (line 10) | def __init__(self, url): method getToken (line 14) | def getToken(self): method login (line 17) | def login(self, username, password="test"): method addNotes (line 28) | def addNotes(self, title, content=""): FILE: 2018/google-2018/web/gcalc/app.js function k (line 14) | function k(a) { function l (line 35) | function l(a, b, c, d, f) { function q (line 53) | function q(a, b) { function n (line 57) | function n(a) { function p (line 66) | function p(a, b) { function r (line 77) | function r(a) { function t (line 85) | function t(a) { function u (line 153) | function u(a) { FILE: 2018/hacklu-2018/crypto/relate/exp.py function ADD (line 7) | def ADD(a): function XOR (line 15) | def XOR(a): FILE: 2018/hacklu-2018/pwn/heap_heaven_2/exp.py function attach (line 22) | def attach(addr): function w (line 27) | def w(offset, data): function f (line 33) | def f(offset): function l (line 37) | def l(offset): FILE: 2018/hacklu-2018/pwn/heap_hell/exp.py function attach (line 22) | def attach(addr): function w (line 27) | def w(offset, size, data): function f (line 33) | def f(offset): function l (line 37) | def l(offset): FILE: 2018/hacklu-2018/pwn/heap_hell_2/exp.py function attach (line 24) | def attach(addr): function w (line 29) | def w(offset, size, data): function f (line 35) | def f(offset): function l (line 39) | def l(offset): FILE: 2018/hacklu-2018/pwn/slot_machine/exp1.py function attach (line 23) | def attach(addr): function m (line 28) | def m(size): function f (line 32) | def f(idx): function w (line 36) | def w(data): FILE: 2018/hacklu-2018/pwn/slot_machine/exp2.py function attach (line 23) | def attach(addr): function m (line 28) | def m(size): function f (line 32) | def f(idx): function w (line 36) | def w(data): FILE: 2018/hctf-quals-2018/crypto/xor_game/challenge.py function enc (line 6) | def enc(data, key): FILE: 2018/hctf-quals-2018/crypto/xor_rsa/rsa.py class ThreadedTCPServer (line 10) | class ThreadedTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPSer... class RSATCPHandler (line 14) | class RSATCPHandler(SocketServer.BaseRequestHandler): method handle (line 15) | def handle(self): FILE: 2018/hctf-quals-2018/crypto/xor_rsa/short.sage.py function short_pad_attack (line 8) | def short_pad_attack(c1, c2, e, n): function related_message_attack (line 29) | def related_message_attack(c1, c2, diff, e, n): FILE: 2018/hctf-quals-2018/misc/freqgame/freqexp.py function get_number (line 9) | def get_number(x, freq,rge): FILE: 2018/hctf-quals-2018/misc/freqgame/freqgame.py function get_number (line 3) | def get_number(x, freq,rge): function divide_flag (line 7) | def divide_flag(token): function game (line 14) | def game(level,flag_list): function start_game (line 28) | def start_game(tcpClisock,token,userlogger): FILE: 2018/hitcon-2018/crypto/key/exp.py function enc (line 21) | def enc(data): function dec (line 28) | def dec(data): FILE: 2018/hitcon-2018/crypto/key/exp2.py function enc (line 19) | def enc(data): function dec (line 26) | def dec(data): FILE: 2018/hitcon-2018/crypto/key/exp3.py function enc (line 19) | def enc(data): function dec (line 26) | def dec(data): FILE: 2018/hitcon-2018/crypto/key/server.py function genKey (line 9) | def genKey(): function calc (line 20) | def calc(n,p,data): function readFlag (line 25) | def readFlag(): FILE: 2018/hitcon-2018/crypto/key/test.py function genKey (line 9) | def genKey(): function calc (line 20) | def calc(n,p,data): function readFlag (line 25) | def readFlag(): FILE: 2018/hitcon-2018/misc/ev3scanner/test.py function getres (line 46) | def getres(): FILE: 2018/hitcon-2018/pwn/abyss/exp1.py function my_asm (line 22) | def my_asm(instrcutions): function to_int (line 74) | def to_int(val): function put_shellcode (line 80) | def put_shellcode(shellcode): function OFFSET (line 91) | def OFFSET(v, bits): function PML4OFF (line 94) | def PML4OFF(v): function PDPOFF (line 97) | def PDPOFF(v): function PDOFF (line 100) | def PDOFF(v): FILE: 2018/hitcon-2018/pwn/abyss/exp2.py function my_asm (line 22) | def my_asm(instrcutions): function to_int (line 74) | def to_int(val): function put_shellcode (line 80) | def put_shellcode(shellcode): function OFFSET (line 91) | def OFFSET(v, bits): function PML4OFF (line 94) | def PML4OFF(v): function PDPOFF (line 97) | def PDPOFF(v): function PDOFF (line 100) | def PDOFF(v): FILE: 2018/hitcon-2018/pwn/abyss/exp3.py function my_asm (line 22) | def my_asm(instrcutions): function to_int (line 74) | def to_int(val): function put_shellcode (line 80) | def put_shellcode(shellcode): function OFFSET (line 91) | def OFFSET(v, bits): function PML4OFF (line 94) | def PML4OFF(v): function PDPOFF (line 97) | def PDPOFF(v): function PDOFF (line 100) | def PDOFF(v): FILE: 2018/hitcon-2018/pwn/baby_tcache/exp.py function attach (line 23) | def attach(addr): function malloc (line 28) | def malloc(size, data): function free (line 33) | def free(idx): FILE: 2018/hitcon-2018/pwn/children_tcache/exp.py function attach (line 25) | def attach(addr): function malloc (line 30) | def malloc(size, data): function show (line 35) | def show(idx): function free (line 39) | def free(idx): FILE: 2018/meepwn-final-2018/crypto/esor/exp.py function encrypt (line 10) | def encrypt(prefix,suffix): function decrypt (line 20) | def decrypt(data): function deal (line 28) | def deal(data): FILE: 2018/meepwn-final-2018/crypto/esor/exp2.py function encrypt (line 10) | def encrypt(prefix,suffix): function decrypt (line 20) | def decrypt(data): function deal (line 28) | def deal(data): FILE: 2018/meepwn-final-2018/crypto/esor/src.py class Unbuffered (line 13) | class Unbuffered(object): method __init__ (line 14) | def __init__(self, stream): method write (line 16) | def write(self, data): method __getattr__ (line 19) | def __getattr__(self, attr): function pad (line 33) | def pad(msg): function unpad (line 37) | def unpad(msg): function compute_hmac (line 40) | def compute_hmac(msg): function encrypt (line 43) | def encrypt(prefix='', suffix=''): function decrypt (line 51) | def decrypt(data): FILE: 2018/meepwn-final-2018/pwn/babyarm/exp.py function attach (line 22) | def attach(addr): function add (line 26) | def add(idx, content): function show (line 34) | def show(idx): function dele (line 40) | def dele(idx): function info (line 46) | def info(): FILE: 2018/meepwn-final-2018/pwn/jump/exp.py function init (line 10) | def init(binary, host, port, R=True, E=False): function attach (line 25) | def attach(addr): function exploit (line 30) | def exploit(host): FILE: 2018/meepwn-quals-2018/crypto/bazik/solve.py function matrix_overview (line 4) | def matrix_overview(BB, bound): function coppersmith_howgrave_univariate (line 14) | def coppersmith_howgrave_univariate(pol, modulus, beta, mm, tt, XX): FILE: 2018/meepwn-quals-2018/crypto/bitbitbit/midbit.py function pad (line 21) | def pad(num, length): function xor (line 27) | def xor(a, b): function gen_key (line 31) | def gen_key(): function proof_of_shit (line 57) | def proof_of_shit(): FILE: 2018/meepwn-quals-2018/crypto/esor/server.py class Unbuffered (line 13) | class Unbuffered(object): method __init__ (line 14) | def __init__(self, stream): method write (line 16) | def write(self, data): method __getattr__ (line 19) | def __getattr__(self, attr): function pad (line 31) | def pad(msg): function unpad (line 35) | def unpad(msg): function compute_hmac (line 38) | def compute_hmac(msg): function encrypt (line 41) | def encrypt(prefix='', suffix=''): function decrypt (line 49) | def decrypt(data): FILE: 2018/meepwn-quals-2018/crypto/still_old_school/aes_server.py function to_string (line 21) | def to_string(num, max_len = 128): function pad (line 25) | def pad(s): function unpad (line 29) | def unpad(s): function gen_key (line 32) | def gen_key(mask): function encrypt_msg (line 39) | def encrypt_msg(msg, key1, key2): function proof_of_work (line 46) | def proof_of_work(): FILE: 2018/meepwn-quals-2018/crypto/still_old_school/mid.py function mid (line 12) | def mid(pre1, pre2): FILE: 2018/meepwn-quals-2018/crypto/still_old_school/sock.py function enc (line 9) | def enc(m='a'*16): function getflag (line 15) | def getflag(): function b2n (line 20) | def b2n(b): FILE: 2018/n1ctf-2018/crypto/baby_N1ES/N1ES.py function round_add (line 2) | def round_add(a, b): function permutate (line 9) | def permutate(table, block): function string_to_bits (line 12) | def string_to_bits(data): function generate (line 25) | def generate(o): class N1ES (line 42) | class N1ES: method __init__ (line 43) | def __init__(self, key): method gen_subkey (line 49) | def gen_subkey(self): method encrypt (line 61) | def encrypt(self, plaintext): method decrypt (line 75) | def decrypt(self, ctext): FILE: 2018/n1ctf-2018/misc/math_gath/mathGame.py function isPrime (line 18) | def isPrime(n): function get_column (line 21) | def get_column(data, idx): function check (line 28) | def check(data, f): function find_points (line 49) | def find_points(data, f): function get_lines (line 165) | def get_lines(points): function get3 (line 178) | def get3(p1, p2, a, i): function resolve (line 185) | def resolve(vec, l): function find_point (line 196) | def find_point(lines): function handle (line 216) | def handle(f, debug = DEBUG): FILE: 2018/n1ctf-2018/pwn/beeper/solve.py function attach (line 17) | def attach(addr): function show_message (line 26) | def show_message(idx): function remove_message (line 32) | def remove_message(idx): function buy_phone (line 38) | def buy_phone(): function logout (line 42) | def logout(payload): FILE: 2018/n1ctf-2018/pwn/network_card/solve.c type payload_t (line 20) | struct payload_t { function die (line 25) | void die(char *s) function dump (line 33) | void dump(unsigned char *mem, int len) { function shell (line 90) | void shell(void) { type file (line 105) | struct file function save_state (line 107) | static void save_state() { function leak1 (line 170) | void leak1() { function leak2 (line 205) | void leak2() { function escalate (line 264) | void escalate() { function exploit (line 299) | void exploit() { function main (line 317) | int main(void) FILE: 2018/n1ctf-2018/pwn/null/solve.py function attach (line 17) | def attach(addr): function use (line 20) | def use(size, blocks, payload, inp): FILE: 2018/n1ctf-2018/pwn/vote/solve.py function attach (line 19) | def attach(addr): function create (line 22) | def create(size, name): function show (line 30) | def show(idx): function vote (line 36) | def vote(idx): function result (line 42) | def result(idx): function cancel (line 46) | def cancel(idx): FILE: 2018/n1ctf-2018/pwn/vote/solve2.py function attach (line 4) | def attach(*addrs): function create (line 9) | def create(size,name): function show (line 16) | def show(index): function vote (line 29) | def vote(index): function cancel (line 34) | def cancel(index): function main (line 39) | def main(): FILE: 2018/pico-2018/pwn/cake/solve_cake.py function make (line 13) | def make(name,price): function wait (line 17) | def wait(): function serve (line 19) | def serve(index): function inspect (line 22) | def inspect(index): function close (line 30) | def close(): function attach (line 32) | def attach(addr=0): FILE: 2018/plaidctf-2018/pwn/shop/solve_shop.py function add (line 27) | def add(s1,s2,price): function initentershopname (line 33) | def initentershopname(name): function entershopname (line 35) | def entershopname(name): function show (line 38) | def show(): function count (line 40) | def count(haystack): FILE: 2018/seccon-quals-2018/pwn/q-escape/solve.c function die (line 17) | void die(const char* msg) { function hexdump (line 22) | void hexdump(uint8_t *mem, size_t len) { function lowmem_write (line 39) | void lowmem_write(uint64_t addr, uint8_t value) { function lowmem_read (line 43) | uint64_t lowmem_read(uint64_t addr) { function mmio_write (line 47) | void mmio_write(uint64_t addr, uint8_t value) { function mmio_read (line 51) | uint64_t mmio_read(uint64_t addr) { function set_sr (line 55) | void set_sr(int idx, int val) { function cydf_vga_mem_cmd_alloc (line 95) | void cydf_vga_mem_cmd_alloc(uint16_t size) { function cydf_vga_mem_cmd_read_8 (line 102) | void cydf_vga_mem_cmd_read_8(uint8_t idx, uint8_t byte) { function cydf_vga_mem_cmd_read_64 (line 109) | void cydf_vga_mem_cmd_read_64(uint8_t idx, uint64_t val) { function cydf_vga_mem_cmd_write (line 118) | void cydf_vga_mem_cmd_write(uint8_t idx) { function main (line 124) | int main(int argc, char const* argv[]) { FILE: 2018/seccon-quals-2018/pwn/simplememo/exp.py function attach (line 27) | def attach(addr): function add (line 33) | def add(memo): function show (line 40) | def show(idx): function delete (line 45) | def delete(idx): function leak (line 49) | def leak(addr): function free (line 54) | def free(addr): function bye (line 58) | def bye(): FILE: 2018/starctf-2018/pwn/babystack/solve.py function attach (line 18) | def attach(addr): function proof (line 23) | def proof(): FILE: 2018/starctf-2018/pwn/calc/solve.py function attach (line 23) | def attach(addr): function proof (line 28) | def proof(): function writemem (line 80) | def writemem(idx, val): function writemem_by_mum (line 106) | def writemem_by_mum(idx, val): FILE: 2018/starctf-2018/pwn/heap/solve.py function attach (line 20) | def attach(addr): function malloc (line 23) | def malloc(size, content): function edit (line 31) | def edit(idx, content): function free (line 39) | def free(idx): function proof (line 47) | def proof(): FILE: 2018/starctf-2018/pwn/note/solve_note_ref.py function brute_force (line 36) | def brute_force(prefix,s): function debug (line 44) | def debug(): function edit (line 49) | def edit(s): function show (line 53) | def show(): function save (line 58) | def save(): function changeID (line 62) | def changeID(s): function exit (line 66) | def exit(): FILE: 2018/starctf-2018/pwn/primepwn/solve.py function proof (line 21) | def proof(): function attach (line 38) | def attach(addr): FILE: 2018/starctf-2018/pwn/stackoverflow/solve.py function attach (line 21) | def attach(addr): function proof (line 26) | def proof(io): FILE: 2018/starctf-2018/pwn/url/solve.py function attach (line 21) | def attach(addr): function create (line 24) | def create(size, url): function encode (line 32) | def encode(idx): function decode (line 38) | def decode(idx): function delete (line 44) | def delete(idx): function _list (line 50) | def _list(): function proof (line 56) | def proof(): function urlencode (line 114) | def urlencode(s): FILE: 2018/starctf-2018/pwn/url2/solve.py function attach (line 22) | def attach(addr): function create (line 25) | def create(size, url): function encode (line 33) | def encode(idx): function decode (line 39) | def decode(idx): function delete (line 45) | def delete(idx): function _list (line 51) | def _list(): function proof (line 57) | def proof(): FILE: 2018/starctf-2018/re/wasm/solve.py function xor (line 7) | def xor(a, b): FILE: 2018/starctf-2018/re/wasm/tea.py function lshift4 (line 40) | def lshift4(a): function rshift5 (line 44) | def rshift5(a): function lshift4_add (line 48) | def lshift4_add(a, b): function rshift5_add (line 53) | def rshift5_add(a, b): function add (line 58) | def add(a, b): function sub (line 63) | def sub(a, b): function xor (line 68) | def xor(a, b, c): class TinyEncryptionAlgorithm (line 74) | class TinyEncryptionAlgorithm(object): method __init__ (line 78) | def __init__(self, delta=0x9e3779b9, summation=0xc6ef3720): method encrypt_block (line 82) | def encrypt_block(self, block, key): method decrypt_block (line 113) | def decrypt_block(self, block, key): method get_padded_plaintext (line 143) | def get_padded_plaintext(self, data): method remove_padding (line 153) | def remove_padding(self, data): method encrypt (line 162) | def encrypt(self, data, key): method decrypt (line 192) | def decrypt(self, data, key): function _main (line 220) | def _main(args): FILE: 2018/twctf-2018/crypto/mixed/exp.py function init (line 15) | def init(): function encrypt (line 19) | def encrypt(data): function encrypt_n (line 33) | def encrypt_n(n): function decrypt (line 47) | def decrypt(data): function get_key (line 56) | def get_key(): function get_flag (line 102) | def get_flag(): FILE: 2018/twctf-2018/crypto/mixed/exp2.py function init (line 16) | def init(): function encrypt (line 20) | def encrypt(data): function encrypt_n (line 39) | def encrypt_n(n): function decrypt (line 53) | def decrypt(data): function get_key (line 62) | def get_key(): function get_flag (line 121) | def get_flag(): FILE: 2018/twctf-2018/crypto/mixed/lsbtest3.py function parity_oracle (line 3) | def parity_oracle(n, query): FILE: 2018/twctf-2018/crypto/mixed/mt19937predictor.py class MT19937Predictor (line 9) | class MT19937Predictor(): method __init__ (line 10) | def __init__(self): method __tempering (line 14) | def __tempering(self, y): method __untempering (line 21) | def __untempering(self, y): method __twister (line 28) | def __twister(self, k): method getrandbits (line 33) | def getrandbits(self, bits): method getrand32bits (line 48) | def getrand32bits(self): method setrand32bits (line 54) | def setrand32bits(self, y): method setrandbits (line 59) | def setrandbits(self, y, bits): method random (line 72) | def random(self): method setstate (line 82) | def setstate(self, mt, mti): method getstate (line 86) | def getstate(self): FILE: 2018/twctf-2018/crypto/mixed/server.py function pad (line 18) | def pad(s): function unpad (line 22) | def unpad(s): function aes_encrypt (line 26) | def aes_encrypt(s): function aes_decrypt (line 31) | def aes_decrypt(s): function bulldozer (line 36) | def bulldozer(s): function encrypt (line 43) | def encrypt(): function decrypt (line 48) | def decrypt(): function print_flag (line 52) | def print_flag(): function print_key (line 58) | def print_key(): FILE: 2018/uiuctf-2018/pwn/how2heap/solve_how2heap.py function lineup (line 11) | def lineup(): function makenew (line 14) | def makenew(name,age): function delt (line 21) | def delt(): function countt (line 24) | def countt(): FILE: 2018/wctf-2018/crypto/rsa/cinv.py function gcd (line 7) | def gcd(a,b): function inv (line 12) | def inv(a,m): function divmod (line 22) | def divmod(a, b, m): FILE: 2018/wctf-2018/crypto/rsa/wmap.cpp function ll (line 17) | ll inv(ll a) function main (line 31) | int main() FILE: 2018/wctf-2018/crypto/sgx_encrypt/exp.py function enc_one (line 10) | def enc_one(r,data): function enc_batch (line 18) | def enc_batch(r,data): function privilege (line 26) | def privilege(r,data): function format (line 32) | def format(s): function get_flag (line 37) | def get_flag(data): FILE: 2018/wctf-2018/crypto/sgx_encrypt/exp2.py function enc_one (line 10) | def enc_one(r,data): function enc_batch (line 18) | def enc_batch(r,data): function privilege (line 26) | def privilege(r,data): function format (line 32) | def format(s): function get_flag (line 37) | def get_flag(data): function get_flag2 (line 71) | def get_flag2(data): FILE: 2018/wctf-2018/pwn/klist/solve.c type list_add_arg_t (line 45) | typedef struct _list_add_arg { function dump (line 62) | void dump(unsigned char *mem, int len) { function init_gadgets (line 89) | void init_gadgets() { function save_state (line 112) | static void save_state() function get_root_payload (line 126) | void get_root_payload(void) function get_shell (line 132) | void get_shell() function prepare_rop (line 140) | void prepare_rop(void) { function list_add (line 209) | void list_add (size_t size, void *ptr) { function list_head (line 225) | void list_head(void *ptr) { function list_remove (line 235) | void list_remove(int idx) { function list_select (line 244) | void list_select(int idx) { function getshell (line 311) | void getshell() { function exploit (line 362) | void exploit() { function main (line 423) | int main(void) { FILE: 2018/xnuca-quals-2018/crypto/unconditional_security/solve.py function test (line 11) | def test(p, solved=None): function getp (line 36) | def getp(idx): FILE: 2018/xnuca-quals-2018/crypto/warmup/Buggy_Server.py function get_enc_key (line 14) | def get_enc_key(BitLen, Phi): function sprint (line 21) | def sprint(message): function communicate (line 25) | def communicate(): FILE: 2018/xnuca-quals-2018/crypto/warmup/exp.py function ext_Euclid (line 35) | def ext_Euclid(n, m): FILE: 2018/xnuca-quals-2018/pwn/0gadget/solve_0gadget.py function remark (line 7) | def remark(remark): function add (line 9) | def add(size,title,content,mark='add'): function delete (line 17) | def delete(index,mark='delete'): function deletee (line 21) | def deletee(index,mark='delete'): function show (line 25) | def show(index,mark='show'): FILE: 2018/xnuca-quals-2018/pwn/gets/exp.py function attach (line 30) | def attach(addr): function migrate (line 35) | def migrate(buf): function sendpayload (line 40) | def sendpayload(payload): FILE: 2018/xnuca-quals-2018/pwn/revenge/exp.py function attach (line 19) | def attach(addr): FILE: 2018/xnuca-quals-2018/pwn/secretcenter/exp.py function attach (line 23) | def attach(addr): function input_secret (line 28) | def input_secret(secret, size): function delete_secret (line 33) | def delete_secret(): function guard_ready (line 36) | def guard_ready(): function set_guard (line 39) | def set_guard(): function edit_secret (line 42) | def edit_secret(secret, size): function ttt (line 74) | def ttt(addr): FILE: 2018/xnuca-quals-2018/pwn/ssd/solve.c function die (line 21) | void die(const char* msg) function hexdump (line 27) | void hexdump(uint8_t* mem, size_t len) function virt2phys (line 39) | uint64_t virt2phys(void* p) function iowrite (line 64) | void iowrite(uint64_t addr, uint64_t value) function ioread (line 69) | uint64_t ioread(uint64_t addr) function xnuca_auth (line 74) | void xnuca_auth() function xnuca_set_timer (line 89) | void xnuca_set_timer() function xnuca_read_state (line 94) | void xnuca_read_state() { function xnuca_read_authed (line 98) | void xnuca_read_authed() { function xnuca_alloc (line 102) | void xnuca_alloc(uint8_t idx, uint8_t size) { function xnuca_edit (line 108) | void xnuca_edit(uint8_t idx, uint8_t offset, uint64_t val) { function xnuca_free (line 116) | void xnuca_free(uint8_t idx) { function main (line 122) | int main(int argc, char *argv[]) FILE: 2018/xnuca-quals-2018/pwn/steak/exp.py function attach (line 21) | def attach(addr): function add (line 24) | def add(size, buf): function delete (line 32) | def delete(idx): function edit (line 38) | def edit(idx, size, buf): function copy (line 48) | def copy(src, dst, size): FILE: 2018/xnuca-quals-2018/re/code_interpreter/emu.py function get_str (line 7) | def get_str(ins): FILE: 2018/xnuca-quals-2018/re/renn/exp.py function re_sigmoid (line 12) | def re_sigmoid(a): FILE: 2018/xnuca-quals-2018/re/renn/renn.py function get_input (line 5) | def get_input(): function judge (line 11) | def judge(a, b): FILE: 2022/darksol/solve1/exploit.py function get_account (line 20) | def get_account(): function pda (line 24) | def pda(base_key, seed): FILE: 2022/darksol/solve1/solana_helpers.py class OnCurveException (line 30) | class OnCurveException(Exception): class KeyError (line 32) | class KeyError(Exception): function create_program_address (line 35) | def create_program_address(seeds: List[bytes], program_id: bytes) -> bytes: function find_program_address (line 46) | def find_program_address(seeds: List[bytes], program_id: bytes) -> Tuple... function _inv (line 98) | def _inv(x): function _xrecover (line 106) | def _xrecover(y): function _isoncurve (line 116) | def _isoncurve(P): class NotOnCurve (line 122) | class NotOnCurve(Exception): function _decodepoint (line 126) | def _decodepoint(unclamped: int): function is_on_curve (line 138) | def is_on_curve(s: bytes) -> bool: FILE: 2022/darksol/solve1/solution/src/solution/solution.c type CreatePlayerInstr (line 3) | typedef struct type BuyInstr (line 13) | typedef struct type SellInstr (line 20) | typedef struct type FightInstr (line 27) | typedef struct type Player (line 34) | typedef struct function initialize (line 68) | uint64_t initialize(SolParameters *params) function create_fake_player (line 119) | uint64_t create_fake_player(SolParameters *params) function fight (line 175) | uint64_t fight(SolParameters *params) function hacker (line 209) | uint64_t hacker(SolParameters *params) function entrypoint (line 220) | extern uint64_t entrypoint(const uint8_t *input) FILE: 2022/darksol/solve2/exploit.py function get_account (line 20) | def get_account(): function pda (line 24) | def pda(base_key, seed): FILE: 2022/darksol/solve2/solana_helpers.py class OnCurveException (line 30) | class OnCurveException(Exception): class KeyError (line 32) | class KeyError(Exception): function create_program_address (line 35) | def create_program_address(seeds: List[bytes], program_id: bytes) -> bytes: function find_program_address (line 46) | def find_program_address(seeds: List[bytes], program_id: bytes) -> Tuple... function _inv (line 98) | def _inv(x): function _xrecover (line 106) | def _xrecover(y): function _isoncurve (line 116) | def _isoncurve(P): class NotOnCurve (line 122) | class NotOnCurve(Exception): function _decodepoint (line 126) | def _decodepoint(unclamped: int): function is_on_curve (line 138) | def is_on_curve(s: bytes) -> bool: FILE: 2022/darksol/solve2/solution/src/solution/solution.c type CreatePlayerInstr (line 3) | typedef struct type BuyInstr (line 13) | typedef struct type SellInstr (line 20) | typedef struct type FightInstr (line 27) | typedef struct type Player (line 34) | typedef struct function create_player (line 68) | uint64_t create_player(SolParameters *params) function fight1337 (line 110) | uint64_t fight1337(SolParameters *params) function hacker (line 142) | uint64_t hacker(SolParameters *params) function entrypoint (line 152) | extern uint64_t entrypoint(const uint8_t *input) FILE: 2022/darksol/solve3/exploit.py function get_account (line 20) | def get_account(): function pda (line 24) | def pda(base_key, seed): FILE: 2022/darksol/solve3/solana_helpers.py class OnCurveException (line 30) | class OnCurveException(Exception): class KeyError (line 32) | class KeyError(Exception): function create_program_address (line 35) | def create_program_address(seeds: List[bytes], program_id: bytes) -> bytes: function find_program_address (line 46) | def find_program_address(seeds: List[bytes], program_id: bytes) -> Tuple... function _inv (line 98) | def _inv(x): function _xrecover (line 106) | def _xrecover(y): function _isoncurve (line 116) | def _isoncurve(P): class NotOnCurve (line 122) | class NotOnCurve(Exception): function _decodepoint (line 126) | def _decodepoint(unclamped: int): function is_on_curve (line 138) | def is_on_curve(s: bytes) -> bool: FILE: 2022/darksol/solve3/solution/src/solution/solution.c type CreatePlayerInstr (line 3) | typedef struct type BuyInstr (line 13) | typedef struct type SellInstr (line 20) | typedef struct type FightInstr (line 27) | typedef struct type Player (line 34) | typedef struct function create_player (line 68) | uint64_t create_player(SolParameters *params) function buy (line 112) | uint64_t buy(SolParameters *params) function fight1337 (line 148) | uint64_t fight1337(SolParameters *params) function fight_to_sanity_health (line 186) | uint64_t fight_to_sanity_health(SolParameters *params) function fight_to_sanity_mana (line 230) | uint64_t fight_to_sanity_mana(SolParameters *params) function get_1337 (line 266) | uint64_t get_1337(SolParameters *params) function hacker (line 302) | uint64_t hacker(SolParameters *params) function entrypoint (line 322) | extern uint64_t entrypoint(const uint8_t *input) FILE: 2022/darksol/source/darksols/spl-token/inc/token.h type Token_AccountState (line 23) | enum Token_AccountState type Token_AccountState (line 44) | typedef uint8_t Token_AccountState; type Token_AuthorityType (line 50) | enum Token_AuthorityType type Token_AuthorityType (line 73) | typedef uint8_t Token_AuthorityType; type Token_COption_Pubkey_Tag (line 81) | typedef enum Token_COption_Pubkey_Tag { type Token_COption_Pubkey (line 92) | typedef struct Token_COption_Pubkey { type Token_TokenInstruction_Tag (line 104) | typedef enum Token_TokenInstruction_Tag { type Token_TokenInstruction_Token_InitializeMint_Body (line 432) | typedef struct Token_TokenInstruction_Token_InitializeMint_Body { type Token_TokenInstruction_Token_InitializeMultisig_Body (line 447) | typedef struct Token_TokenInstruction_Token_InitializeMultisig_Body { type Token_TokenInstruction_Token_Transfer_Body (line 455) | typedef struct Token_TokenInstruction_Token_Transfer_Body { type Token_TokenInstruction_Token_Approve_Body (line 462) | typedef struct Token_TokenInstruction_Token_Approve_Body { type Token_TokenInstruction_Token_SetAuthority_Body (line 469) | typedef struct Token_TokenInstruction_Token_SetAuthority_Body { type Token_TokenInstruction_Token_MintTo_Body (line 480) | typedef struct Token_TokenInstruction_Token_MintTo_Body { type Token_TokenInstruction_Token_Burn_Body (line 487) | typedef struct Token_TokenInstruction_Token_Burn_Body { type Token_TokenInstruction_Token_TransferChecked_Body (line 494) | typedef struct Token_TokenInstruction_Token_TransferChecked_Body { type Token_TokenInstruction_Token_ApproveChecked_Body (line 505) | typedef struct Token_TokenInstruction_Token_ApproveChecked_Body { type Token_TokenInstruction_Token_MintToChecked_Body (line 516) | typedef struct Token_TokenInstruction_Token_MintToChecked_Body { type Token_TokenInstruction_Token_BurnChecked_Body (line 527) | typedef struct Token_TokenInstruction_Token_BurnChecked_Body { type Token_TokenInstruction_Token_InitializeAccount2_Body (line 538) | typedef struct Token_TokenInstruction_Token_InitializeAccount2_Body { type Token_TokenInstruction (line 545) | typedef struct Token_TokenInstruction { type Token_Mint (line 566) | typedef struct Token_Mint { type Token_COption_u64_Tag (line 594) | typedef enum Token_COption_u64_Tag { type Token_COption_u64 (line 605) | typedef struct Token_COption_u64 { type Token_Account (line 617) | typedef struct Token_Account { type Token_Multisig (line 658) | typedef struct Token_Multisig { FILE: 2022/darksol/source/darksols/spl-token/src/entrypoint.rs function process_instruction (line 10) | fn process_instruction( FILE: 2022/darksol/source/darksols/spl-token/src/error.rs type TokenError (line 9) | pub enum TokenError { method type_of (line 74) | fn type_of() -> &'static str { method from (line 69) | fn from(e: TokenError) -> Self { FILE: 2022/darksol/source/darksols/spl-token/src/instruction.rs constant MIN_SIGNERS (line 15) | pub const MIN_SIGNERS: usize = 1; constant MAX_SIGNERS (line 17) | pub const MAX_SIGNERS: usize = 11; type TokenInstruction (line 22) | pub enum TokenInstruction { method unpack (line 369) | pub fn unpack(input: &[u8]) -> Result { method pack (line 473) | pub fn pack(&self) -> Vec { method unpack_pubkey (line 547) | fn unpack_pubkey(input: &[u8]) -> Result<(Pubkey, &[u8]), ProgramError> { method unpack_pubkey_option (line 557) | fn unpack_pubkey_option(input: &[u8]) -> Result<(COption, &[u8... method pack_pubkey_option (line 569) | fn pack_pubkey_option(value: &COption, buf: &mut Vec) { type AuthorityType (line 583) | pub enum AuthorityType { method into (line 595) | fn into(&self) -> u8 { method from (line 604) | fn from(index: u8) -> Result { function initialize_mint (line 616) | pub fn initialize_mint( function initialize_account (line 644) | pub fn initialize_account( function initialize_account2 (line 667) | pub fn initialize_account2( function initialize_multisig (line 692) | pub fn initialize_multisig( function transfer (line 721) | pub fn transfer( function approve (line 750) | pub fn approve( function revoke (line 779) | pub fn revoke( function set_authority (line 805) | pub fn set_authority( function mint_to (line 838) | pub fn mint_to( function burn (line 867) | pub fn burn( function close_account (line 896) | pub fn close_account( function freeze_account (line 924) | pub fn freeze_account( function thaw_account (line 952) | pub fn thaw_account( function transfer_checked (line 981) | pub fn transfer_checked( function approve_checked (line 1014) | pub fn approve_checked( function mint_to_checked (line 1046) | pub fn mint_to_checked( function burn_checked (line 1076) | pub fn burn_checked( function is_valid_signer_index (line 1106) | pub fn is_valid_signer_index(index: usize) -> bool { function test_instruction_packing (line 1115) | fn test_instruction_packing() { FILE: 2022/darksol/source/darksols/spl-token/src/lib.rs function ui_amount_to_amount (line 20) | pub fn ui_amount_to_amount(ui_amount: f64, decimals: u8) -> u64 { function amount_to_ui_amount (line 25) | pub fn amount_to_ui_amount(amount: u64, decimals: u8) -> f64 { FILE: 2022/darksol/source/darksols/spl-token/src/native_mint.rs constant DECIMALS (line 4) | pub const DECIMALS: u8 = 9; function test_decimals (line 15) | fn test_decimals() { FILE: 2022/darksol/source/darksols/spl-token/src/processor.rs type Processor (line 22) | pub struct Processor {} method process_initialize_mint (line 25) | pub fn process_initialize_mint( method _process_initialize_account (line 55) | fn _process_initialize_account( method process_initialize_account (line 107) | pub fn process_initialize_account(accounts: &[AccountInfo]) -> Program... method process_initialize_account2 (line 112) | pub fn process_initialize_account2(accounts: &[AccountInfo], owner: Pu... method process_initialize_multisig (line 117) | pub fn process_initialize_multisig(accounts: &[AccountInfo], m: u8) ->... method process_transfer (line 152) | pub fn process_transfer( method process_approve (line 260) | pub fn process_approve( method process_revoke (line 310) | pub fn process_revoke(program_id: &Pubkey, accounts: &[AccountInfo]) -... method process_set_authority (line 338) | pub fn process_set_authority( method process_mint_to (line 429) | pub fn process_mint_to( method process_burn (line 486) | pub fn process_burn( method process_close_account (line 564) | pub fn process_close_account(program_id: &Pubkey, accounts: &[AccountI... method process_toggle_freeze_account (line 600) | pub fn process_toggle_freeze_account( method process (line 644) | pub fn process(program_id: &Pubkey, accounts: &[AccountInfo], input: &... method validate_owner (line 727) | pub fn validate_owner( method print (line 765) | fn print(&self) function do_process_instruction (line 816) | fn do_process_instruction( function do_process_instruction_dups (line 831) | fn do_process_instruction_dups( function return_token_error_as_program_error (line 838) | fn return_token_error_as_program_error() -> ProgramError { function rent_sysvar (line 842) | fn rent_sysvar() -> SolanaAccount { function mint_minimum_balance (line 846) | fn mint_minimum_balance() -> u64 { function account_minimum_balance (line 850) | fn account_minimum_balance() -> u64 { function multisig_minimum_balance (line 854) | fn multisig_minimum_balance() -> u64 { function test_print_error (line 859) | fn test_print_error() { function test_error_unwrap (line 866) | fn test_error_unwrap() { function test_unique_account_sizes (line 871) | fn test_unique_account_sizes() { function test_pack_unpack (line 881) | fn test_pack_unpack() { function test_initialize_mint (line 986) | fn test_initialize_mint() { function test_initialize_mint_account (line 1034) | fn test_initialize_mint_account() { function test_transfer_dups (line 1110) | fn test_transfer_dups() { function test_transfer (line 1417) | fn test_transfer() { function test_self_transfer (line 1838) | fn test_self_transfer() { function test_mintable_token_with_zero_supply (line 2368) | fn test_mintable_token_with_zero_supply() { function test_approve_dups (line 2467) | fn test_approve_dups() { function test_approve (line 2678) | fn test_approve() { function test_set_authority_dups (line 2883) | fn test_set_authority_dups() { function test_set_authority (line 2986) | fn test_set_authority() { function test_mint_to_dups (line 3325) | fn test_mint_to_dups() { function test_mint_to (line 3421) | fn test_mint_to() { function test_burn_dups (line 3624) | fn test_burn_dups() { function test_burn (line 3824) | fn test_burn() { function test_multisig (line 4089) | fn test_multisig() { function test_validate_owner (line 4493) | fn test_validate_owner() { function test_close_account_dups (line 4653) | fn test_close_account_dups() { function test_close_account (line 4739) | fn test_close_account() { function test_native_token (line 4968) | fn test_native_token() { function test_overflow (line 5145) | fn test_overflow() { function test_frozen (line 5322) | fn test_frozen() { function test_freeze_thaw_dups (line 5508) | fn test_freeze_thaw_dups() { function test_freeze_account (line 5572) | fn test_freeze_account() { function test_initialize_account2 (line 5685) | fn test_initialize_account2() { FILE: 2022/darksol/source/darksols/spl-token/src/state.rs type Mint (line 16) | pub struct Mint { method is_initialized (line 32) | fn is_initialized(&self) -> bool { constant LEN (line 37) | const LEN: usize = 82; method unpack_from_slice (line 38) | fn unpack_from_slice(src: &[u8]) -> Result { method pack_into_slice (line 59) | fn pack_into_slice(&self, dst: &mut [u8]) { type Account (line 86) | pub struct Account { method is_frozen (line 109) | pub fn is_frozen(&self) -> bool { method is_native (line 113) | pub fn is_native(&self) -> bool { method is_initialized (line 119) | fn is_initialized(&self) -> bool { constant LEN (line 124) | const LEN: usize = 165; method unpack_from_slice (line 125) | fn unpack_from_slice(src: &[u8]) -> Result { method pack_into_slice (line 141) | fn pack_into_slice(&self, dst: &mut [u8]) { type AccountState (line 177) | pub enum AccountState { method default (line 189) | fn default() -> Self { type Multisig (line 197) | pub struct Multisig { method is_initialized (line 209) | fn is_initialized(&self) -> bool { constant LEN (line 214) | const LEN: usize = 355; method unpack_from_slice (line 215) | fn unpack_from_slice(src: &[u8]) -> Result { method pack_into_slice (line 234) | fn pack_into_slice(&self, dst: &mut [u8]) { function pack_coption_key (line 249) | fn pack_coption_key(src: &COption, dst: &mut [u8; 36]) { function unpack_coption_key (line 261) | fn unpack_coption_key(src: &[u8; 36]) -> Result, Program... function pack_coption_u64 (line 269) | fn pack_coption_u64(src: &COption, dst: &mut [u8; 12]) { function unpack_coption_u64 (line 281) | fn unpack_coption_u64(src: &[u8; 12]) -> Result, ProgramErr... FILE: 2022/darksol/source/darksols/src/main.rs type InitializeInstruction (line 36) | pub struct InitializeInstruction { function main (line 43) | fn main() -> Result<(), Box> { function handle_connection (line 58) | fn handle_connection(mut socket: TcpStream) -> Result<(), Box> { FILE: 2022/darksol/source/evil-contract/src/evil-contract/evil-contract.c function handle (line 21) | uint64_t handle(SolParameters *params) { function entrypoint (line 52) | extern uint64_t entrypoint(const uint8_t *input) { FILE: 2022/darksol/source/evil-contract/src/shared/clock.h type Clock (line 1) | typedef struct { FILE: 2022/darksol/source/evil-contract/src/shared/program.h type transfer (line 1) | typedef struct { FILE: 2022/darksol/source/evil-contract/src/shared/test.h function itoa (line 4) | void itoa(uint64_t x, char* buf, uint64_t base) { function log_int (line 27) | void log_int(uint64_t x, uint64_t base) { function b58enc (line 35) | bool b58enc(char *b58, size_t *b58sz, const void *data, size_t binsz) { function log_pubkey (line 80) | void log_pubkey(const SolPubkey* pubkey) { function strncmp (line 84) | bool strncmp(char* a, char* b, size_t len) { function strcmp (line 92) | bool strcmp(char* a, char* b) { function str_contains (line 96) | bool str_contains(char* src, char* target) { function is_system_program (line 104) | bool is_system_program(SolPubkey* pubkey) { FILE: 2022/darksol/source/programs/src/darksols/darksols.c function check_owner (line 4) | void check_owner(SolParameters* params, SolAccountInfo* acct) { function handle_initialize (line 19) | uint64_t handle_initialize(SolParameters* params) { function handle_buy (line 69) | uint64_t handle_buy(SolParameters* params) { function handle_sell (line 158) | uint64_t handle_sell(SolParameters* params) { function handle_fight (line 244) | uint64_t handle_fight(SolParameters* params){ function handle_create_player (line 325) | uint64_t handle_create_player(SolParameters* params){ function dark_sols (line 375) | uint64_t dark_sols(SolParameters *params) { function entrypoint (line 421) | extern uint64_t entrypoint(const uint8_t *input) { FILE: 2022/darksol/source/programs/src/shared/clock.h type Clock (line 1) | typedef struct { FILE: 2022/darksol/source/programs/src/shared/program.h type CreatePlayerInstr (line 18) | typedef struct { type BuyInstr (line 27) | typedef struct { type SellInstr (line 33) | typedef struct { type FightInstr (line 39) | typedef struct { type create_account_sys (line 45) | typedef struct { type transfer_generic (line 51) | typedef struct { type transfer_checked (line 55) | typedef struct { type Sanity (line 60) | typedef struct { type Op (line 64) | typedef enum { type AccountState (line 72) | typedef enum { type Account (line 78) | typedef struct { type Mint (line 89) | typedef struct { type Player (line 97) | typedef struct { type Weapon (line 103) | typedef struct { type Weapons (line 109) | typedef struct { type Monster (line 113) | typedef struct { function create_account (line 118) | void create_account( function create_sanity_account (line 155) | void create_sanity_account(SolParameters* params, SolAccountInfo* payer,... function create_player_account (line 161) | void create_player_account(SolParameters* params, SolAccountInfo* payer,... function create_weapons_account (line 167) | void create_weapons_account(SolParameters* params, SolAccountInfo* payer... function create_player_token_account (line 173) | void create_player_token_account( function transfer (line 185) | void transfer(SolParameters* params, SolAccountInfo* payer, SolAccountIn... function mint_to (line 216) | void mint_to(SolParameters* params, SolAccountInfo* mint, SolAccountInfo... function initialize_account (line 244) | void initialize_account(SolParameters* params, SolAccountInfo* mint, Sol... FILE: 2022/darksol/source/programs/src/shared/test.h function itoa (line 4) | void itoa(uint64_t x, char* buf, uint64_t base) { function log_int (line 27) | void log_int(uint64_t x, uint64_t base) { function b58enc (line 35) | bool b58enc(char *b58, size_t *b58sz, const void *data, size_t binsz) { function log_pubkey (line 80) | void log_pubkey(const SolPubkey* pubkey) { function strncmp (line 84) | bool strncmp(char* a, char* b, size_t len) { function strcmp (line 92) | bool strcmp(char* a, char* b) { function str_contains (line 96) | bool str_contains(char* src, char* target) { function is_system_program (line 104) | bool is_system_program(SolPubkey* pubkey) {