saxena-anurag
014ee34392
Add eBPF UM APIs ( #368 )
...
* parse map names from elf file
* add apis, change test code
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-08-10 17:04:07 -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
Alan Jowett
7870921e02
Additional analysis fixes ( #315 )
...
* Fix C26110,C28023,C28193,C6001,C6031,C6054
* Fix C6101
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2021-06-29 15:51:41 -06:00
Dave Thaler
a46b00c2e3
Add VM setup scripts and docs ( #281 )
...
* Create an install script rather than having to manually do lots
of steps
* Make Debug build use vcruntime as static libs to avoid adding
another prerequisite on a machine before installing eBPF. This
isn't required for Release builds as vcruntime release DLLs
are part of Windows, unlike vcruntime debug DLLs
Fixes #248
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-06-15 08:44:43 -07:00
saxena-anurag
6fde4777e5
Change ebpfsvc to LocalService ( #272 )
...
* ebpfsvc should be localservice
* cr comments, change sidtype to restricted
* pr comments
2021-06-14 15:38:42 -07: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
Dave Thaler
e9e7133deb
Remove duplicate copy of helper prototypes from verifier ( #220 )
...
Fixes #67
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-05-25 16:22:29 -07:00
Dave Thaler
faebbdd32a
Clean up compiler warnings ( #225 )
...
The IDL was generating MIDL2279 because it used const on an [out] param,
which is warned against since RPC marshaling copies the result into new
memory. See https://marc.info/?l=ms-dcom&m=103440617317922 for some
discussion.
Other changes should hopefully be obvious.
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-05-25 15:36:19 -07: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
Dave Thaler
773b27d2c0
Merge error codes from ebpf_windows.h into ebpf_result_t ( #210 )
...
Fixes #151
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
2021-05-20 12:38:58 -07: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