- M0: libghostty SSH 终端(渲染/输入/连接)+ 白屏修复(OutputGate) + 会话状态机/自动重连 - M1: tsnet 用户态组网 + SSH-over-tsnet(fd 桥),shell 级真机验证;R5(Go+gvisor+C+++Swift 同进程) retire - M1.5: tmux -CC 原生 tab(MVP) - 结构: packages/(TXCore·TXTransport), apps/TerminalX, vendor/(libghostty-spm/libssh2/mbedtls/tsnet-bridge), artifacts/ - 文档: CLAUDE.md + docs/HANDOFF.md(新会话入口) - 环境: 认证代理→依赖 vendor 本地化;Go 在 ~/.local/go;仅模拟器/未签名 - 待续: M2 mosh, tmux 多 pane, M4 安全(host key/SE) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
120 lines
2.6 KiB
Plaintext
120 lines
2.6 KiB
Plaintext
Aligned 16-bit access
|
|
mbedtls_unaligned_access:16:0
|
|
|
|
Aligned 32-bit access
|
|
mbedtls_unaligned_access:32:0
|
|
|
|
Aligned 64-bit access
|
|
mbedtls_unaligned_access:64:0
|
|
|
|
Unaligned 16-bit access offset=1
|
|
mbedtls_unaligned_access:16:1
|
|
|
|
Unaligned 32-bit access offset=1
|
|
mbedtls_unaligned_access:32:1
|
|
|
|
Unaligned 64-bit access offset=1
|
|
mbedtls_unaligned_access:64:1
|
|
|
|
Unaligned 16-bit access offset=4
|
|
mbedtls_unaligned_access:16:4
|
|
|
|
Unaligned 32-bit access offset=4
|
|
mbedtls_unaligned_access:32:4
|
|
|
|
Unaligned 64-bit access offset=4
|
|
mbedtls_unaligned_access:64:4
|
|
|
|
Unaligned 16-bit access offset=7
|
|
mbedtls_unaligned_access:16:7
|
|
|
|
Unaligned 32-bit access offset=7
|
|
mbedtls_unaligned_access:32:7
|
|
|
|
Unaligned 64-bit access offset=7
|
|
mbedtls_unaligned_access:64:7
|
|
|
|
Unaligned 16-bit access offset=8
|
|
mbedtls_unaligned_access:16:8
|
|
|
|
Unaligned 32-bit access offset=8
|
|
mbedtls_unaligned_access:32:8
|
|
|
|
Unaligned 64-bit access offset=8
|
|
mbedtls_unaligned_access:64:8
|
|
|
|
Byteswap 16
|
|
mbedtls_byteswap:"0100":16:"0001"
|
|
|
|
Byteswap 16 with truncation
|
|
mbedtls_byteswap:"0706050403020100":16:"0001"
|
|
|
|
Byteswap 16 all-zero
|
|
mbedtls_byteswap:"0000":16:"0000"
|
|
|
|
Byteswap 16 all-ones
|
|
mbedtls_byteswap:"ffffffffffffffff":16:"ffff"
|
|
|
|
Byteswap 32
|
|
mbedtls_byteswap:"03020100":32:"00010203"
|
|
|
|
Byteswap 32 with truncation
|
|
mbedtls_byteswap:"0706050403020100":32:"00010203"
|
|
|
|
Byteswap 32 all-zero
|
|
mbedtls_byteswap:"00000000":32:"00000000"
|
|
|
|
Byteswap 32 all-ones
|
|
mbedtls_byteswap:"ffffffffffffffff":32:"ffffffff"
|
|
|
|
Byteswap 64
|
|
mbedtls_byteswap:"0706050403020100":64:"01020304050607"
|
|
|
|
Byteswap 64 all-zero
|
|
mbedtls_byteswap:"0000000000000000":64:"0000000000000000"
|
|
|
|
Byteswap 64 all-ones
|
|
mbedtls_byteswap:"ffffffffffffffff":64:"ffffffffffffffff"
|
|
|
|
Get individual bytes
|
|
get_byte
|
|
|
|
Endian-aware unaligned 16-bit BE offset=0
|
|
unaligned_access_endian_aware:16:0:1
|
|
|
|
Endian-aware unaligned 16-bit BE offset=3
|
|
unaligned_access_endian_aware:16:3:1
|
|
|
|
Endian-aware unaligned 16-bit LE offset=0
|
|
unaligned_access_endian_aware:16:0:0
|
|
|
|
Endian-aware unaligned 16-bit LE offset=3
|
|
unaligned_access_endian_aware:16:3:0
|
|
|
|
Endian-aware unaligned 32-bit BE offset=0
|
|
unaligned_access_endian_aware:32:0:1
|
|
|
|
Endian-aware unaligned 32-bit BE offset=3
|
|
unaligned_access_endian_aware:32:3:1
|
|
|
|
Endian-aware unaligned 32-bit LE offset=0
|
|
unaligned_access_endian_aware:32:0:0
|
|
|
|
Endian-aware unaligned 32-bit LE offset=3
|
|
unaligned_access_endian_aware:32:3:0
|
|
|
|
Endian-aware unaligned 64-bit BE offset=0
|
|
unaligned_access_endian_aware:64:0:1
|
|
|
|
Endian-aware unaligned 64-bit BE offset=3
|
|
unaligned_access_endian_aware:64:3:1
|
|
|
|
Endian-aware unaligned 64-bit LE offset=0
|
|
unaligned_access_endian_aware:64:0:0
|
|
|
|
Endian-aware unaligned 64-bit LE offset=3
|
|
unaligned_access_endian_aware:64:3:0
|
|
|
|
Big-endian check
|
|
mbedtls_is_big_endian
|