Add cortex-m support to cstool, refactoring and crash fix (#1099)

* cstool: Refactor architecture parsing and fix crash with invalid arch

* cstool: Enable cortex-m decoder
1 file changed