Граф коммитов

199 Коммитов

Автор SHA1 Сообщение Дата
Shankar Seal 97edef4b84
Update post-build.ps1 2024-08-05 21:19:04 -07:00
Shankar Seal c7efd73451
Remove undocked solution. (#3739)
* fix undocked solution.

* update.

* PR feedback.
2024-08-05 15:24:23 +00:00
Shankar Seal b9d6cb6b7e
update version to 0.18.0 (#3690) 2024-07-15 18:43:20 +00:00
D. Michael Agun 2efce152dc
Set empty program name to hash of instructions (#3493)
* Move C++ hashing lib from tests/libs/util/ to libs/shared/

This puts hash.cpp/hash.h in a more central location for use by other project files.

* Set empty program name to hash of instructions

ebpf_program_load_bytes now hashes the instructions and uses that for the name
instead of generating a random number.

Closes #3443

* fix signed/unsigned warning (and ensure windows helper id >= 0)

* add bcrypt.dll dependency for ebpfapi.dll

* WIP new test case for ebpf_program_load_bytes with nullptr program name

* WIP ebpf_program_load_bytes testing

* truncate SHA256 hash to 63 bytes to stay under BPF_OBJ_NAME_LEN

* remove bcrypt from release dependencies and suppress analyze warning

* PR feedback - fix comment and bpf2c include paths

---------

Co-authored-by: Michael Agun <danielagun@microsoft.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2024-07-02 14:47:03 +00:00
Alan Jowett 95060af117
Enable building and signing eBPF for Windows (#3651)
* Enable building and signing eBPF for Windows

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-06-19 22:01:26 +00:00
Anurag Saxena a4a82aeeaf
Update regression tests to 0.17 (#3642)
* update regression tests

* script path changes

* skip test

* skip tests
2024-06-19 06:18:19 +00:00
Anurag Saxena ebf0a32d29
Multiple MSVC related fixes (#3623)
* skip test

* fix test

* update tests to accept both old and new values

* include vc redist in MSI
2024-06-12 17:06:58 +00:00
Dave Thaler d096b21ac5
Update copyright to be eBPF for Windows contributors (#3508)
* Update copyright to be eBPF for Windows contributors

Fixes #3507

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>

* Undo gratuitous formatting changes in expected files

---------

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-05-04 19:55:56 +00:00
Anurag Saxena cf05004d7b
Implement `bpf_get_socket_cookie()` (#3464)
* implement bpf_get_socket_cookie

* fix tests

* fix more tests

* fix tests

* cleanup

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>

* fix regression tests

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-04-24 23:39:57 +00:00
Shankar Seal 4b40f9f6e9
Various fixes to the extension version logic. (#3432)
* various fixes.

* fix mem leak.

* fix double free/

fix one more leak.

* PR feedback.

s# Please enter the commit message for your changes. Lines starting
2024-04-19 19:36:02 +00:00
D. Michael Agun bbaa3660e7
Update install script to refresh Path (#3462)
Co-authored-by: Michael Agun <danielagun@microsoft.com>
2024-04-18 18:24:23 +00:00
Alan Jowett e3dc614044
Add script to forcefully remove ebpf-for-windows (#3441)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-04-12 18:36:21 +00:00
Shankar Seal 73647f801b
Reallocate packet (#3344)
* reallocate_packet.

* PR Feedback.
2024-04-04 00:49:27 +00:00
Anurag Saxena 37b7cc5970
Add kernel regression tests (#3421)
* add tests

* fix

* add traces to scripts

* add temp test

* Revert "add temp test"

This reverts commit 9ca282a62e.

* code cleanup

* pass version as param

* fix

* fix.

---------

Co-authored-by: Shankar Seal <sseal@microsoft.com>
Co-authored-by: Shankar Seal <74580197+shankarseal@users.noreply.github.com>
2024-04-03 18:52:02 +00:00
Shankar Seal fc973542c9
extension_header (#3326)
* extension_header

* fix logic error.

* Re-purposing the size field to act as the "minor version". Additional validation checks are added.

* PR Feedback.

* fix break due to bad merge with PR #3372
2024-03-30 17:27:09 +00:00
Gianni Trevisiol a0aa7c5aba
Update manual deploy process. (#3380)
* draft

* wip

* tested

* cli doc

* nit

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-03-28 07:50:02 +00:00
Dhiren Vispute e82fa1a992
Fix user, kernel dump harvesting regression (#3398)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-27 22:28:03 +00:00
Igor Klemenski 39874fb083
Swallow wpr cancel error in uninstallation path. (#3400)
* Swallow wpr failure code in msi uninstall apth.

* override exit code

* wrap wpr cancel in process

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2024-03-27 21:25:52 +00:00
Gianni Trevisiol 1eaa5681d3
Refactor all deployments to use the MSI package. (#3284)
* draft

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* test

* wip

* wip

* test

* test

* wip

* test

* wip

* wip

* wip

* test

* wip

* wip

* fix debug installation

* update VM install doc

* wip

* wip

* wip

* wip

* wip

* improve msi log readability

* wip

* debug

* nits

* feedback

* nl

* updates

* add extra stop-check

* wip

* wip

* nit

* fix

* doc

* exclude doc

* sync
2024-03-21 21:08:57 +00:00
Dhiren Vispute b494058832
Rework dump handling, add trace messages, fix process id for user mode dump (#3355)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-21 17:40:56 +00:00
Gianni Trevisiol 5e84f5c914
draft (#3333) 2024-03-12 22:58:51 +00:00
Dhiren Vispute 00c6428dd5
Use custom script wrapper for all km tests to capture user, km dumps on hangs (#3163)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-08 16:36:10 +00:00
Alan Jowett bf2a7c3eb5
Add support for statically initializing BPF_MAP_TYPE_HASH_OF_MAPS (#3211)
* Add support for statically initializing BPF_MAP_TYPE_HASH_OF_MAPS

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Update installer and add code gen tests

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Add files to expected install list

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-31 00:18:28 +00:00
Alan Jowett f4e3bc79cf
Add malformed ELF files to bpf2c corpus (#3198)
* Add crashing ELF file to corpus

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Resolve merge conflict

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Overhaul of malformed ELF file tests

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix build break

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix build failure

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-29 00:18:01 +00:00
Anurag Saxena f6a478842a
Remove store km lib and code (#3109)
* remove store km lib and code

* fix

* more cleanup

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2023-12-12 13:53:04 +00:00
Gianni Trevisiol 911cefc1bd
Automate repo init & reset (#3108)
* add init script & doc update

* Update doc

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>

* Update docs/GettingStarted.md

Co-authored-by: Igor Klemenski <Igor.Klemenski@microsoft.com>

* modify ci/cd script

* optimize

* nit

* fix break from #3104

* Revert "optimize"

This reverts commit 611bf6e59c.

* sync

* check exit code

* nit

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
Co-authored-by: Igor Klemenski <Igor.Klemenski@microsoft.com>
2023-12-08 23:08:42 +00:00
Anurag Saxena 3f5e0ba1ba
Separate out undocked components. (#3055)
* remove not-needed includes

* fix

* fix

* update sample extension

* change include path

* export store APIs from ebpfapi.dll

* fix analyze build

* update dependencies

* add undocked projects

* undock sample_ext driver

* fix build

* more undocking

* fix build

* remove undocked projects from fuzzerdebug

* fix nuget

* remove usersim from export_program_info

* fix configuration manager

* fix tests

* skip building undocked samples for FuzzerDebug builds

* fix build

* try cicd changes

* fix cicd yml

* update export_program_info to not clean up all entries

* code cleanup

* delete global helpers from the store

* code cleanup

* export *delete* store APIs from ebpfapi

* code cleanup

* CR comments

* cr comments

* remove ansi APIs

* CR comments

* cr comments

* fix CI failure

* fix rebase build issues

* change default custom type to bind

* some more fixes

* fix tests

* fix tests

* update expected files

* fix bpf2c tests

* run export_program_info

* fix headers

* CR comments
2023-12-07 21:10:19 +00:00
Alan Jowett 041d402eeb
Fix build break from VS 2022 17.8.2 (#3104)
* Fix build break from VS 2022 17.8.2

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix conflicting C++ versions

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* New depenedency on kernel32.dll

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Pickup latests usersim

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2023-12-07 00:58:33 +00:00
Matthew Ige 2000dafc4e
Remove XDP hook support from netebpfext.sys (#3040)
* replace XDP guids with XDP_TEST guids

* updated missde instance

* update bpf2c

* leave xdp_hook as is

* remove extra files

* update with new XDP_TEST guid, update other tests to use sample_ext

* update some tests, update test_helper

* update fuzzer

* temporarily remove bpftool tests

* update execution context test

* replace XDP guids with XDP_TEST guids

* updated missde instance

* update bpf2c

* leave xdp_hook as is

* remove extra files

* update with new XDP_TEST guid, update other tests to use sample_ext

* update some tests, update test_helper

* update fuzzer

* temporarily remove bpftool tests

* update execution context test

* build failures

* update sample ext with context_allocate and destroy

* update vm script to use xdp_test

* switch api tests to use sample program

* rename to xdp_Test

* update sample ext

* update incorrect SAL, update netsh tests

* update sample, update tests to use sample where applicable

* update tests

* fix up tests

* fix libbpf tets

* revert unnecessary changes

* remove extra prints

* add back in bpftool tests

* update to use xdp instead of xdp_test for bpftool test

* update atomic_instructions_others.o

* extra debug logs

* updated expected, update bpftool tests

* correct bpftool tests

* more debug logs

* add reg debug

* clear program info

* Attempt fix of buffer overrun

* remove debug logs, minor cleanup, set XDP guids back to their original names

* update docs with xdp_test

* fix guid usage

* CR: remove program, update comments, fix commented out tests, update bpf_program__attach_xdp

* revert changes in libbpf, as they need to use the actual XDP guids

* update comment

* update some XDP tests to use sample ext, comment out some expected failing tests

* update bpftool tests

* fix up bpf prog test run expected output, move to #if instead of comments

* fix up return code issue

* fix bpftool testes

* add some failed xdp tests, set some params to null for sample tests

* update comment

* tmp commit - move to xdp mock

* update unit tests to use mock XDP where possible

* made some samples back to XDP type

* netebpfext unit tests should use xdp_test

* CR
2023-12-06 17:12:17 +00:00
Igor Klemenski 675f0d2557
Compress KM dumps and perf ETLs before upload. (#3029)
* Compress Km dumps and perf ETLs before upload.

* Force run on PR.

* run just perf test release

* print out etls before zip

* fix up etl path

* uncomment CI

* cleanup

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-11-09 00:41:09 +00:00
Pengfei Ni 4b9ba35173
chore: fix the hash for setup scripts (#3009)
* chore: fix the hash for setup scripts

* chore: fix the hash in the getting started guide
2023-11-07 22:36:34 +00:00
Sharmi 41e686d267
Fix ASAN linker error (#3027)
* Remove enable asan

* Test

* Test 2

* Change /spgo

* Add LTCG and WPO asan condition
2023-11-07 21:02:16 +00:00
Dhiren Vispute ed0435b130
Add support for in-memory etl traces (#2946)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2023-10-26 19:01:46 +00:00
Igor Klemenski 708a1b623f
Restore VM after driver job finishes. (#3000)
Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-10-26 18:57:37 +00:00
Gianni Trevisiol ac75163cdf
Add MSI testing in the CI/CD pipeline. (#2953)
* draft - tested

* nit

* typo
2023-10-23 15:14:30 +00:00
Igor Klemenski 39704888f2
Test error fix (#2924)
* fixx COnnectRedirect test error reporting

* fix error pasring in api_test

* differential comparison - force api_test failure, should not be detected

* try conn_redir error catch

* restore

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-10-02 17:28:53 +00:00
Gianni Trevisiol 0ea0927ecb
Add test for checking DLL dependencies in distributed user-mode binaries. (#2922)
* working draft

* add regular/debug

* sync dependencies

* sync ebpfsvc

* optimize

* wip

* nit
2023-09-30 04:43:36 +00:00
Igor Klemenski e710431a0b
Add WS 2022 self-hosted runners. (#2850)
* Add new server 2022 and 2019 runners.

* rename runners and VMs

* Update old runners

* update perf runner label

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-09-21 00:42:36 +00:00
Igor Klemenski c1ef869487
Add designated runner for perf jobs. (#2845)
* test perf runner

* run perf test on PR push

* remove gh condition

* remove repo restriction

* add perf label in yml

* works, uncomment

* user perf label for all of bpf_performance tests

* restore event-triggered run behavior

---------

Co-authored-by: Igor Klemenski <igklemen@microsoft.com>
2023-09-15 20:16:00 +00:00
Anurag Saxena 3003ad0f32
Add regression test for 0.11.0 release (#2852)
* add regression test 0.11

* update download script
2023-09-15 18:36:40 +00:00
Alan Jowett 01bc766f6f
Pick up v0.3.0 of bpf_performance (#2848)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2023-09-13 02:13:33 +00:00
Alan Jowett b0c099b0a0
Bpf performance run (#2821)
* Run bpf_performance_runner on a scheduled run.

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Capture CPU profile

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix mandatory parameter

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Pass list of options for test mode

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Capture CPU profile

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Handle empty options parameter

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Switch to v0.0.2 of perf test and gather per test ETL

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Switch perf to scheduled run

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2023-09-11 19:07:07 +00:00
Sharmi 5cc488fb08
Increase MAX_TAIL_CALL_CNT to 33 tail calls (#2826)
* Initial Commit

* Added tail call max exceed native test case

* Initial commit

* Initial commit

* Added bpf2c_tests/expected changed files

* Fixed the return value in bind_tailcall_max_native_test

* Addressed PR comments

* Update tests/unit/libbpf_test.cpp

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update tests/unit/libbpf_test.cpp

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* tests/unit/libbpf_test.cpp

* Moved MAX_TAIL_CALL_CNT to ebpf_structs.h as suggested

* Removed MAX_TAIL_CALL_CNT in api_test and stress_tests_km file

* Add the generated expected file for tail_call_max_exceed

* Removed MAX_TAIL_CALL_CNT from bpf_helpers.h

---------

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2023-09-11 16:55:56 +00:00
Anurag Saxena 998f2f93c7
fix (#2824) 2023-09-06 19:16:16 +00:00
Dave Thaler c947ca63b9
Make runtime binaries not depend on usersim (#2783)
* build ebpfcore under usersim

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

* Work around analysis warnings

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

* Fix installer project

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

* Temporarily use ubpf branch with memory fix

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

* WIP

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

* WIP

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

* Create project for files shared between ebpfapi and the ebpf runtime

Move existing files from libs/platform either to:
* libs/shared, if meant to be common between user-mode and ebpf runtime
* libs/runtime, if meant to be used by the ebpf runtime only (whether in
  user or kernel mode)

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

* Move ebpf_tracelog.c to shared

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

* Create shared_user and shared_kernel projects

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

* WIP

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

* WIP

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

* Remove usersim from ebpfsvc

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

* Update to cxplat branch of usersim

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

* Use cxplat_utf8_string

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

* Cleanup

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

* Fix build errors

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

* Fix ebpf_allocate_with_tag

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

* Fixes

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

* Bug fixes

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

* Fix use of ebpf_reallocate to not pass a null pointer

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

* Fix printf tests

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

* Fix memory leaks

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

* Temporary change to help debug double-free in test

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

* Update to latest usersim

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

* Fix analysis warnings

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

* Update to latest usersim

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

* Update usersim to latest

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

* Change native module to use latest usersim

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

* Update nuget package

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

* Only call cxplat_cleanup if cxplat_initialize succeeds

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Revert setup_build.vcxproj change

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

* Update usersim to latest

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

---------

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2023-09-05 17:57:21 +00:00
Alan Jowett f47df31295
Workaround issue in GitHub actions REST API (#2811)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2023-09-01 18:34:44 +00:00
Dhiren Vispute d24f4da6a5
add parameter handling to ensure exclusive execution of km stress tests (#2775)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2023-08-30 21:04:33 +00:00
Alan Jowett d5f4bd9bb2
Download latest successful bpf_performance build (#2774)
* Download latest successful bpf_performance build

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix path

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Set GH_TOKEN environment variable

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Download performance to it's own repo

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix deploy script

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2023-08-29 18:24:13 +00:00
Dhiren Vispute 62b088ad39
Add support for schduled kernel mode multi-threaded stress tests in gh ci/cd (#2670)
Co-authored-by: Dhiren Vispute <dhiren.vispute@microsoft.com>
2023-08-18 17:24:46 +00:00
Dave Thaler 4e6bed34e8
Build ebpfcore as a DLL for testing (#2744)
* Update to use latest usersim

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

* build ebpfcore under usersim

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

* Update usersim to latest

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

* Fix compilation

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

* Work around analysis warnings

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

* Fix installer project

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

* Fix memory issues in libbpf implementation

Found my latest usersim code

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

* Update usersim to latest

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

* Fix mismatched calloc/free function in ubpf_user.c

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

* Fix mismatched alloc/free in verifier_fuzzer

The verifier_fuzzer used ebpf_allocate() but then called free()

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

* Temporarily use ubpf branch with memory fix

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

* Fix memory issues in ebpfsvc

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

* PR feedback from Anurag

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

---------

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2023-08-17 22:55:15 +00:00