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

Function bswap64

arch/mips/arch_mips.cpp:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30uint64_t bswap64(uint64_t x)
31{
32 return ((x << 56) & 0xff00000000000000UL) |
33 ((x << 40) & 0x00ff000000000000UL) |
34 ((x << 24) & 0x0000ff0000000000UL) |
35 ((x << 8) & 0x000000ff00000000UL) |
36 ((x >> 8) & 0x00000000ff000000UL) |
37 ((x >> 24) & 0x0000000000ff0000UL) |
38 ((x >> 40) & 0x000000000000ff00UL) |
39 ((x >> 56) & 0x00000000000000ffUL);
40}
41
42enum ElfMipsRelocationType : uint32_t
43{

Callers 1

ApplyRelocationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected