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

Missing EXCEPTION_CONTINUE_EXECUTION, etc. #1731

Closed
vvoznesensky opened this issue Oct 27, 2023 · 7 comments
Closed

Missing EXCEPTION_CONTINUE_EXECUTION, etc. #1731

vvoznesensky opened this issue Oct 27, 2023 · 7 comments
Assignees
Labels
missing enum An enum is missing for constant parameters

Comments

@vvoznesensky
Copy link

No EXCEPTION_CONTINUE_EXECUTION, EXCEPTION_... of excpt.h in the metadata.

@mikebattista
Copy link
Contributor

I see these in ksarm.h. Where are these constants used? Are they kernel-related?

What namespace would you expect them in? Should they be in the WDK metadata instead?

@vvoznesensky
Copy link
Author

I see these in ksarm.h. Where are these constants used? Are they kernel-related?

What namespace would you expect them in? Should they be in the WDK metadata instead?

I use them here in unhandled exception filter. Yes, I utilize memory violation in my userspace code.

I have no idea about the namespace, but probably in the same place where SetUnhandledExceptionFilter is located.

@mikebattista
Copy link
Contributor

There is ksarm.h and ksarm64.h which have different values for different constants. How should we handle those?

@vvoznesensky
Copy link
Author

There is ksarm.h and ksarm64.h which have different values for different constants. How should we handle those?

I need constants from excpt.h

@mikebattista
Copy link
Contributor

That header doesn't exist in the SDK.

@riverar
Copy link
Collaborator

riverar commented Nov 6, 2023

@mikebattista Ships with MSVC (e.g., VC\Tools\MSVC\14.37.32822\include\excpt.h) thought not sure if this fits into the scope of Win32 metadata.

// Defined values for the exception filter expression
#define EXCEPTION_EXECUTE_HANDLER      1
#define EXCEPTION_CONTINUE_SEARCH      0
#define EXCEPTION_CONTINUE_EXECUTION (-1)

@mikebattista
Copy link
Contributor

We can add these.

@mikebattista mikebattista self-assigned this Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing enum An enum is missing for constant parameters
Projects
None yet
Development

No branches or pull requests

3 participants