Skip to content

Record PC -> offset after adjusting stack #1659

Record PC -> offset after adjusting stack

Record PC -> offset after adjusting stack #1659

Workflow file for this run

# Copyright (c) 2022-present, IO Visor Project
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2022-present, IO Visor Project
# All rights reserved.
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
#
name: Main
permissions:
contents: read
security-events: write # Required by codeql task.
actions: read
on:
schedule:
- cron: '00 21 * * *'
push:
branches:
- 'main'
pull_request:
branches:
- '*'
concurrency:
group: main-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
windows_release:
uses: ./.github/workflows/windows.yml
with:
platform: windows-2019
build_type: RelWithDebInfo
upload_packages: true
windows_release_no_retpolines:
uses: ./.github/workflows/windows.yml
with:
platform: windows-2019
build_type: RelWithDebInfo
upload_packages: true
disable_retpolines: true
windows_debug:
uses: ./.github/workflows/windows.yml
with:
platform: windows-2019
build_type: Debug
upload_packages: true
windows_debug_no_retpolines:
uses: ./.github/workflows/windows.yml
with:
platform: windows-2019
build_type: Debug
upload_packages: true
disable_retpolines: true
macos_release:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: RelWithDebInfo
upload_packages: true
macos_release_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: RelWithDebInfo
upload_packages: true
disable_retpolines: true
macos_release_coverage:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: RelWithDebInfo
enable_coverage: true
macos_release_coverage_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: RelWithDebInfo
enable_coverage: true
disable_retpolines: true
macos_release_sanitizers:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: RelWithDebInfo
enable_sanitizers: true
macos_release_sanitizers_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: RelWithDebInfo
enable_sanitizers: true
disable_retpolines: true
macos_debug:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: Debug
macos_debug_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: Debug
disable_retpolines: true
macos_debug_coverage:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: Debug
enable_coverage: true
macos_debug_coverage_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: Debug
enable_coverage: true
disable_retpolines: true
macos_debug_sanitizers:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: Debug
enable_sanitizers: true
macos_debug_sanitizers_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: macos-11
build_type: Debug
enable_sanitizers: true
disable_retpolines: true
linux_release:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: RelWithDebInfo
upload_packages: true
linux_release_arm64:
uses: ./.github/workflows/posix.yml
with:
arch: arm64
platform: ubuntu-latest
build_type: RelWithDebInfo
linux_release_scan_build:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: RelWithDebInfo
scan_build: true
linux_release_scan_build_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: RelWithDebInfo
disable_retpolines: true
linux_release_coverage:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: RelWithDebInfo
enable_coverage: true
linux_release_coverage_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: RelWithDebInfo
enable_coverage: true
disable_retpolines: true
linux_release_arm64_coverage:
uses: ./.github/workflows/posix.yml
with:
arch: arm64
platform: ubuntu-latest
build_type: RelWithDebInfo
enable_coverage: true
linux_release_sanitizers:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: RelWithDebInfo
enable_sanitizers: true
linux_release_sanitizers_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: RelWithDebInfo
enable_sanitizers: true
disable_retpolines: true
# Disabled until https://github.com/iovisor/ubpf/issues/155 is resolved.
# linux_release_arm64_sanitizers:
# uses: ./.github/workflows/posix.yml
# with:
# arch: arm64
# platform: ubuntu-latest
# build_type: RelWithDebInfo
# enable_sanitizers: true
linux_debug:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: Debug
linux_debug_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: Debug
disable_retpolines: true
linux_debug_arm64:
uses: ./.github/workflows/posix.yml
with:
arch: arm64
platform: ubuntu-latest
build_type: Debug
upload_packages: true
linux_debug_coverage:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: Debug
enable_coverage: true
linux_debug_coverage_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: Debug
enable_coverage: true
disable_retpolines: true
linux_debug_arm64_coverage:
uses: ./.github/workflows/posix.yml
with:
arch: arm64
platform: ubuntu-latest
build_type: Debug
enable_coverage: true
linux_debug_sanitizers:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: Debug
enable_sanitizers: true
linux_debug_sanitizers_no_retpolines:
uses: ./.github/workflows/posix.yml
with:
arch: x86_64
platform: ubuntu-latest
build_type: Debug
enable_sanitizers: true
disable_retpolines: true
# Disabled until https://github.com/iovisor/ubpf/issues/155 is resolved.
# linux_debug_arm64_sanitizers:
# uses: ./.github/workflows/posix.yml
# with:
# arch: arm64
# platform: ubuntu-latest
# build_type: Debug
# enable_sanitizers: true
finish:
needs:
- macos_release_coverage
- macos_release_coverage_no_retpolines
- macos_debug_coverage
- macos_debug_coverage_no_retpolines
- linux_release_coverage
- linux_debug_coverage
- linux_release_arm64_coverage
- linux_debug_arm64_coverage
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Coveralls Finished
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2.2.3
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true