MCPcopy Create free account
hub / github.com/ElementsProject/elements / read_u32

Function read_u32

src/test/fuzz/simplicity.cpp:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67uint32_t read_u32(const unsigned char **buf) {
68 uint32_t ret;
69 memcpy(&ret, *buf, 4);
70 *buf += 4;
71 return le32toh(ret);
72}
73
74#define MAX_LEN (1024 * 1024)
75

Callers 1

FUZZ_TARGET_INITFunction · 0.85

Calls 1

le32tohFunction · 0.85

Tested by

no test coverage detected