summaryrefslogtreecommitdiffstats
path: root/lasso/extract_symbols.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-10-01 10:31:58 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-10-01 10:31:58 +0000
commitef42f2cbc8eb16df1a8e45650c652d227fd35ef4 (patch)
tree35b69e41a882c19f11b61ecfe2f7d0d4ff718faf /lasso/extract_symbols.py
parent7290225b00d65a7ea111ddf3216bf7d9f39a81b6 (diff)
downloadlasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.tar.gz
lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.tar.xz
lasso-ef42f2cbc8eb16df1a8e45650c652d227fd35ef4.zip
add functionality to enable debugging flags at runtime
This code permit to set flags, separated by commas, space, tabulations, or colons. This flags activates debug functions like, suppressing validations of signatures or print debugging message about deallocations. The new flags are defined in /lasso/debug.h they can be set using an environment variable named LASSO_FLAG or a function named lasso_set_flag. There are two flags currently: - verify-signature: To deactivate it, pass 'no-verify-signature' inside LASSO_DEBUG. It desactivate signature verification, inside two functions: lasso_query_verify_signature and lasso_provider_verify_signature. - memory-debug: It enabled reporting of memory deallocation inside generic memory dellaocator for LassoNode objects and also in bindings. - lasso/xml/xml.c: do not free a null hash table pointer.
Diffstat (limited to 'lasso/extract_symbols.py')
-rw-r--r--lasso/extract_symbols.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/extract_symbols.py b/lasso/extract_symbols.py
index cef1c1ec..95e3f06d 100644
--- a/lasso/extract_symbols.py
+++ b/lasso/extract_symbols.py
@@ -14,7 +14,7 @@ if len(sys.argv) == 2+enable_wsf:
else:
srcdir = '.'
-regex = re.compile('LASSO_EXPORT.*(lasso_[a-zA-Z0-9_]+).*\(')
+regex = re.compile('LASSO_EXPORT.*(lasso_[a-zA-Z0-9_]+)[ \t]*[\(;]')
symbols = []
for header_file in glob.glob('%s/*/*.h' % srcdir) + glob.glob('%s/*.h' % srcdir) + \