The current func_index2func_name is stored in WasmVM.
Considering that the func_index2func_name is initialized only once and will not be updated, and it is widely used in the project, I strongly recommend to store it as a static variable in the Configuration static class.
p.s., the name will be changed to func_index_to_func_name to keep align with the current coding style.
The current
func_index2func_name
is stored inWasmVM
.Considering that the
func_index2func_name
is initialized only once and will not be updated, and it is widely used in the project, I strongly recommend to store it as a static variable in theConfiguration
static class.p.s., the name will be changed to
func_index_to_func_name
to keep align with the current coding style.