docs+repo: 正式化发布——三份 README 重写为正式版说明、DEVELOPMENT.md 取代交接文档、历史档案统一更名 worklog、全库清理交接字样;脱敏:用户本机路径/设备序列号/内网 Git 地址全部泛化,.tools 本地缓存(13MB,pyc内嵌路径)移出追踪并忽略;123 单测全绿
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import struct, sys, os
|
||||
|
||||
path = r"C:\Project\MAG160C\analysis\ida\Core160043865.ddt"
|
||||
path = r"C:\Project\MAG160C\analysis\ida\mag160c_unit.ddt"
|
||||
b = open(path, "rb").read()
|
||||
print(f"size: {len(b)}")
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ gain = load16(r"C:\Project\MAG160C\build-artifacts\mag160c_official_nuc_gain.bin
|
||||
thr = loadi16(r"C:\Project\MAG160C\build-artifacts\mag160c_official_nuc_thr.bin", npix*(nsegs-1))
|
||||
|
||||
# blind records from DDT (all endpoints identical; use EP2)
|
||||
ddt = open(r"C:\Project\MAG160C\analysis\ida\Core160043865.ddt", "rb").read()
|
||||
ddt = open(r"C:\Project\MAG160C\analysis\ida\mag160c_unit.ddt", "rb").read()
|
||||
thr_ep0 = 0x80
|
||||
block = (nsegs-1)*npix*2 + 1024 + nsegs*npix*4
|
||||
blind_off = thr_ep0 + 6*block
|
||||
|
||||
Reference in New Issue
Block a user