Skip to content
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

cFE Integration candidate: Caelum-rc4+dev60 #2452

Merged
merged 7 commits into from
Oct 12, 2023
Merged

Conversation

dzbaker
Copy link
Collaborator

@dzbaker dzbaker commented Oct 5, 2023

Checklist (Please check before submitting)

Describe the contribution

Testing performed
cFS Bundle Checks
cFE Checks

Expected behavior changes
See PRs

System(s) tested on
Ubuntu 20.04

Additional context
Add any other context about the contribution here.

Third party code
If included, identify any third party code and provide text file of license

Contributor Info - All information REQUIRED for consideration of pull request
@chillfig
@jphickey

jphickey and others added 5 commits September 29, 2023 10:42
Move the current CRC-16 algorithm to a separate source file and better
structure the code to support future CRC algorithm alternatives.
Improve documentation to better indicate what the current algorithm is
and what to expect going forward.

Also corrects for issues in the CRC functional test:
 - Use the standard check input and compare against the standard check
   value for CRC-16/ARC.
 - Change cases from MIR to a normal test case - given a specific
   algorithm with specific input, the return value should be the same.
Fix #2436, Adds an empty string or null pointer check for pipe creation
return 0;
}

uint32 CFE_ES_ComputeCRC_Algo_16_ARC(const void *DataPtr, size_t DataLength, uint32 InputCRC)

Check notice

Code scanning / CodeQL

Long function without assertion Note

All functions of more than 10 lines should have at least one assertion.
return Crc;
}

CFE_ES_ComputeCRC_Params_t *CFE_ES_ComputeCRC_GetParams(CFE_ES_CrcType_Enum_t CrcType)

Check notice

Code scanning / CodeQL

Long function without assertion Note

All functions of more than 10 lines should have at least one assertion.
#include "common_types.h"
#include "cfe_es.h"

typedef uint32 (*const CFE_ES_ComputeCRC_Algo_t)(const void *DataPtr, size_t DataLength, uint32 InputCRC);

Check notice

Code scanning / CodeQL

Hidden pointer indirection Note

The typedef CFE_ES_ComputeCRC_Algo_t hides pointer indirection.
@dzbaker dzbaker merged commit 62e15d2 into main Oct 12, 2023
37 of 38 checks passed
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