Skip to content

Commit

Permalink
Applied updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Jun 29, 2024
1 parent dae8131 commit a42edfa
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 5 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/libevtx
cp projects/libyal/build.sh projects/libevtx/
cp projects/libyal/project.yaml projects/libevtx/
head -n 20 projects/libyal/Dockerfile > projects/libevtx/Dockerfile
echo "RUN git clone --depth 1 https://github.com/libyal/libevtx.git libevtx" >> projects/libevtx/Dockerfile
tail -n 3 projects/libyal/Dockerfile >> projects/libevtx/Dockerfile
python3 infra/helper.py build_image --pull libevtx
python3 infra/helper.py build_fuzzers --sanitizer address libevtx
python3 infra/helper.py check_build libevtx
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
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ matrix:
install:
- cmd: if [%BUILD_ENVIRONMENT%]==[msbuild] (
git clone https://github.com/libyal/vstools.git ..\vstools )
- ps: If (($env:BUILD_ENVIRONMENT -eq "msbuild") -And (Test-Path ".\synctestdata.ps1")) {
.\synctestdata.ps1 }
- sh: if ( test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode" ) && test -f "./synctestdata.sh"; then ./synctestdata.sh; fi
- sh: if ( test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox" ) || test ${BUILD_ENVIRONMENT} = "xcode"; then brew update-reset && brew update -q; fi
- sh: if ( test `uname -s` = "Darwin" && test ${BUILD_ENVIRONMENT} = "python-tox" ) || test ${BUILD_ENVIRONMENT} = "xcode"; then brew install -q autoconf automake gettext gnu-sed libtool pkg-config || true; fi
- cmd: if [%BUILD_ENVIRONMENT%]==[python-tox] (
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(
[libevtx],
[20240602],
[20240629],
[[email protected]])

AC_CONFIG_SRCDIR(
Expand Down
3 changes: 2 additions & 1 deletion libevtx.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ status: "alpha"
year_of_creation: "2011"
data_format: "Windows XML Event Log (EVTX)"
documentation_url: "https://github.com/libyal/libevtx/tree/main/documentation"
features: ["debug_output"]
features: ["debug_output", "ossfuzz", "python_bindings", "tools"]

[dtFabric]
data_types: {
Expand All @@ -25,6 +25,7 @@ data_types: {
}}

[library]
features: ["pthread", "wide_character_type"]
public_types: ["file", "record", "template_definition"]

[tools]
Expand Down

0 comments on commit a42edfa

Please sign in to comment.