8 Commits

Author SHA1 Message Date
Septor da66c3a28a Add trace parsing from a file instead of realtime (#206)
* Add trace parsing from a file instead of realtime

Add a new interface set_trace_filename() that will enable reading from
an ETL file rather than real-time capture.

Also added a new NativeExample that demonstrates this capability.

* Minor cleanup to address code review items.

* Bump nuget version
2023-04-03 15:41:03 -07:00
John U 79e8af192e add stack trace helpers (#26) (#191)
* add stack trace helpers (#26)

* use windows-2019 for builds

* [PR feedback] rename StackTrace method to GetStackTrace
2022-04-24 18:13:42 -07:00
John U 31679cf84b Rundown event support and examples (#155)
* added user-mode rundown support

* [bugfix] EVENT_TRACE_FLAG_DISK_FILE_IO enables events for the FileIo provider

* added examples for kernel rundown events (#138)

* added user-mode rundown support to C++/CLI API
2021-01-19 15:13:44 -08:00
John U fa2f89a583 added ability to set a default event callback (#147) (#151) 2020-12-23 12:52:22 -08:00
path/to/file 8034e9fa08 Feature/vector predicates (#124)
* added new and/or/none predicate functions that compare a vectorlist of arbitrary predicates

* added examples and tests

* reverted visual studio version in krabs.sln

* improved comments in predicate_base

* fixed formatting in user_trace_006_predicate_vectors.cpp

* reverted change to sln

* renamed vector predicates

* updated versions and releaseNotes in nuspec files
2020-04-16 08:49:07 -07:00
John U aad6efc81f tracing Microsoft-Windows-Security-Auditing (#5) (#93)
Merge commit by: Matt Swann <3lemenopy@gmail.com>
2020-01-14 10:08:55 -08:00
Issahar G f4aa34ff7e boosting krabs performance by filtering by event id on api level (without predicates) (#60)
* add native support for event filters via API

* not finished:
created one unittest to show usage of native filtering...

* adjust memory usage out of scope....

* file delete event in tests....

* resolving issue 1 in comments of pull request

* issue 2 in pull request comments

* comment 3 in pull request: indentation

* issue 4: identation of if

* excessive comment

* fixed typedef

* removing hungarian convention

* camelCase to snake_case

* snake_case

* fixing more comments in pull request

* uncommenting the first test

* applying comments of pull request

* supporting native event filtering alternated with predicates on other settings

* fix identation

* fixing style

* fixing tabs to spaces

* fix identation

* basing on last change requests except the different method for filterDesc composition which is reasked by me if we could ignore or not.

* fix to reference

* undo excessive change in styling. The file whole written in other style

* fixing indentation of for loop
2018-12-28 11:22:51 -08:00
Zac Brown c81c3c41f6 - Make projects for Managed and Native example code. (#3)
* - Make projects for Managed and Native example code.
- Create a 'tests' directory.
- Remove SampleCSharpKrabsExe as it is redundant with respect to the example code.

Signed-off-by: Zac Brown (ODSP SECURITY) <zbrown@microsoft.com>

* - Add note about TYPEASSERT and NDEBUG compilation flags to README.md.
- Add /W4 /WX compiler flags to NativeExample project.
- vcxproj.filters updates based on VS magic.

Signed-off-by: Zac Brown (ODSP SECURITY) <zbrown@microsoft.com>
2016-11-28 14:06:40 -08:00