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

1638 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 7ae937a17b
Bump external/ebpf-verifier from `8b0c660` to `f3964ef` (#3199)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `8b0c660` to `f3964ef`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](8b0c660ee4...f3964ef83f)

---
updated-dependencies:
- dependency-name: external/ebpf-verifier
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-26 18:08:12 +00:00
dependabot[bot] df4fe554ae
Bump external/ubpf from `2b16153` to `20dbef1` (#3201)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `2b16153` to `20dbef1`.
- [Commits](2b1615322c...20dbef1ece)

---
updated-dependencies:
- dependency-name: external/ubpf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-26 17:22:34 +00:00
Alan Jowett 0eaf909028
Enable interlocked tests in bpf2c conformance (#3195)
* Enable interlocked tests

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

* PR feedback

Remove left-over diagnostics.

* PR feedback

Keep cicd and cicd-release-validation in synch.

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-26 16:49:14 +00:00
Alan Jowett ba4b6339c1
Fix array out of bounds access during fuzzing (#3194)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-25 00:06:19 +00:00
Dave Thaler 46ad4cc27c
Add bpf2c support for cpu=v4 instructions (#3185)
* Remove movsx imm instructions

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

* Switch most bpf2c uses to use verifier defines not uBPF defines

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

* Add bpf2c support for ja32 instruction

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

* Add bpf2c support for swap* instructions

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

* Add bpf support for movsx instructions

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

* Update CI/CD command

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

---------

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-01-24 23:52:21 +00:00
Alan Jowett fa936b2313
Add support for bpf_map_*_batch APIs (#3178)
* Add support for bpf_map_*_batch APIs

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

* PR feedback: Expand EC acronym

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>

* 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>
2024-01-24 15:27:37 +00:00
dependabot[bot] 9a0921ebee
Bump external/ebpf-verifier from `28bcbbb` to `8b0c660` (#3190)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `28bcbbb` to `8b0c660`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](28bcbbb36f...8b0c660ee4)

---
updated-dependencies:
- dependency-name: external/ebpf-verifier
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 01:50:25 +00:00
dependabot[bot] 8c120c46f7
Bump actions/upload-artifact from 4.1.0 to 4.2.0 (#3186)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1eb3cb2b3e...694cdabd8b)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-21 04:02:43 +00:00
dependabot[bot] 1715af221b
Bump external/usersim from `58f005c` to `ebb3b01` (#3187)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `58f005c` to `ebb3b01`.
- [Commits](58f005c767...ebb3b013da)

---
updated-dependencies:
- dependency-name: external/usersim
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-21 04:02:06 +00:00
Alan Jowett efb6656b4c
Add support for handling anonymous inner maps (#3169)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-19 16:33:51 +00:00
Dave Thaler 08d9ee561f
Update isa-support per latest bpf_conformance updates (#3183)
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-01-18 19:44:49 +00:00
Dave Thaler d0c6a084e4
Add sdiv and smod instruction support to bpf2c (#3165)
* Add sdiv instruction support to bpf2c

Manually tested with latest bpf_conformance test

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

* Add signed modulo instructions

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

* Add sdiv conformance tests to isa-support table

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

* Fix ja32 documentation

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

---------

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-01-18 19:43:59 +00:00
dependabot[bot] de656be0a0
Bump external/ebpf-verifier from `c5f2b92` to `28bcbbb` (#3181)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `c5f2b92` to `28bcbbb`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](c5f2b92cbf...28bcbbb36f)

---
updated-dependencies:
- dependency-name: external/ebpf-verifier
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 22:00:39 +00:00
Alan Jowett 3464a04a84
Pickup version 0.0.5 of bpf_conformance (#3182)
* Pickup version 0.0.5 of bpf_conformance

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

* Set CPU version correctly

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-17 20:24:52 +00:00
dependabot[bot] 8cb7728da6
Bump actions/cache from 3.3.3 to 4.0.0 (#3179)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](e12d46a63a...13aacd865c)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 17:22:25 +00:00
dependabot[bot] 088016abd8
Bump external/Catch2 from `863c662` to `79205da` (#3180)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `863c662` to `79205da`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](863c662c0e...79205da6a6)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 17:22:06 +00:00
Dave Thaler 10a8cc563b
Fix descriptions of atomic fetch operations in isa-support.rst (#3168)
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-01-17 16:20:50 +00:00
dependabot[bot] ee5d141fbf
Bump external/usersim from `9ee14bb` to `58f005c` (#3173)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `9ee14bb` to `58f005c`.
- [Commits](9ee14bba5a...58f005c767)

---
updated-dependencies:
- dependency-name: external/usersim
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 05:42:36 +00:00
dependabot[bot] 01963d4780
Bump external/ebpf-verifier from `90ce44a` to `c5f2b92` (#3174)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `90ce44a` to `c5f2b92`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](90ce44a666...c5f2b92cbf)

---
updated-dependencies:
- dependency-name: external/ebpf-verifier
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 05:42:13 +00:00
dependabot[bot] 2e422c5842
Bump actions/cache from 3.3.2 to 3.3.3 (#3171)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](704facf57e...e12d46a63a)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 05:41:46 +00:00
dependabot[bot] 0c875bd371
Bump actions/upload-artifact from 4.0.0 to 4.1.0 (#3172)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](c7d193f32e...1eb3cb2b3e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 05:41:19 +00:00
dependabot[bot] f575de839f
Bump actions/download-artifact from 4.1.0 to 4.1.1 (#3170)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](f44cd7b40b...6b208ae046)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 05:40:58 +00:00
Alan Jowett 5556190460
Add RAII wrapper for epoch_enter/exit (#3167)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-11 19:24:15 +00:00
Dhiren Vispute a2ece4ba26
Bail if we can't enter rundown (not a fatal error in some instances) (#3148)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-01-09 05:53:21 +00:00
dependabot[bot] c538729943
Bump external/ebpf-verifier from `68951ab` to `90ce44a` (#3154)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `68951ab` to `90ce44a`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](68951ab234...90ce44a666)

---
updated-dependencies:
- dependency-name: external/ebpf-verifier
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 23:03:18 +00:00
Alan Jowett 3c9c72ac26
Set required_irql in sockops and sockaddr program information (#3159)
* Set required_irql in sockops and sockaddr program information

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

* Update docs/eBpfExtensions.md

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

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-01-05 21:18:21 +00:00
dependabot[bot] 6b4ef16638
Bump external/Catch2 from `c809cb4` to `863c662` (#3151)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `c809cb4` to `863c662`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](c809cb4d1c...863c662c0e)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 17:23:00 +00:00
dependabot[bot] 8cb1150bce
Bump external/usersim from `0ec7908` to `9ee14bb` (#3153)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `0ec7908` to `9ee14bb`.
- [Commits](0ec79083d0...9ee14bba5a)

---
updated-dependencies:
- dependency-name: external/usersim
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 17:21:11 +00:00
dependabot[bot] 2786a97041
Bump external/pe-parse from `2bbd5b7` to `b43ff37` (#3155)
Bumps [external/pe-parse](https://github.com/trailofbits/pe-parse) from `2bbd5b7` to `b43ff37`.
- [Release notes](https://github.com/trailofbits/pe-parse/releases)
- [Commits](2bbd5b7181...b43ff37852)

---
updated-dependencies:
- dependency-name: external/pe-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 17:20:58 +00:00
dependabot[bot] df8afd7dd7
Bump external/ubpf from `77553ab` to `2b16153` (#3152)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `77553ab` to `2b16153`.
- [Commits](77553ab650...2b1615322c)

---
updated-dependencies:
- dependency-name: external/ubpf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 17:20:47 +00:00
Alan Jowett 4e69b3b4dd
Switch from epoch_flush to epoch_synchronize (#3039)
* Switch from epoch_flush to epoch_synchronize

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

* Unblock synch during rundown

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

* Flush synchronize work item

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-01-04 19:17:15 +00:00
Alan Jowett 8645f40f50
Bump bpf_performance to v0.0.6 (#3147)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-01-03 18:35:58 +00:00
Alan Jowett 3f5aa42732
Enable optimization on bpf2c generated code (#3146)
* Enable optimization on bpf2c generated code

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

* Fix optimization conflict with /rtc1

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

* Fix expected output for debug vs release

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-03 01:19:45 +00:00
Dave Thaler 64e670602f
Update verifier to latest (#3144)
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-01-02 17:33:23 +00:00
dependabot[bot] 94203d94aa
Bump external/ubpf from `7acf505` to `77553ab` (#3142)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `7acf505` to `77553ab`.
- [Commits](7acf50548a...77553ab650)

---
updated-dependencies:
- dependency-name: external/ubpf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-31 02:01:51 +00:00
dependabot[bot] cfdc19ab44
Bump external/Catch2 from `3acb8b3` to `c809cb4` (#3137)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `3acb8b3` to `c809cb4`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](3acb8b30f1...c809cb4d1c)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 21:23:56 +00:00
dependabot[bot] f5f871f31b
Bump actions/download-artifact from 3.0.2 to 4.1.0 (#3138)
* Bump actions/upload-artifact from 3.1.3 to 4.0.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...c7d193f32e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump actions/download-artifact from 3.0.2 to 4.1.0

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3.0.2 to 4.1.0.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](9bc31d5ccc...f44cd7b40b)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2023-12-26 21:23:05 +00:00
dependabot[bot] 0c218e70cc
Bump external/Catch2 from `d1d7414` to `3acb8b3` (#3130)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `d1d7414` to `3acb8b3`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](d1d7414eb9...3acb8b30f1)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:50:37 +00:00
dependabot[bot] 2bae709d34
Bump github/ossar-action (#3133)
Bumps [github/ossar-action](https://github.com/github/ossar-action) from b51f8b4adb5a0d5dbcb24d9ae33488c56a4bd5dd to fae13e456b9973657a670eef6bccc3a4c2b5153d.
- [Commits](b51f8b4adb...fae13e456b)

---
updated-dependencies:
- dependency-name: github/ossar-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:50:01 +00:00
Gianni Trevisiol d9957c7051
Fix bpf_map_get_next_key "key not found" bug. (#3042)
* fix "prev key not found" bug

* update doc

* Apply comment suggestions from code review

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

* fix bug

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2023-12-13 23:15:49 +00:00
Sharmi 89adde45bd
Update Release process to get the Debug version. (#3124)
* Update Release process to get the Debug version

* updated doc

* Update docs/ReleaseProcess.md

Co-authored-by: Gianni Trevisiol <gtrevi@users.noreply.github.com>

---------

Co-authored-by: Gianni Trevisiol <gtrevi@users.noreply.github.com>
2023-12-12 23:03:44 +00:00
Matthew Ige decc2542a1
Add connected UDP tests to cgroup/sock_addr_connect (#3041)
* add connected UDP Tests

* ensure we do not issue two connect calls

* minor updates

* add debug traces

* temporarily remove connected udp tests

* add connected UDP tests for non-dual stack sockets

* enable v4 tests only

* only test redirect temporarily

* temporarily remove TCP tests

* fix connected udp issue by removing stale contexts

* remove debug tracing, add if check for free

* skip setting redirect context for connected udp

* update ebpf program

* update ebpf program for v6

* remove debug logs

* fix compiler error with incorrect enum

* update to use connection instead of protocol

* update to use connection instead of protocol

* update tests with CR feedback

* update expected

* update to using different key and value types to allow for proper usage of protocol vs connection type
2023-12-12 23:03:15 +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 d4168d1c85
add permissions (#3122) 2023-12-11 20:56:29 +00:00
Shankar Seal 13eed744fe
Helper reallocate packet (#3110)
* add reallocate_packet flag to helper prototype struct.

* PR Feedback.

* fix.

* export reallocate_packet flag.
2023-12-11 17:54:34 +00:00
dependabot[bot] 7a9ea2c1a3
Bump external/Catch2 from `0520ff4` to `d1d7414` (#3116)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `0520ff4` to `d1d7414`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](0520ff4436...d1d7414eb9)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-10 17:21:01 +00:00
dependabot[bot] d4806a9b9e
Bump external/pe-parse from `3c2bd4d` to `2bbd5b7` (#3115)
Bumps [external/pe-parse](https://github.com/trailofbits/pe-parse) from `3c2bd4d` to `2bbd5b7`.
- [Release notes](https://github.com/trailofbits/pe-parse/releases)
- [Commits](3c2bd4d5c6...2bbd5b7181)

---
updated-dependencies:
- dependency-name: external/pe-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-10 17:20:17 +00:00
Gianni Trevisiol 5d6843d4c9
fix (#3113) 2023-12-10 01:42:35 +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