summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2023-11-13 04:19:18 -0500
committerTomas Mraz <tomas@openssl.org>2023-11-15 11:08:17 +0100
commitdcfd8cfd4abf4a9fd26aef290dcdd5b4bb1c7f7a (patch)
treec39a46eb901cd2663a67a37d27e15d65d76a6fc2 /util
parent46376fcf4b6d11ec417c2a530475037d4d09fcbf (diff)
Update ci and ABI xml files to validate function parameters
libabigail is currenly only validating symbol presence and version information in ci. We should also be validating function parameters, types, etc. To do this we need to build the library with -g so the dwarf information is available for libabigail to interrogate while we're at it, also add a script to re-generate the xml that abidiff uses for comparison during ci runs, to make updates easier Fixes #22712 Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22713)
Diffstat (limited to 'util')
-rwxr-xr-xutil/update_abi_check.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/update_abi_check.sh b/util/update_abi_check.sh
new file mode 100755
index 0000000000..cb2f789938
--- /dev/null
+++ b/util/update_abi_check.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+abidw --out-file ./.github/workflows/libcrypto-abi.xml libcrypto.so
+abidw --out-file ./.github/workflows/libssl-abi.xml libssl.so
+