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

filterx: parse_windows_eventlog_xml() #282

Merged
merged 9 commits into from
Sep 20, 2024

Conversation

alltilla
Copy link
Member

@alltilla alltilla commented Sep 13, 2024

I tried to do this cleanly with minimal code duplication, and this is what I could achieve. I am still not completely satisfied with the result, but I don't see how could this be improved without making it less clean.

@alltilla alltilla force-pushed the filterx-windows-eventlog-xml branch 5 times, most recently from ea13aac to ac65625 Compare September 16, 2024 10:32
@OverOrion OverOrion self-requested a review September 17, 2024 08:34
@alltilla alltilla force-pushed the filterx-windows-eventlog-xml branch 2 times, most recently from a99b90d to 055300f Compare September 18, 2024 10:52
@alltilla
Copy link
Member Author

@bazsi added the quick root node check as we discussed.

@alltilla alltilla requested a review from bazsi September 18, 2024 10:52
@alltilla alltilla force-pushed the filterx-windows-eventlog-xml branch 2 times, most recently from ebd6a1b to 35a4e49 Compare September 18, 2024 10:59
So we can descend from it.

We should have an init_instance() function for
the inheritance, but I ended it up not needing it
for the parse_windows_eventlog_xml() function.

Signed-off-by: Attila Szakacs <[email protected]>
To save a lot of allocations.

Signed-off-by: Attila Szakacs <[email protected]>
@bazsi bazsi merged commit 7ccf9e2 into axoflow:main Sep 20, 2024
22 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.

2 participants