MCPcopy Create free account
hub / github.com/Kitware/CMake / cmELFByteSwap

Function cmELFByteSwap

Source/cmELF.cxx:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28{
29};
30static void cmELFByteSwap(char* data, cmELFByteSwapSize<2> /*unused*/)
31{
32 char one_byte;
33 one_byte = data[0];
34 data[0] = data[1];
35 data[1] = one_byte;
36}
37static void cmELFByteSwap(char* data, cmELFByteSwapSize<4> /*unused*/)
38{
39 char one_byte;

Callers 2

ByteSwapMethod · 0.85
ReadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…