SREC Decompilation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
4,695件の閲覧回数
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,062件の閲覧回数
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,063件の閲覧回数
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