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 d3f:unloads property and associated module system calls #244

Merged
merged 1 commit into from
May 7, 2024

Conversation

aamedina
Copy link
Contributor

@aamedina aamedina commented May 3, 2024

Addresses #230

This pull request introduces a new d3f:unloads property and adds related system call definitions to the ontology for handling the loading and unloading of modules, specifically targeting operations in a computer's memory.

Key changes include:

  1. New Object Property: The d3f:unloads is added as an object property, defined as a technique or artifact that performs the action of unloading artifacts like kernel modules, or hardware drivers from a computer's memory.

  2. New Classes:

    • LinuxDeleteModule: Represents a system call to remove an unused loadable kernel module. It includes an exit function executed prior to the module's unloading.
    • LinuxInitModule: Describes a system call that loads an ELF image into kernel space and initializes module parameters.
    • LoadModule and UnloadModule: Define system calls for loading and unloading drivers or extensions into/from the kernel.
  3. API Definitions:

    • OSAPILoadModule and OSAPIUnloadModule: Classes are defined to represent the operating system API functions that facilitate module loading and unloading.

@netfl0 netfl0 requested review from ryantxu1 and ikiril01 May 3, 2024 14:43
rdfs:subClassOf :SystemCall,
[ a owl:Restriction ;
owl:onProperty :unloads ;
owl:someValuesFrom [ a owl:Class ;
Copy link
Contributor

Choose a reason for hiding this comment

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

To follow the style we have been using, can you convert to two separate someValuesFrom restrictions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure--if it's semantically equivalent in this case. The intention is to create a logical OR. PR updated.

@netfl0 netfl0 merged commit 9693eab into d3fend:develop May 7, 2024
1 check passed
@netfl0 netfl0 added this to the 0.16.0 milestone May 7, 2024
@netfl0 netfl0 mentioned this pull request May 7, 2024
netfl0 added a commit that referenced this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants