mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
Diagnostics: SIGSEGV logger preload for x86 guest programs
Writes the fault address, the instruction pointer and a backtrace with module offsets to SEGVLOG_FILE; built by its own small workflow.
This commit is contained in:
1 parent
8589951aea
commit
43da1b8d1f
2 files changed
+94
No files matched your search
@@ -0,0 +1,21 @@
|
||||
name: Build diagnostics
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: |
|
||||
sudo apt-get update -qq && sudo apt-get install -y -qq gcc-multilib >/dev/null
|
||||
mkdir -p out
|
||||
gcc -m32 -O1 -fPIC -shared -fno-omit-frame-pointer -o out/libsegvlog-i386.so tools/diag/segvlog.c -ldl
|
||||
gcc -O1 -fPIC -shared -fno-omit-frame-pointer -o out/libsegvlog-x86_64.so tools/diag/segvlog.c -ldl
|
||||
file out/*
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: diag
|
||||
path: out/
|
||||
Reference in new issue
Block a user