ebpf-for-windows/tests/unit
Dave Thaler 568e8f0bdf
Add ability to enumerate maps associated with a program (#1395)
* Add map ids test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Enumerate maps associated with a program

Fixes #1339

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Initialize info before calling

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Update bpftool

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Make "netsh show prog l=v" show map ids for program

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Return EFAULT if map_ids is not a valid pointer

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix warning

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* More test fixes

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Add more checks in the socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix netsh

Also fix GettingStarted.md and a missing space in the logs
that were found while testing this fix.

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Set map_ids on output

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-09-30 12:12:12 -07:00
..
CMakeLists.txt Remove trailing whitespace in commited files (#1377) 2022-08-29 14:15:46 -06:00
export_program_info_test.cpp Registry changes for program and section data. (#1192) 2022-06-30 16:53:03 -07:00
libbpf_test.cpp Add ability to enumerate maps associated with a program (#1395) 2022-09-30 12:12:12 -07:00
packages.config Registry changes for program and section data. (#1192) 2022-06-30 16:53:03 -07:00
test.vcxproj Registry changes for program and section data. (#1192) 2022-06-30 16:53:03 -07:00
test.vcxproj.filters Registry changes for program and section data. (#1192) 2022-06-30 16:53:03 -07:00
wer_report_test_wrapper.cpp Add coverage in bitmap, epoch, and ringbuffer. (#1007) 2022-05-02 12:39:58 -06:00