diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-11-05 01:45:06 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-11-05 01:45:06 +0100 |
commit | 2a8202e74846d191a321cca1202175af9db6107d (patch) | |
tree | a6f455caf07da1186851f343a237a4c4e4484f46 /exports.py | |
parent | 8efa0ec17d8c262f9c3fd7603e8074f74a053708 (diff) |
Diffstat (limited to 'exports.py')
-rwxr-xr-x | exports.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/exports.py b/exports.py deleted file mode 100755 index c8e97a7..0000000 --- a/exports.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python - -import sys -import re -import json - -expr = re.compile(r"(olm_[^( ]*)\(") - -exports = {'_free', '_malloc'} - -for f in sys.argv[1:]: - with open(f) as fp: - for line in fp: - matches = expr.search(line) - if matches is not None: - exports.add('_%s' % (matches.group(1),)) - -json.dump(sorted(exports), sys.stdout) |