We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello alltogether,
for me a binary-file (.hex or .bin) looks like there is no structure in it.
Do you know if it could be possible, to mark all my binarys, so that i can recognize? E. g. with a unique string i could grep or ? Or let's say line xyz start always with with same chars.
Do I have the opportunity to mark all my binaries like that? Is it actually posible?
I develop with ARMClang
Greets
puts("The MARK of the BEEF"); // Should be visible
You could also put stuff in startup.s after or in the vector table, ie DCD 0xDEADBEEF
Generally you can also put strings, and arrays in the C file also, static const often works well, but you usually want to refer to them somewhere so the linker doesn't do dead code/data removal on it.