• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rieske / trans / 30271674501

27 Jul 2026 01:44PM UTC coverage: 93.116% (-0.2%) from 93.287%
30271674501

Pull #79

github

rieske
fix(types,sa,codegen): signed idiv, multi-decl init order, pointer arithmetic

Mutation fuzzing exposed three product bugs: signed division used zero-extended
RDX before idiv (SIGFPE on negatives), multi-declarator initializers analyzed
before names were inserted, and pointer +/- / ++ scaled as raw bytes.

Fix Type::isPrimitive so indirection is not a scalar; share pointer-arith
classification in TypeQuery; emit PointerOffset/PointerDiff IR with a shared
scaledBaseIndex path (same shape as array indexing); use cqo for signed div/mod;
and analyze each declarator before its initializer so later names see earlier ones.
Pull Request #79: fix(types,sa,codegen): signed idiv, multi-decl init, pointer arithmetic

7629 of 8193 relevant lines covered (93.12%)

208208.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.72
/home/runner/work/trans/trans/src/codegen/CodeGeneratingVisitor.cpp


Source Not Available

The file "home/runner/work/trans/trans/src/codegen/CodeGeneratingVisitor.cpp" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc