Skip to content

Save syscall.log per target program execution #1

@yskzalloc

Description

@yskzalloc

Currently, it is difficult to trace or debug individual target program runs because behavior for each execution has not been logging. To improve traceability, I propose adding support for saving logs in a structured way for every client execution.

Proposal

  • For each target program run, generate and store optionally(default: sys):
    • syscall.log
  • Logs should be created with unique name for every execution to avoid overwriting data.
  • Each execution could store logs under a dedicated directory, e.g.:
    <unique log directory(timestamp or run-id with hash)>/
        syscall.log
    

Motivation

  • Easier reproduction of issues when analyzing target program behavior.
  • Clear separation of logs between runs for debugging and testing.
  • Improves collaboration when sharing logs across developers or bug reports.

Use cases

  • Debugging reproducible failing cases.
  • Collecting syscall logs for fuzzing analysis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions