Timeline for How do I extract code from an arduino?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 20, 2019 at 2:00 | comment | added | mckenzm | Good points. The IDE does set fuses for "burn bootloader". Especially for contributed cores and in particular for clock selection and bootloader operation. You always have the ICSP option. | |
| S Sep 19, 2019 at 8:40 | history | suggested | Nat | CC BY-SA 4.0 |
Formatted caveats as subordinate bullet points.
|
| Sep 19, 2019 at 7:53 | comment | added | Edgar Bonet |
Note that: 1. The Arduino IDE does not mess with the fuses nor lock bits. 2. Full-program optimization, which the IDE sets on by default, will make it near to impossible to find Arduino library functions by pattern-matching. Avr-libc is pre-compiled (with no LTO sections AFAICT), so it can be pattern-matched. 3. The boot loader will not be a problem: application code always starts at address 0, which is a jmp to __init. A few instructions through __init you find call main followed by jmp _exit. Thus, at least main is easy to find. Anything beyond will likely be a mess.
|
|
| Sep 19, 2019 at 5:47 | review | Suggested edits | |||
| S Sep 19, 2019 at 8:40 | |||||
| Sep 19, 2019 at 1:45 | history | answered | mckenzm | CC BY-SA 4.0 |