()
| 536 | return dict(d) |
| 537 | |
| 538 | def main(): |
| 539 | tagname = sys.argv[1] |
| 540 | order_file = sys.argv[2] |
| 541 | functions = get_api_functions(tagname, order_file) |
| 542 | m = hashlib.md5(tagname) |
| 543 | for func in functions: |
| 544 | print(func) |
| 545 | ah = func.api_hash() |
| 546 | m.update(ah) |
| 547 | print(hex(int(ah, 16))) |
| 548 | print(hex(int(m.hexdigest()[:8], 16))) |
| 549 | |
| 550 | if __name__ == '__main__': |
| 551 | main() |
no test coverage detected