import struct, pathlib,collections p=pathlib.Path(r"C:\Users\wolff\Documents\SDKVita\YouTubeVita\experiments\cobalt\evergreen\core25\lib\libcobalt.so") b=p.read_bytes(); hdr=struct.unpack_from("<16sHHIIIIIHHHHHH",b,0); _,etype,machine,version,entry,phoff,shoff,flags,ehsize,phentsize,phnum,*rest=hdr phdrs=[struct.unpack_from(">8 counts[typ]+=1 target=any(x[0]==1 and x[2]<=addr< x[2]+x[5] for x in phdrs) if not target:bad[typ]+=1 if typ in (2,21,22): st=struct.unpack(">16)]+=1 print("COUNTS",counts,"INVALID_TARGETS",bad,"SYM",syms) print("SAMPLES",samples) print("N_RELATIVE",counts[23],"RELATIVE_HEAD",[(hex(*struct.unpack_from("