Skip to content

Export IoFileObjectType mock#297

Merged
Alan-Jowett merged 1 commit intomainfrom
alanjo/export-IoFileObjectType
May 5, 2026
Merged

Export IoFileObjectType mock#297
Alan-Jowett merged 1 commit intomainfrom
alanjo/export-IoFileObjectType

Conversation

@Alan-Jowett
Copy link
Copy Markdown
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

@Alan-Jowett Alan-Jowett requested a review from mtfriesen as a code owner March 6, 2026 21:51
@Alan-Jowett Alan-Jowett force-pushed the alanjo/export-IoFileObjectType branch from e9cd7f9 to a349c4c Compare March 31, 2026 18:24
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 force-pushed the alanjo/export-IoFileObjectType branch from a349c4c to 706d0e8 Compare May 5, 2026 19:09
@Alan-Jowett Alan-Jowett merged commit dd68683 into main May 5, 2026
12 checks passed
@Alan-Jowett Alan-Jowett deleted the alanjo/export-IoFileObjectType branch May 5, 2026 19:20
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.

2 participants