Shofel payloader source & prebuild for jib with some old payloads i had made
these payloads may not work , i have no clue honestly i attached them , also there are 2 helper py scripts that might work with some of these payloads
This commit is contained in:
17
Shofel4Jibo/include/endianness.h
Normal file
17
Shofel4Jibo/include/endianness.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _ENDIANNESS_H_
|
||||
#define _ENDIANNESS_H_
|
||||
|
||||
#ifdef __BYTE_ORDER
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
|
||||
#include <byteswap.h>
|
||||
#define TO_LITTLE_ENDIAN(x) bswap_32(x)
|
||||
|
||||
#elif __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
|
||||
#define TO_LITTLE_ENDIAN(x) x
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user