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

1984 Коммитов

Автор SHA1 Сообщение Дата
Sharmi e4d425cb00
XDP declarations are moved from ebpf_nethooks.h. (#3793)
* Initial commit

* Merge with main

* Removed ebpf_xdp_test_hooks.h in net_ebpf_ext.h

* Removed header not needed

* Addressed PR comments

* Addressed PR comments

* Addressed PR comments

* Keeping the change with SEC(xdp)

* Generated sample files

* Added the generated tests/bpf2c_tests/expected files

* Fixed the output expectation

* Generated expected files after main merge

* Re-push all the generated file
2024-09-06 22:04:43 +00:00
Shankar Seal 7848d3790d
change version to 0.20.0 (#3815) 2024-09-06 16:46:06 +00:00
Anurag Saxena c73a0864dd
Multi-attach support for SOCK_ADDR programs (#3751)
* initial commit

* second commit

* third commit

* update lock logic

* fix analysis errors

* backup

* Add tests

* fix

* fix

* fix

* code refactor

* update test

* Revert "update test"

This reverts commit 6770269907.

* Revert "code refactor"

This reverts commit fae36a7d0e.

* Revert "Revert "code refactor""

This reverts commit 3b8e762d33.

* Revert "Revert "update test""

This reverts commit 11610f06ce.

* fix capability in xdp

* add tests, remove filter weight

* invoke wildcard programs, update tests

* fix wildcard invocation logic

* fix wildcard invocation logic, remove sleep from concurrency tests

* move invocation out of the lock, fix tests

* code cleanup, update test

* code cleanup

* remove trace

* cleanup

* update wildcard invocation logic

* code cleanup

* code cleanup

* code cleanup, CR comments

* cr comments, code cleanup

* Update netebpfext/net_ebpf_ext_hook_provider.h

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

* cr comments

* add tests

* cr comments

* code cleanup

* tracing changes

* fix sal

* code cleanup

* code cleanup

* Update netebpfext/net_ebpf_ext.h

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

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-09-05 00:32:40 +00:00
Alan Jowett 06533c8d48
Switch to crc32 if available for hashing function (#3803)
* Switch to crc32 if available for hashing function

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

* Only do crc32 when keys are directly accessible

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

* Minimize branches and extra ALU ops

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-09-04 20:19:57 +00:00
dependabot[bot] 725f3f5971
Bump the actions group with 2 updates (#3806)
Bumps the actions group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/upload-artifact` from 4.3.6 to 4.4.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7)

Updates `github/codeql-action` from 3.26.5 to 3.26.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2c779ab0d0...4dd16135b6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 21:22:26 +00:00
dependabot[bot] e9d7f26d75
Bump external/ebpf-verifier from `cd9344b` to `559482c` (#3807)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `cd9344b` to `559482c`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](cd9344bdbb...559482ccaf)

---
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-09-03 15:48:17 +00:00
Alan Jowett 3240a2eb09
Inline _ebpf_adjust_value_pointer to reduce cost of ebpf_map_find_entry (#3804)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-08-30 21:17:22 +00:00
Michael Friesen 9a8244902d
relocate installer license to avoid "multiple licenses" text on GitHub (#3802) 2024-08-30 00:20:22 +00:00
Sharmi fb53c3d543
Added ntosext extensions in the GettingStarted.md document. (#3785)
* Added ntosext extension in the doc

* Addressed PR comment

* Update docs/GettingStarted.md

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

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-08-29 15:25:49 +00:00
dependabot[bot] 8c75ae0b9e
Bump external/usersim from `ca8f2de` to `bded12c` (#3796)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `ca8f2de` to `bded12c`.
- [Commits](ca8f2defc6...bded12ceee)

---
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-08-29 05:16:44 +00:00
dependabot[bot] 99ef697eab
Bump external/ubpf from `762a98d` to `f1ecb7a` (#3797)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `762a98d` to `f1ecb7a`.
- [Commits](762a98dd1a...f1ecb7a245)

---
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-08-28 23:27:00 +00:00
Ben Lewis 71759c0abc
First string functions for ebpf general helpers. (#3780)
* Initial progress on function implementations.

* Moved code.

* Updated kernel project.

* Working on parallel user and kernel mode versions.

* Work in Progress.

* Added tests, added a lot.

* Cleaned up test code some, still doesn't build.

* Re-enabled some tests.

* Got a working set of tests, now to figure out what to do with this in the interim.

* Removing as-yet-unimplemented functions for now.

* Fixed a name.

* Doxygen fixes. Also removed a function header that'll be needed another time.

* Got down to one source file, got a build working in user mode.

* Renamed string_opts to ebpf_strings

* Corrected build issues, removed other extraneous comments.

* Fixed the test selection name, and suppressed an analysis error in a Windows header.

---------

Co-authored-by: Ben Lewis (REDMOND) <Ben.Lewis@microsoft.com>
2024-08-27 20:55:55 +00:00
Alan Jowett 8c838d1ab5
Stamp all tools with version information. (#3792)
* Stamp all tools with version information.

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

* Add commit id to nuget package

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

* Move versioning to Directory.Build.props

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

* Set correct project type in sample.vcxproj

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

* Add version info to fuzz tests

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

* PR feedback

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

* Update tests/socket/resource.h

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

* Revert editor change

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>
Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-08-27 16:30:12 +00:00
dependabot[bot] db56eda610
Bump github/codeql-action from 3.26.2 to 3.26.5 in the actions group (#3790)
Bumps the actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3.26.2 to 3.26.5
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](429e197704...2c779ab0d0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 15:41:31 +00:00
dependabot[bot] ee53a21107
Bump external/ebpf-verifier from `dc2d6ea` to `cd9344b` (#3784)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `dc2d6ea` to `cd9344b`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](dc2d6ea75a...cd9344bdbb)

---
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-08-23 16:57:40 +00:00
dependabot[bot] 6d6aad3451
Bump external/usersim from `46c6b4a` to `ca8f2de` (#3782)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `46c6b4a` to `ca8f2de`.
- [Commits](46c6b4adf1...ca8f2defc6)

---
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-08-23 00:31:50 +00:00
dependabot[bot] 9bc16f3cd6
Bump external/ubpf from `19cd22c` to `762a98d` (#3783)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `19cd22c` to `762a98d`.
- [Commits](19cd22c6fb...762a98dd1a)

---
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-08-23 00:23:43 +00:00
Alan Jowett 59c5f5d6a5
Add ADO pipelines (#3741)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-08-22 23:34:45 +00:00
Shankar Seal bde5a20dca
Override `bpf_get_current_pid_tgid` for sock_ops hook. (#3765)
* initial changes.

* sock_addr.

* fixes.

* Update include/ebpf_nethooks.h

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

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-08-22 23:27:51 +00:00
Lorenz Bauer b7c6e9b24e
Fix Setup-DevEnv.ps1 (#3770)
Fix a missing " which breaks executing the setup script. Also add -y to
the wixtoolset installation.
2024-08-21 18:39:04 +00:00
dependabot[bot] c9819121b6
Bump external/ebpf-verifier from `f390808` to `dc2d6ea` (#3774)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `f390808` to `dc2d6ea`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](f390808bf9...dc2d6ea75a)

---
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-08-20 19:47:43 +00:00
dependabot[bot] 91677a4234
Bump external/ubpf from `d6bcc68` to `19cd22c` (#3773)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `d6bcc68` to `19cd22c`.
- [Commits](d6bcc682c3...19cd22c6fb)

---
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-08-20 15:47:41 +00:00
dependabot[bot] 1e756643f8
Bump external/usersim from `27dd3f1` to `46c6b4a` (#3775)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `27dd3f1` to `46c6b4a`.
- [Commits](27dd3f10c5...46c6b4adf1)

---
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-08-20 15:47:11 +00:00
dependabot[bot] b9f2e26553
Bump github/codeql-action from 3.26.0 to 3.26.2 in the actions group (#3776)
Bumps the actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3.26.0 to 3.26.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](eb055d739a...429e197704)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 15:46:52 +00:00
Anurag Saxena 03e8c109ce
Fix AV in netebpfext (#3769)
* fix

* fix

* fix
2024-08-14 20:07:32 +00:00
Dave Thaler 94a66d67bd
Correct obsolete comment (#3767)
windows_error_to_ebpf_result was renamed to
win32_error_code_to_ebpf_result moved to ebpf_utilities.h
back in 2022 but this comment was missed.

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-08-13 03:46:57 +00:00
dependabot[bot] f08ee5fd5e
Bump external/Catch2 from `33e24b1` to `8898cc6` in the generic group (#3757)
Bumps the generic group with 1 update: [external/Catch2](https://github.com/catchorg/Catch2).


Updates `external/Catch2` from `33e24b1` to `8898cc6`
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](33e24b14fc...8898cc6160)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-08 19:35:00 +00:00
Alan Jowett 3738c826c7
Switch to using Visual Studio's version of LLVM and Clang (#3754)
* Add VS Clang to path

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

* Fix tests

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

* Reformat using clang 17.0.3

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

* Account for git_commit_id.h dependency

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

* Revert https://github.com/microsoft/ebpf-for-windows/pull/3756 from this branch

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

* Make LLVM path dependent on cl.exe path

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

* Use VCINSTALLDIR as root of LLVM path

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

* Update hash and set path to use environment variable

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-08-07 16:43:47 +00:00
Sharmi 8c46978033
Documentation update with xdp_test (#3752)
* Doc update

* Update docs/InstallEbpf.md

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

* Update docs/tutorial.md

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

* Update docs/tutorial.md

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

* Update docs/GettingStarted.md

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

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-08-07 16:19:57 +00:00
dependabot[bot] 86b5f02f5e
Bump external/usersim from `5725ff5` to `27dd3f1` (#3758)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `5725ff5` to `27dd3f1`.
- [Commits](5725ff5915...27dd3f10c5)

---
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-08-07 02:38:38 +00:00
dependabot[bot] c71f664192
Bump the actions group with 3 updates (#3759)
Bumps the actions group with 3 updates: [step-security/harden-runner](https://github.com/step-security/harden-runner), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `step-security/harden-runner` from 2.9.0 to 2.9.1
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](0d381219dd...5c7944e73c)

Updates `actions/upload-artifact` from 4.3.5 to 4.3.6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](89ef406dd8...834a144ee9)

Updates `github/codeql-action` from 3.25.15 to 3.26.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](afb54ba388...eb055d739a)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 02:38:06 +00:00
Alan Jowett dacc4902e1
Add dependency for git_commit_id.h (#3756)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-08-06 21:16:11 +00:00
Dave Thaler 2efcf36a81
Group dependabot pull requests (#3753)
See documentation at https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/customizing-dependency-updates#grouping-dependabot-updates-into-one-pull-request

Fixes #3750

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-08-06 16:58:30 +00:00
Shankar Seal 5ecb5ee8c6
Update post-build.ps1 (#3755) 2024-08-06 16:14:12 +00:00
dependabot[bot] d0938ccb6d
Bump external/usersim from `651d2f9` to `5725ff5` (#3744)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `651d2f9` to `5725ff5`.
- [Commits](651d2f92f1...5725ff5915)

---
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>
Co-authored-by: Sharmi <shpalan@microsoft.com>
2024-08-05 21:12:43 +00:00
dependabot[bot] ccf4167cf9
Bump external/ebpf-verifier from `84fcbe6` to `f390808` (#3745)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `84fcbe6` to `f390808`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](84fcbe6295...f390808bf9)

---
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-08-05 20:07:19 +00:00
Shankar Seal c7efd73451
Remove undocked solution. (#3739)
* fix undocked solution.

* update.

* PR feedback.
2024-08-05 15:24:23 +00:00
dependabot[bot] fc899c735d
Bump external/Catch2 from `a40dd47` to `33e24b1` (#3747)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `a40dd47` to `33e24b1`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](a40dd478f3...33e24b14fc)

---
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-08-05 15:09:17 +00:00
dependabot[bot] 86114808e8
Bump external/ubpf from `074513b` to `d6bcc68` (#3746)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `074513b` to `d6bcc68`.
- [Commits](074513b39e...d6bcc682c3)

---
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-08-05 15:09:04 +00:00
dependabot[bot] 03cf6b57d1
Bump actions/upload-artifact from 4.3.4 to 4.3.5 (#3743)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b2256b8c0...89ef406dd8)

---
updated-dependencies:
- dependency-name: actions/upload-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-08-05 15:07:37 +00:00
Alan Jowett 0b4142d9d6
Upload netperf results on schedule runs (#3738) 2024-07-31 21:33:05 +00:00
Ben Lewis cfadfe7f7d
Strings library API proposal (#3719)
* Initial document writeup of the proposed string additions.

* Renamed strings api proposal.

* Reformatted document to width, and added upstream functions that make sense.

* Updated to expand on comments.

* Two other variable names needed correcting.

* Match names of functions more closely, and include _s suffixes.

---------

Co-authored-by: Ben Lewis (REDMOND) <Ben.Lewis@microsoft.com>
2024-07-31 21:18:13 +00:00
Shankar Seal 6af442038c
invalid prog data tests. (#3718)
* invalid prog data tests.

changes.

* analysis_assume.

* PR feedback.

---------

Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2024-07-29 22:46:29 +00:00
dependabot[bot] fc5a174d45
Bump external/ebpf-verifier from `14b27b2` to `84fcbe6` (#3732)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `14b27b2` to `84fcbe6`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](14b27b2192...84fcbe6295)

---
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-07-29 21:58:12 +00:00
dependabot[bot] cde0f5087b
Bump external/Catch2 from `37c8b2d` to `a40dd47` (#3731)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `37c8b2d` to `a40dd47`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](37c8b2d2b3...a40dd478f3)

---
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-07-29 20:36:43 +00:00
dependabot[bot] 381218f556
Bump github/codeql-action from 3.25.13 to 3.25.15 (#3733)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.13 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d790406f5...afb54ba388)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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-07-29 20:36:05 +00:00
dependabot[bot] b4c2c820e9
Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#3734)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](dc50aa9510...62b2cac7ed)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  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-07-29 20:35:49 +00:00
Sharmi cd7fb1db25
Update main version to 0.19.0 (#3730)
* Update main version to 0.19.0

* Update release doc
2024-07-27 00:29:50 +00:00
Sharmi 54632eb360
Set errno for bpf_object__find_map_by_name (#3712)
* Initial Commit

* Initialize errno

* Set errno for bpf_object__find_map_by_name

* Added Doxygen comment
2024-07-23 18:32:28 +00:00
dependabot[bot] 2448139787
Bump external/ubpf from `9f1e5d6` to `074513b` (#3721)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `9f1e5d6` to `074513b`.
- [Commits](9f1e5d646c...074513b39e)

---
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-07-21 16:39:55 +00:00