checkstack.pl


Benjamin Lindqvist
 

Hi,

I wanted to try out scripts/checkstack.pl and verified that it
actually works on a vmlinux image by

arm-none-eabi-objdump -d vmlinux | zephyr/scripts/checkpatch.pl arm

but when I do it on build/zephyr/zephyr.elf it just quietly exits,
with no output. Anyone have any idea why it doesn't work?


Benjamin Lindqvist
 

Lol. Mistyped again -- to clarify, I definitely mean checkstack.pl and
not checkpatch.pl, if anyone did not extrapolate successfully
Den ons 28 nov. 2018 kl 13:10 skrev Benjamin Lindqvist
<benjamin.lindqvist@endian.se>:


Hi,

I wanted to try out scripts/checkstack.pl and verified that it
actually works on a vmlinux image by

arm-none-eabi-objdump -d vmlinux | zephyr/scripts/checkpatch.pl arm

but when I do it on build/zephyr/zephyr.elf it just quietly exits,
with no output. Anyone have any idea why it doesn't work?


Flavio Ceolin
 

Hi,

For me only x86 works.

Lol. Mistyped again -- to clarify, I definitely mean checkstack.pl and
not checkpatch.pl, if anyone did not extrapolate successfully
Den ons 28 nov. 2018 kl 13:10 skrev Benjamin Lindqvist
<benjamin.lindqvist@endian.se>:

Hi,

I wanted to try out scripts/checkstack.pl and verified that it
actually works on a vmlinux image by

arm-none-eabi-objdump -d vmlinux | zephyr/scripts/checkpatch.pl arm

but when I do it on build/zephyr/zephyr.elf it just quietly exits,
with no output. Anyone have any idea why it doesn't work?
Regard,
Flavio Ceolin