()
| 543 | return dict(d) |
| 544 | |
| 545 | def main(): |
| 546 | tagname = sys.argv[1] |
| 547 | order_file = sys.argv[2] |
| 548 | functions = get_api_functions(tagname, order_file) |
| 549 | m = hashlib.md5(tagname, usedforsecurity=False) |
| 550 | for func in functions: |
| 551 | print(func) |
| 552 | ah = func.api_hash() |
| 553 | m.update(ah) |
| 554 | print(hex(int(ah, 16))) |
| 555 | print(hex(int(m.hexdigest()[:8], 16))) |
| 556 | |
| 557 | |
| 558 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…