Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print CPU state when panicking #8

Open
5 of 6 tasks
d4ilyrun opened this issue Feb 25, 2024 · 0 comments
Open
5 of 6 tasks

Print CPU state when panicking #8

d4ilyrun opened this issue Feb 25, 2024 · 0 comments
Labels
arch: x86 x86 specific features target: kernel Kernel related features type: new Implement a new feature

Comments

@d4ilyrun
Copy link
Owner

d4ilyrun commented Feb 25, 2024

What

We should print the current state of the CPU when panicking.

This includes:

  • Registers (useful ones)
    • Control registers: CR2, CR3, EFLAGS (ce9d646)
    • General registers: ESP, EIP (ce9d646)
    • Flags (string output, not raw value)
  • Structures
  • Stack

References

@d4ilyrun d4ilyrun added target: kernel Kernel related features type: new Implement a new feature arch: none Not architecture specific labels Feb 25, 2024
@d4ilyrun d4ilyrun added arch: x86 x86 specific features and removed arch: none Not architecture specific labels May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch: x86 x86 specific features target: kernel Kernel related features type: new Implement a new feature
Projects
None yet
Development

No branches or pull requests

1 participant