core: account function pro, epilogue

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
core: add stack usage analyzer

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>