The rename_analyzer.py script as shared in our SampleAnalyzer only works with the SampleAnalyzer. If you plan on building a custom analyzer using another existing analyzer as a starting point, then the steps below will help rename your analyzer so that it appears in the software as you'd like.
Specifically, to change the name of the analyzer, you really only need to edit some things below. Here we are using the SPI Analyzer source code as the example.:
Change project(spi_analyzer) to project(my_analyzer). This controls the output library's file name (e.g. spi_analyzer.dll, libspi_analyzer.so, etc)