I looked into reverse engineering an STM32 product, but abandoned the project. This was a good walk through of the process. I don’t know if it’s the best tool chain.