MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / bswap32

Function bswap32

arch/mips/arch_mips.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#endif
21
22uint32_t bswap32(uint32_t x)
23{
24 return ((x << 24) & 0xff000000 ) |
25 ((x << 8) & 0x00ff0000 ) |
26 ((x >> 8) & 0x0000ff00 ) |
27 ((x >> 24) & 0x000000ff );
28}
29
30uint64_t bswap64(uint64_t x)
31{

Callers 3

AlwaysBranchMethod · 0.70
InvertBranchMethod · 0.70
ApplyRelocationMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected