Skip to content

Fix default values in UDS#3035

Merged
guedou merged 1 commit intosecdev:masterfrom
polybassa:uds_fixes
Jan 3, 2021
Merged

Fix default values in UDS#3035
guedou merged 1 commit intosecdev:masterfrom
polybassa:uds_fixes

Conversation

@polybassa
Copy link
Copy Markdown
Contributor

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 27, 2020

Codecov Report

Merging #3035 (d312c0a) into master (b140d07) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #3035      +/-   ##
==========================================
- Coverage   85.37%   85.36%   -0.01%     
==========================================
  Files         255      255              
  Lines       53977    53976       -1     
==========================================
- Hits        46085    46079       -6     
- Misses       7892     7897       +5     
Impacted Files Coverage Δ
scapy/contrib/automotive/uds.py 91.29% <50.00%> (+0.42%) ⬆️
scapy/arch/windows/__init__.py 68.25% <0.00%> (-0.58%) ⬇️
scapy/layers/inet.py 65.81% <0.00%> (-0.24%) ⬇️
scapy/layers/tls/automaton_cli.py 70.82% <0.00%> (-0.14%) ⬇️


@staticmethod
def get_log(pkt):
# type: (UDS_DSC) -> Tuple[str, Any]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do better than using Any here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm currently working on a huge refactoring of my code which uses this log functions. Also this scanner code on the bottom of this file will move in a new file. After I've this code ready, I would focus on typing of this layer. Hope that works for now.

@guedou guedou merged commit dbc853b into secdev:master Jan 3, 2021
@polybassa polybassa deleted the uds_fixes branch July 27, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants