Python code to scan c/c++ code and create table which is used to map log messages to function flow