崩溃了,为什么自定义数据结构包含 短整数型 就没办法复制内存,求大佬解疑
变量名 | 类 型 | 静态 | 数组 | 备 注 | bin | 字节集 | | | ent | hostent | | |
bin = { 1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 4, 0, 5, 0, 0, 0 }RtlMoveMemory (取变量数据地址通用 (ent ), 取变量数据地址字节集 (bin ), 16 )调试输出 (ent.h_name, ent.h_aliases, ent.addrtype, ent.length, ent.h_addr_list ) ent.h_name = 1 ent.h_aliases = 2 ent.addrtype = 3 ent.length = 4 ent.h_addr_list = 5 调试输出 (指针到字节集 (取变量数据地址通用 (ent ), 16 )) 置入代码 ({ 139, 69, 8, 139, 0, 201, 194, 4, 0 }) 返回 (0 )置入代码 ({ 139, 69, 8, 139, 0, 131, 192, 8, 201, 194, 4, 0 }) 返回 (0 )|
RtlMoveMemory | 整数型 | | |
kernel32.dll | |
RtlMoveMemory | |
lpDestination | 整数型 | | | lpSource | 整数型 | | | Length | 整数型 | | |
补充内容 (2021-10-14 11:44):
.版本 2
.数据类型 hostent
.成员 h_name, 整数型
.成员 h_aliases, 整数型
.成员 addrtype, 短整数型, , , 短整数型
.成员 length, 短整... |