SREC Decompilation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SREC Decompilation

跳至解决方案
4,704 次查看
jennifervolk
Contributor I

Hi, We're new to Kinetis and Motorola S-Record files and are working with FOTA for software updates. Our FOTA tool uses srec files generated through the KDS Cross ARM GNU Create Flash Image option. I just wanted to ask whether we'll be able to decompile our srec file into its original .c files once we compile it?

标签 (2)
0 项奖励
回复
1 解答
3,071 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

I'm not sure if I understand your question? But the S-Records only contain the code and constant data (see S-Record, Intel Hex and Binary Files | MCU on Eclipse ), so all what you would get from a reverse engineering standpoint is an array of hexadecimal values. If you now the memory map, you can transform this with a disassembler into assembly code with no symbol/variable information: you only will see absolute addresses.

You will not get to the level of C code.

I hope this helps,

Erich

在原帖中查看解决方案

1 回复
3,072 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

I'm not sure if I understand your question? But the S-Records only contain the code and constant data (see S-Record, Intel Hex and Binary Files | MCU on Eclipse ), so all what you would get from a reverse engineering standpoint is an array of hexadecimal values. If you now the memory map, you can transform this with a disassembler into assembly code with no symbol/variable information: you only will see absolute addresses.

You will not get to the level of C code.

I hope this helps,

Erich