Skip to content

Commit

Permalink
Applied updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Jun 22, 2024
1 parent 8d51ad7 commit aa50a51
Show file tree
Hide file tree
Showing 22 changed files with 1,001 additions and 3,857 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build_ossfuzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Build OSSFuzz fuzz targets from source.
name: build_ossfuzz
on:
push:
branches: [main]
permissions: read-all
jobs:
build_ossfuzz:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- architecture: 'x64'
compiler: 'gcc'
configure_options: ''
steps:
- name: Install build dependencies
run: |
sudo apt-get -y install git
- uses: actions/checkout@v4
with:
repository: google/oss-fuzz
path: oss-fuzz
- name: Build OSSFuzz fuzz targets
working-directory: oss-fuzz
run: |
mkdir -p projects/libfsclfs
cp projects/libyal/build.sh projects/libfsclfs/
cp projects/libyal/project.yaml projects/libfsclfs/
head -n 20 projects/libyal/Dockerfile > projects/libfsclfs/Dockerfile
echo "RUN git clone --depth 1 https://github.com/libyal/libfsclfs.git libfsclfs" >> projects/libfsclfs/Dockerfile
tail -n 3 projects/libyal/Dockerfile >> projects/libfsclfs/Dockerfile
python3 infra/helper.py build_image --pull libfsclfs
python3 infra/helper.py build_fuzzers --sanitizer address libfsclfs
python3 infra/helper.py check_build libfsclfs
3 changes: 0 additions & 3 deletions .github/workflows/build_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
strategy:
matrix:
include:
- architecture: 'x64'
compiler: 'gcc'
configure_options: ''
- architecture: 'x64'
compiler: 'gcc'
configure_options: '--enable-wide-character-type'
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ([2.71])

AC_INIT(
[libfsclfs],
[20240430],
[20240622],
[joachim.metz@gmail.com])

AC_CONFIG_SRCDIR(
Expand Down
3 changes: 2 additions & 1 deletion libfsclfs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ status: "experimental"
year_of_creation: "2010"
data_format: "Common Log File System (CLFS)"
documentation_url: "https://github.com/libyal/libfsclfs/tree/main/documenation"
features: ["debug_output"]
features: ["debug_output", "ossfuzz", "tools"]

[library]
description: "Library to access the Common Log File System (CLFS) format"
features: ["pthread", "wide_character_type"]
public_types: ["container", "record", "store", "stream"]

[tools]
Expand Down
Loading

0 comments on commit aa50a51

Please sign in to comment.