mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-28 06:59:40 +00:00
The same information is available via `flow->protos.tls_quic.ja_client->signature_algorithm`
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'dev' ]
|
|
pull_request:
|
|
# The branches below must be a subset of the branches above
|
|
branches: [ 'dev' ]
|
|
schedule:
|
|
- cron: '25 19 * * 2'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CFLAGS: -Werror
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'cpp', 'python' ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install Ubuntu Prerequisites
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libunwind-dev
|
|
sudo apt-get install autoconf automake libtool pkg-config gettext flex bison libpcap-dev
|
|
sudo apt-get install libgoogle-perftools-dev graphviz
|
|
go install github.com/google/pprof@latest
|
|
sudo ln -s ${HOME}/go/bin/pprof /usr/bin/pprof
|
|
pprof -h
|
|
- name: Configure nDPI library
|
|
run: |
|
|
./autogen.sh && ./configure --enable-gprof --enable-option-checking=fatal --with-pcre2 --with-maxminddb --enable-debug-messages
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Build nDPI library
|
|
run: |
|
|
make -j
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v3
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|