-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Improve performance with nested PacketField
s
#4727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
alxroyer-thales
wants to merge
32
commits into
secdev:master
Choose a base branch
from
ThalesGroup:perf
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
9db46b8
Add 'test/perf_packet_fields.uts' test (#4705)
alxroyer-thales 4bbaab2
Rename classes in 'test/perf_packet_fields.uts' (#4705)
alxroyer-thales 9bf0c54
Add 'test/auto_clear_cache.uts' test (#4706)
alxroyer-thales 772459f
Improve 'perf_packet_fields.uts' (#4705)
alxroyer-thales cc2572d
Improve 'auto_clear_cache.uts' (#4706, #4707)
alxroyer-thales 2d3c005
Improve 'perf_packet_fields.uts' with operation counts (#4705)
alxroyer-thales 6e72bc3
Fix 'perf_packet_fields.uts' when `NUMBER_OF_F_PER_I>255` (#4705)
alxroyer-thales af50227
Report scapy@2.4.5 optimizations in scapy@2.6.1 (#4705, #4706, #4707)
alxroyer-thales debbbde
Avoid `add_payload()` clearing the cache when dissecting (#4706)
alxroyer-thales 35877da
Restore default `clear_cache()` behaviour (#4707)
alxroyer-thales d6e0cde
Revert `_PacketField.m2i()` changes (#4705)
alxroyer-thales ead2e51
Revert `clear_cache()` for payload modifications (#4706)
alxroyer-thales e7465c8
Ensure cache set for good at the end of `Packet._fast_copy()` (#4705)
alxroyer-thales 33aeae4
Fix parent not set when building default packet fields (#4706, #4707)
alxroyer-thales 0976a60
Fix Thales copyrights (#4705, #4706, #4707)
alxroyer-thales 7fed967
Fix `post_build()` not being called anymore (#4705)
alxroyer-thales 625154c
Fix `NoPayload.clear_cache()` signature (#4707)
alxroyer-thales 4583af8
Fix `setfieldval()` when the field is not set yet (#4705)
alxroyer-thales 7f0f095
Add `clear_cache()` calls in 'test/fields.uts' (#4705)
alxroyer-thales d4d6655
Fix cache issues with packet list fields (#4705)
alxroyer-thales bf0fa0e
Revert "Add `clear_cache()` calls in 'test/fields.uts' (#4705)"
alxroyer-thales e32dab1
Avoid caching for packets returned by `fuzz()` (#4705)
alxroyer-thales 23b1628
Adjust `MAX_TIME_PER_OP` in 'perf_packet_fields.uts' (#4705)
alxroyer-thales 5a1f68f
Avoid `fuzz()` messing up `default_fields` (#4705)
alxroyer-thales 471bf40
Make `FlagValue` bound to a `Packet` (#4705)
alxroyer-thales 9415f58
Make `Packet._ensure_bound_field_value()` recursive on lists (#4705)
alxroyer-thales 2fec703
Rework `list_field` as `ListValue` in 'fields.py' (#4705)
alxroyer-thales 9c26a32
Fix `Packet.setfieldval()` when `attr` not already in `self.fields` (…
alxroyer-thales 000e16b
Copy the `no_cache` flag in `Packet._fast_copy()` (#4705)
alxroyer-thales 46f12db
Fix unit test (#4705)
alxroyer-thales d64e574
Avoid caching with `BTLE` layer (#4705)
alxroyer-thales d877990
Hide `ValueError`s in `Packet.setfieldval()` optimization (#4705)
alxroyer-thales File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert
clear_cache()
for payload modifications (#4706)
In `Packet.add_payload()` and `remove_payload()`.
- Loading branch information
commit ead2e516212c2f29fac6547ed88eea07a61d75f0
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted above, the meaning of the
explicit
attribute should probably be explained.To be discussed.