Skip to content

Conversation

@ramosian-glider
Copy link
Member

Not having these results in three copies of every KVM-related #define in each reproducer.


Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md


@a-nogikh
Copy link
Collaborator

I think we also want to remove these ifdefs from the resulting C reproducer code? Or are they already?

@ramosian-glider
Copy link
Member Author

At least there are no #ifdef directives in the prog2c output

@a-nogikh
Copy link
Collaborator

What about the defines like #define EXECUTOR_COMMON_KVM_H?

Not having these results in three copies of every KVM-related #define
in each reproducer.
@ramosian-glider
Copy link
Member Author

@a-nogikh fixed csource.go to remove those.

@ramosian-glider ramosian-glider force-pushed the ifdefs branch 2 times, most recently from cd10d70 to 71818c9 Compare October 23, 2025 17:28
Drop all lines matching `#define [A-Z0-9_]*_H` from the reproducers
@ramosian-glider
Copy link
Member Author

PTAL

@ramosian-glider ramosian-glider added this pull request to the merge queue Oct 27, 2025
Merged via the queue into google:master with commit ba25b32 Oct 27, 2025
17 checks passed
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.

3 participants