Skip to content

Conversation

@simongdavies
Copy link
Contributor

This PR adds a function to the crashdump feature to allow a crashdump to be produced by calling a function on a sandbox.

This can be useful when debugging a process using gdb.

The updated doc has details on how to use this function

@simongdavies simongdavies added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Oct 23, 2025
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
dblnz
dblnz previously approved these changes Oct 23, 2025
Copy link
Contributor

@dblnz dblnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
I don't think there is any security issue with allowing to generate a crashdump of a sandbox from the host, because if the host is compromised, then the access to guest memory is already a given, right?

ludfjig
ludfjig previously approved these changes Oct 23, 2025
Copy link
Contributor

@ludfjig ludfjig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Would be nice to have a test that exercises it so we don't break it in the future

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies merged commit 3063e4a into hyperlight-dev:main Oct 23, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants