MIPS stacktrace: an unexpected journey
smeso.it
smeso.it
But also I glanced at some MIPS docs and it seems there there could be additional instructions that modify these registers as outputs, which the code doesn't address. Maybe they just don't occur in practice?
(I know from experience that it works noticeably better on ARM32 than glibc's backtrace.)