MCPcopy Create free account
hub / github.com/capstone-engine/capstone / isUIntN

Function isUIntN

MathExtras.h:48–50  ·  view source on GitHub ↗

isUIntN - Checks if an unsigned integer fits into the given (dynamic) bit width.

Source from the content-addressed store, hash-verified

46/// isUIntN - Checks if an unsigned integer fits into the given (dynamic)
47/// bit width.
48static inline bool isUIntN(unsigned N, uint64_t x) {
49 return x == (x & (~0ULL >> (64 - N)));
50}
51
52/// isIntN - Checks if an signed integer fits into the given (dynamic)
53/// bit width.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…