Skip to content

Set signedness of "char *" casts to avoid cross-platform differences.#9081

Open
rod-chapman wants to merge 1 commit into
diffblue:developfrom
rod-chapman:set-char-signedness-in-contracts
Open

Set signedness of "char *" casts to avoid cross-platform differences.#9081
rod-chapman wants to merge 1 commit into
diffblue:developfrom
rod-chapman:set-char-signedness-in-contracts

Conversation

@rod-chapman

@rod-chapman rod-chapman commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Fixes #8991

Explicitly cast to "unsigned char *" rather than "char *". This stabilizes the output GOTO and SMT on platforms where the default signedness of plain "char" is implementation-defined.

Explicitly cast to "unsigned char *" rather than "char *".
This stabilizes the output GOTO and SMT on platforms
where the default signedness of plain "char" is
implementation-defined.

Signed-off-by: Rod Chapman <rodchap@amazon.com>
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.68%. Comparing base (90da45f) to head (1a608e8).
⚠️ Report is 5 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #9081   +/-   ##
========================================
  Coverage    80.68%   80.68%           
========================================
  Files         1714     1714           
  Lines       189522   189522           
  Branches        73       73           
========================================
  Hits        152925   152925           
  Misses       36597    36597           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

Cross-platform instability arising from default signedness of char in contracts library

1 participant