MCPcopy Create free account
hub / github.com/F-Stack/f-stack / isShiftExponentTooLarge

Function isShiftExponentTooLarge

freebsd/kern/kern_ubsan.c:1695–1704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1693}
1694
1695static bool
1696isShiftExponentTooLarge(char *szLocation, struct CTypeDescriptor *pType, unsigned long ulNumber, size_t zWidth)
1697{
1698
1699 ASSERT(szLocation);
1700 ASSERT(pType);
1701 ASSERT(pType->mTypeKind == KIND_INTEGER);
1702
1703 return llluGetNumber(szLocation, pType, ulNumber) >= zWidth;
1704}

Callers 1

HandleShiftOutOfBoundsFunction · 0.85

Calls 1

llluGetNumberFunction · 0.85

Tested by

no test coverage detected