It is always good to have a close look what ends up in a microcontroller FLASH memory. For example using
EHEP Eclipse plugin to inspect the binary file:
Source File Name in Binary Image
Obviously it has path and source file information in it. Why is that? And is this really needed?
Privacy: the path or file name might expose information (secret project name?) or might be used for reverse engineering?
Size: The strings add up to the final data/FLASH size, so this increases the need for ROM space?
So let’s have a look what is the reason for this and how it could be avoided or at least reduced.
Posted in Building, CPU's, Debugging, Eclipse, Embedded, gcc, MCUXpresso IDE, Tips & Tricks, Tutorial |
Tagged ARM, arm gcc, assert, Building, builtin, Debugging, Eclipse, gnu gcc, MCUXpresso IDE, open source projects, Reverse Engineering, software project, strrchr, technology, Tips&Tricks, tool chains, __BASE_FILE__, __FILE__ |
The ‘Internet of Things’ is coming! It started as an overused marketing hype with no real use case (who needs
internet connected fridges? Who wants the internet connected toilet paper?).
New ‘things’ start to pop up, useful or not: From smart bulbs (Philips Hue), thermostats (Nest), smart TV (Samsung and others) up to voice assistants (Alexa, Cortana, Google). You might even have installed one of these, right? What about temperature and humidity sensors? Probably there is nothing wrong with that?
But what would you think if one morning you find a strange unknown device installed under your working desk, connected to the cloud and internet?
IoT Device attached under a working desk
Posted in ARM, Boards, Building, CPU's, Debugging, Eclipse, Embedded, STMicroelectronics, Switzerland, Thoughts, Tips & Tricks |
Tagged arm gcc, Avast, Debugging, Disassembly, Eclipse, GDB, gnu gcc, IoT, LLVM, LoRaWAN, RetDec, Reverse Engineering, Sensor, software, technology, Tips&Tricks |