()
| 104 | |
| 105 | |
| 106 | def main(): |
| 107 | parser = argparse.ArgumentParser( |
| 108 | description=( |
| 109 | "Analyze the outputs of compare_binary_iodump.py" |
| 110 | "Should save the outputs of compare_binary_iodump.py" |
| 111 | "as a file" |
| 112 | ), |
| 113 | formatter_class=argparse.ArgumentDefaultsHelpFormatter, |
| 114 | ) |
| 115 | parser.add_argument( |
| 116 | "filename", help="file which save the outputs of compare_binary_iodump.py" |
| 117 | ) |
| 118 | args = parser.parse_args() |
| 119 | |
| 120 | parse(args.filename) |
| 121 | |
| 122 | print("varnode root:") |
| 123 | for key, value in varNode.var_node_root_dict.items(): |
| 124 | print(key) |
| 125 | print("detail info:") |
| 126 | value.show_src_info() |
| 127 | |
| 128 | |
| 129 | if __name__ == "__main__": |
no test coverage detected