Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@ jobs:
features: ""
- runner: ubuntu-24.04-arm
features: "--no-default-features"
- runner: windows-latest
features: ""
- runner: windows-latest
features: "--no-default-features"
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- name: Install deps
if: runner.os == 'Linux'
run: ./ci/install_deps.sh
- name: Format
run: cargo fmt --all -- --check
Expand All @@ -38,6 +43,7 @@ jobs:
- name: Run tests
run: cargo test --verbose ${{ matrix.features }}
- name: Run basic dump creation test
if: runner.os == 'Linux'
run: ./ci/test.sh

miri:
Expand Down
4 changes: 2 additions & 2 deletions elfcore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ pub trait ReadProcessMemory {
/// // Example of ThreadView and VaRegion structures that can be used
/// // in the custom source
/// let custom_source = CustomSource {
/// pid: nix::unistd::getpid().as_raw(),
/// pid: 1234,
/// threads: vec![ThreadView {
/// flags: 0, // Kernel flags for the process
/// tid: nix::unistd::getpid().as_raw(),
/// tid: 1234,
/// uid: 0, // User ID
/// gid: 0, // Group ID
/// comm: "example".to_string(), // Command name
Expand Down