我用个数组存储一些表格数据gastruSdRegAtt[] ={1,2,3,4,5,6} 这数据比较大 在
memcpy(&RamfuncsRunStart,
&RamfuncsLoadStart,
&RamfuncsLoadEnd - &RamfuncsLoadStart); 之前数据跟踪还是正常的; memcpy 后数据不是初始化的表格数据; 关键是.ebss段和memcpy后放在的RAM空间根本不可能重叠。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我用个数组存储一些表格数据gastruSdRegAtt[] ={1,2,3,4,5,6} 这数据比较大 在
memcpy(&RamfuncsRunStart,
&RamfuncsLoadStart,
&RamfuncsLoadEnd - &RamfuncsLoadStart); 之前数据跟踪还是正常的; memcpy 后数据不是初始化的表格数据; 关键是.ebss段和memcpy后放在的RAM空间根本不可能重叠。