Skip to content

Commit

Permalink
Applied updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Jul 14, 2024
1 parent 4d759ef commit 58af215
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 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/libfwevt
cp projects/libyal/build.sh projects/libfwevt/
cp projects/libyal/project.yaml projects/libfwevt/
head -n 20 projects/libyal/Dockerfile > projects/libfwevt/Dockerfile
echo "RUN git clone --depth 1 https://github.com/libyal/libfwevt.git libfwevt" >> projects/libfwevt/Dockerfile
tail -n 3 projects/libyal/Dockerfile >> projects/libfwevt/Dockerfile
python3 infra/helper.py build_image --pull libfwevt
python3 infra/helper.py build_fuzzers --sanitizer address libfwevt
python3 infra/helper.py check_build libfwevt
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(
[libfwevt],
[20240526],
[20240714],
[joachim.metz@gmail.com])

AC_CONFIG_SRCDIR(
Expand Down
2 changes: 1 addition & 1 deletion libfwevt.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: "libfwevt is a library for Windows XML Event Log (EVTX) data types.
name: "libfwevt"
status: "experimental"
year_of_creation: "2011"
features: ["debug_output"]
features: ["debug_output", "ossfuzz", "python_bindings"]

[library]
description: "Library to support the Windows XML Event Log (EVTX) data types"
Expand Down

0 comments on commit 58af215

Please sign in to comment.