Dave Thaler
c99a43e5e9
Revert "Remove dead code ( #381 )" ( #401 )
...
This reverts commit 7d779cf117
.
2021-08-20 12:07:57 -07:00
Shankar Seal
7d779cf117
Remove dead code ( #381 )
...
* Remove dead code
* Address PR feedback
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2021-08-13 14:56:36 -06:00
Shankar Seal
be67121fda
Test Extension Part 2 ( #361 )
...
* Test Extension Part 2
* rename test extension to sample extension and update Getting-started doc.
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-08-07 14:19:00 -07:00
Shankar Seal
266578ee63
test extension - Part 1 ( #336 )
...
* test extension
2021-07-14 14:40:34 -07:00
Dave Thaler
4d0ac1bd4d
Replace "information" with "info" for consistency ( #331 )
...
Previously some places had "info" and some had "information".
Both appear in dictionaries, so guidance to avoid abbreviations does not apply.
Fixes #314
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2021-07-07 11:16:35 -07:00
Dave Thaler
360aa224ea
Add some netsh tests ( #295 )
...
Adds tests for "show sections" and "show disassembly"
Addresses part of issue #240
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-06-23 09:54:36 -07:00
Alan Jowett
3027b82df0
Unify unit tests ( #294 )
...
* Unify unit tests
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
* PR feedback
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2021-06-22 12:22:50 -06:00
Shankar Seal
27f8d49888
API to create map and enumerate all pinned maps. ( #246 )
...
* API to create map and enumerate all pinned maps.
* Apply suggestions from code review
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
* Address code review comments
* Address code review comments #2
* Address code review comments #3
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2021-06-09 09:44:24 -06:00
saxena-anurag
cf2ef87325
Move program load to ebpfsvc ( #245 )
...
* remove duplicate windows_helpers.cpp, refactor
* remove commented code
* move program load to service
* cleanup commented code
* remove commented code
* cr comments
* make device handle init optional
* cr comments
* change return type of some functions
* fix
* cr comments
* cr comments, cover more error conditions in windows_error_to_ebpf_result
* cr comments
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2021-06-07 15:22:04 -06:00
saxena-anurag
4b2384479d
refactor api.lib to api.lib, common.lib, service.lib ( #219 )
...
* refactor api.lib to api.lib, common.lib, service.lib
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-05-25 14:11:13 -07:00
saxena-anurag
2518e84e84
Integrate verifier with ebpfsvc ( #198 )
...
* call verifier from svc
* ebpfsvc verification support, rpc client
* change rpc api to take const char*, review comments
2021-05-20 18:04:36 -07:00
Alan Jowett
bf6cb270ac
Update driver to return ebpf_program_data_t to verifier ( #163 )
...
* Update driver to return ebpf_program_data_t to verifier
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
* Fix typo in comment
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-05-11 09:53:12 -07:00
Alan Jowett
962ef5e03d
Split tests ( #158 )
...
* Create unit test for execution context
* Split out platform unit tests
* Call UT as part of CI/CD pipeline
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2021-05-10 15:14:49 -06:00
Alan Jowett
c47617951a
Split public and internal headers ( #154 )
...
* Split public and internal headers
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2021-05-10 09:47:54 -06:00
saxena-anurag
d724d3b079
Basic ebpfservice with RPC interface ( #147 )
...
* fix service based on new directory path
* fix x64 release build break
* add copyright headers
* cr comments
* address review comments
* cr comments, fix formatting
* Update comment
* Update comment
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-05-10 07:27:37 -07:00
Dave Thaler
927b2081e3
Update directory structure ( #134 )
...
Fixes #124
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-05-05 14:10:28 -06:00
Alan Jowett
932b16cff3
Split out NetEbpfExt from eBPF execution context ( #123 )
...
Split EbpfCore.sys into EbpfCore.sys and NetEbpfExt.sys
Resolves : #122
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2021-05-04 15:31:12 -06:00
Alan Jowett
a57bfb30d4
Add epoch logic to handle run down of map entries. ( #43 )
...
* Add epoch logic to handle run down of map entries.
Integrate with execution context to invoke epoch_enter/epoch_exit on entry/exit of execution context.
Resolve : #24
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-04-19 16:43:45 -06:00
Dave Thaler
c8a612ae19
Remove obsolete .sln files ( #39 )
...
And rename ebpf-demo.sln to ebpf-for-windows.sln
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-04-16 18:14:30 -07:00