Skip to content

Export IoFileObjectType mock#297

Open
Alan-Jowett wants to merge 1 commit intomainfrom
alanjo/export-IoFileObjectType
Open

Export IoFileObjectType mock#297
Alan-Jowett wants to merge 1 commit intomainfrom
alanjo/export-IoFileObjectType

Conversation

@Alan-Jowett
Copy link
Member

@Alan-Jowett Alan-Jowett commented Mar 6, 2026

Add a mock for IoFileObjectType following the existing ExEventObjectType pattern.

Changes

  • inc/usersim/ob.h: Declare IoFileObjectType export
  • src/ob.cpp: Define static backing variable and aligned exported pointer
  • src/Source.def: Add IoFileObjectType to DLL exports

Add a mock for IoFileObjectType following the existing ExEventObjectType
pattern. This is needed by ebpf-for-windows which references
IoFileObjectType in ebpf_handle_kernel.c for ObReferenceObjectByHandle
calls.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Alan-Jowett Alan-Jowett requested a review from mtfriesen as a code owner March 6, 2026 21:51
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.

1 participant