From 7cabfc7d9fe95ef3cc5a5e6284690cff2b36aa13 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 28 May 2024 14:38:32 +0200 Subject: [PATCH 1/2] .Mk.yaml: remove dwarf options --- .Mk.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.Mk.yaml b/.Mk.yaml index a9d168d9..6dcbcacb 100644 --- a/.Mk.yaml +++ b/.Mk.yaml @@ -20,6 +20,3 @@ configure: #- -Dfuzzer_timeout=10 default: - test -env: - # gdwarf-4 is required to make abi-dumper work - CFLAGS: -gdwarf-4 -O0 -Og From e2e577ff1218bb287560a2fc5c2273268a96f5ae Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 29 May 2024 13:51:35 +0200 Subject: [PATCH 2/2] file: add missing prototype for resolve_all --- include/sqsh_file.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/sqsh_file.h b/include/sqsh_file.h index 6d212e2f..60bb5c3c 100644 --- a/include/sqsh_file.h +++ b/include/sqsh_file.h @@ -517,6 +517,18 @@ enum SqshFileType sqsh_file_type(const struct SqshFile *context); */ int sqsh_file_symlink_resolve(struct SqshFile *context); +/** + * @memberof SqshFile + * @brief resolves all symlink target targets until a file is hit. This function + * is similar to sqsh_file_symlink_resolve() but resolves symlinks recursively + * until a file is hit. + * + * @param[in] context The file context. + * + * @return int 0 on success, less than 0 on error. + */ +int sqsh_file_symlink_resolve_all(struct SqshFile *context); + /** * @memberof SqshFile * @brief returns the target of a symbolic link. Be aware that the returned