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

Add kernel user dtb extraction #126

Merged
merged 6 commits into from
Sep 11, 2023
Merged

Conversation

cakeless
Copy link
Contributor

No description provided.

@rageagainsthepc rageagainsthepc force-pushed the add-kernel-userDTB-extraction branch 3 times, most recently from 9a78e33 to 17be369 Compare August 29, 2023 08:14
@rageagainsthepc rageagainsthepc force-pushed the add-kernel-userDTB-extraction branch 9 times, most recently from 4474c47 to 45c5d35 Compare September 5, 2023 11:00
// Check if kernel is recent enough to have PTI support (backports for LTS releases are currently ignored)
if (auto [major, minor, _patch] = extractKernelVersion(); major > 4 || (major == 4 && minor >= 15))
{
// Check if kernel page table isolation is enabled
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will fail poorly on ARM

Copy link
Member

Choose a reason for hiding this comment

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

The project is not yet ARM aware, but I am open to alternative suggestions.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Merging that functionality could be a good idea

Copy link
Member

Choose a reason for hiding this comment

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

IIRC That PR still had open review comments. If you finish that PR and rebase it onto the newest version, I'd be happy to merge it.

vmicore/src/lib/os/linux/Constants.h Outdated Show resolved Hide resolved
vmicore/src/lib/os/windows/ActiveProcessesSupervisor.cpp Outdated Show resolved Hide resolved
plugins/apitracing/src/lib/FunctionHook.cpp Outdated Show resolved Hide resolved
vmicore/src/lib/vmi/Breakpoint.cpp Outdated Show resolved Hide resolved
@rageagainsthepc rageagainsthepc force-pushed the add-kernel-userDTB-extraction branch 3 times, most recently from 91ab0e8 to 8bf67c5 Compare September 7, 2023 12:50
@sonarcloud
Copy link

sonarcloud bot commented Sep 11, 2023

[InMemoryScanner Plugin] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Sep 11, 2023

[ApiTracing Plugin] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

47.6% 47.6% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Sep 11, 2023

[VMICore] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

28.1% 28.1% Coverage
3.7% 3.7% Duplication

Copy link
Member

@rageagainsthepc rageagainsthepc left a comment

Choose a reason for hiding this comment

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

LGTM

@rageagainsthepc rageagainsthepc merged commit 296cca3 into main Sep 11, 2023
13 checks passed
@rageagainsthepc rageagainsthepc deleted the add-kernel-userDTB-extraction branch September 11, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants