aboutsummaryrefslogtreecommitdiff
path: root/exports.py
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-05 01:45:06 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-05 01:45:06 +0100
commit2a8202e74846d191a321cca1202175af9db6107d (patch)
treea6f455caf07da1186851f343a237a4c4e4484f46 /exports.py
parent8efa0ec17d8c262f9c3fd7603e8074f74a053708 (diff)
Convert to sibs projectHEADmaster
Diffstat (limited to 'exports.py')
-rwxr-xr-xexports.py18
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)