|
|
|
|
@@ -16074,6 +16074,193 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 76 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
#define GUARD(maxiter) _g((1ULL << 31U) + __LINE__, (maxiter)+1)
|
|
|
|
|
extern int64_t accept (uint32_t read_ptr, uint32_t read_len, int64_t error_code);
|
|
|
|
|
extern int64_t rollback (uint32_t read_ptr, uint32_t read_len, int64_t error_code);
|
|
|
|
|
extern int64_t sto_emplace (
|
|
|
|
|
uint32_t write_ptr, uint32_t write_len,
|
|
|
|
|
uint32_t sread_ptr, uint32_t sread_len,
|
|
|
|
|
uint32_t fread_ptr, uint32_t fread_len, uint32_t field_id );
|
|
|
|
|
#define PARSE_ERROR -18
|
|
|
|
|
#define ASSERT(x)\
|
|
|
|
|
if (!(x))\
|
|
|
|
|
rollback((uint32_t)#x, sizeof(#x), __LINE__);
|
|
|
|
|
#define sfSequence ((2U << 16U) + 4U)
|
|
|
|
|
#define sfAmount ((6U << 16U) + 1U)
|
|
|
|
|
|
|
|
|
|
// {"Account": <zero account>}
|
|
|
|
|
uint8_t sto[] = {0x81U, 0x14U, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
|
|
|
|
|
|
|
|
|
// {"Sequence": 1}
|
|
|
|
|
uint8_t ins[] = {0x24U, 0x00U, 0x00U, 0x00U, 0x01U};
|
|
|
|
|
|
|
|
|
|
uint8_t buf[1024];
|
|
|
|
|
|
|
|
|
|
int64_t hook(uint32_t reserved )
|
|
|
|
|
{
|
|
|
|
|
_g(1,1);
|
|
|
|
|
|
|
|
|
|
// check inject field should be valid sto object and it's field id should
|
|
|
|
|
// match the field_id
|
|
|
|
|
ASSERT(sto_emplace(buf, sizeof(buf), sto, sizeof(sto), ins, sizeof(ins), sfSequence) > 0);
|
|
|
|
|
int64_t result = sto_emplace(buf, sizeof(buf), sto, sizeof(sto), ins, sizeof(ins), sfAmount);
|
|
|
|
|
|
|
|
|
|
accept(0,0,result);
|
|
|
|
|
}
|
|
|
|
|
)[test.hook]",
|
|
|
|
|
{
|
|
|
|
|
0x00U, 0x61U, 0x73U, 0x6DU, 0x01U, 0x00U, 0x00U, 0x00U, 0x01U, 0x1EU,
|
|
|
|
|
0x04U, 0x60U, 0x02U, 0x7FU, 0x7FU, 0x01U, 0x7FU, 0x60U, 0x07U, 0x7FU,
|
|
|
|
|
0x7FU, 0x7FU, 0x7FU, 0x7FU, 0x7FU, 0x7FU, 0x01U, 0x7EU, 0x60U, 0x03U,
|
|
|
|
|
0x7FU, 0x7FU, 0x7EU, 0x01U, 0x7EU, 0x60U, 0x01U, 0x7FU, 0x01U, 0x7EU,
|
|
|
|
|
0x02U, 0x38U, 0x04U, 0x03U, 0x65U, 0x6EU, 0x76U, 0x02U, 0x5FU, 0x67U,
|
|
|
|
|
0x00U, 0x00U, 0x03U, 0x65U, 0x6EU, 0x76U, 0x0BU, 0x73U, 0x74U, 0x6FU,
|
|
|
|
|
0x5FU, 0x65U, 0x6DU, 0x70U, 0x6CU, 0x61U, 0x63U, 0x65U, 0x00U, 0x01U,
|
|
|
|
|
0x03U, 0x65U, 0x6EU, 0x76U, 0x08U, 0x72U, 0x6FU, 0x6CU, 0x6CU, 0x62U,
|
|
|
|
|
0x61U, 0x63U, 0x6BU, 0x00U, 0x02U, 0x03U, 0x65U, 0x6EU, 0x76U, 0x06U,
|
|
|
|
|
0x61U, 0x63U, 0x63U, 0x65U, 0x70U, 0x74U, 0x00U, 0x02U, 0x03U, 0x02U,
|
|
|
|
|
0x01U, 0x03U, 0x05U, 0x03U, 0x01U, 0x00U, 0x02U, 0x06U, 0x33U, 0x08U,
|
|
|
|
|
0x7FU, 0x01U, 0x41U, 0x80U, 0x91U, 0x04U, 0x0BU, 0x7FU, 0x00U, 0x41U,
|
|
|
|
|
0xF2U, 0x10U, 0x0BU, 0x7FU, 0x00U, 0x41U, 0x80U, 0x08U, 0x0BU, 0x7FU,
|
|
|
|
|
0x00U, 0x41U, 0x80U, 0x91U, 0x04U, 0x0BU, 0x7FU, 0x00U, 0x41U, 0x80U,
|
|
|
|
|
0x08U, 0x0BU, 0x7FU, 0x00U, 0x41U, 0xA0U, 0x08U, 0x0BU, 0x7FU, 0x00U,
|
|
|
|
|
0x41U, 0x80U, 0x08U, 0x0BU, 0x7FU, 0x00U, 0x41U, 0x96U, 0x08U, 0x0BU,
|
|
|
|
|
0x07U, 0x08U, 0x01U, 0x04U, 0x68U, 0x6FU, 0x6FU, 0x6BU, 0x00U, 0x04U,
|
|
|
|
|
0x0AU, 0x80U, 0x81U, 0x00U, 0x01U, 0xFCU, 0x80U, 0x00U, 0x01U, 0x01U,
|
|
|
|
|
0x7EU, 0x41U, 0x01U, 0x41U, 0x01U, 0x10U, 0x80U, 0x80U, 0x80U, 0x80U,
|
|
|
|
|
0x00U, 0x1AU, 0x02U, 0x40U, 0x41U, 0xA0U, 0x88U, 0x80U, 0x80U, 0x00U,
|
|
|
|
|
0x41U, 0x80U, 0x08U, 0x41U, 0x80U, 0x88U, 0x80U, 0x80U, 0x00U, 0x41U,
|
|
|
|
|
0x16U, 0x41U, 0x96U, 0x88U, 0x80U, 0x80U, 0x00U, 0x41U, 0x05U, 0x41U,
|
|
|
|
|
0x84U, 0x80U, 0x08U, 0x10U, 0x81U, 0x80U, 0x80U, 0x80U, 0x00U, 0x42U,
|
|
|
|
|
0x00U, 0x55U, 0x0DU, 0x00U, 0x41U, 0xA0U, 0x90U, 0x80U, 0x80U, 0x00U,
|
|
|
|
|
0x41U, 0xD2U, 0x00U, 0x42U, 0x20U, 0x10U, 0x82U, 0x80U, 0x80U, 0x80U,
|
|
|
|
|
0x00U, 0x1AU, 0x0BU, 0x41U, 0x00U, 0x41U, 0x00U, 0x41U, 0xA0U, 0x88U,
|
|
|
|
|
0x80U, 0x80U, 0x00U, 0x41U, 0x80U, 0x08U, 0x41U, 0x80U, 0x88U, 0x80U,
|
|
|
|
|
0x80U, 0x00U, 0x41U, 0x16U, 0x41U, 0x96U, 0x88U, 0x80U, 0x80U, 0x00U,
|
|
|
|
|
0x41U, 0x05U, 0x41U, 0x81U, 0x80U, 0x18U, 0x10U, 0x81U, 0x80U, 0x80U,
|
|
|
|
|
0x80U, 0x00U, 0x10U, 0x83U, 0x80U, 0x80U, 0x80U, 0x00U, 0x1AU, 0x20U,
|
|
|
|
|
0x01U, 0x0BU, 0x0BU, 0x81U, 0x09U, 0x03U, 0x00U, 0x41U, 0x80U, 0x08U,
|
|
|
|
|
0x0BU, 0x1BU, 0x81U, 0x14U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x24U, 0x00U, 0x00U, 0x00U, 0x01U, 0x00U,
|
|
|
|
|
0x41U, 0xA0U, 0x08U, 0x0BU, 0x80U, 0x08U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
0x00U, 0x41U, 0xA0U, 0x10U, 0x0BU, 0x52U, 0x73U, 0x74U, 0x6FU, 0x5FU,
|
|
|
|
|
0x65U, 0x6DU, 0x70U, 0x6CU, 0x61U, 0x63U, 0x65U, 0x28U, 0x62U, 0x75U,
|
|
|
|
|
0x66U, 0x2CU, 0x20U, 0x73U, 0x69U, 0x7AU, 0x65U, 0x6FU, 0x66U, 0x28U,
|
|
|
|
|
0x62U, 0x75U, 0x66U, 0x29U, 0x2CU, 0x20U, 0x73U, 0x74U, 0x6FU, 0x2CU,
|
|
|
|
|
0x20U, 0x73U, 0x69U, 0x7AU, 0x65U, 0x6FU, 0x66U, 0x28U, 0x73U, 0x74U,
|
|
|
|
|
0x6FU, 0x29U, 0x2CU, 0x20U, 0x69U, 0x6EU, 0x73U, 0x2CU, 0x20U, 0x73U,
|
|
|
|
|
0x69U, 0x7AU, 0x65U, 0x6FU, 0x66U, 0x28U, 0x69U, 0x6EU, 0x73U, 0x29U,
|
|
|
|
|
0x2CU, 0x20U, 0x73U, 0x66U, 0x53U, 0x65U, 0x71U, 0x75U, 0x65U, 0x6EU,
|
|
|
|
|
0x63U, 0x65U, 0x29U, 0x20U, 0x3EU, 0x20U, 0x30U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 77 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -16423,7 +16610,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x20U, 0x30U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 77 ==== */
|
|
|
|
|
/* ==== WASM: 78 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -16559,7 +16746,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 78 ==== */
|
|
|
|
|
/* ==== WASM: 79 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -16732,7 +16919,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x54U, 0x5FU, 0x45U, 0x58U, 0x49U, 0x53U, 0x54U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 79 ==== */
|
|
|
|
|
/* ==== WASM: 80 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -16880,7 +17067,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x30U, 0x00U, 0x22U, 0x00U, 0x00U, 0x00U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 80 ==== */
|
|
|
|
|
/* ==== WASM: 81 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -16977,7 +17164,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x3DU, 0x20U, 0x30U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 81 ==== */
|
|
|
|
|
/* ==== WASM: 82 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -17036,7 +17223,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x4FU, 0x46U, 0x5FU, 0x42U, 0x4FU, 0x55U, 0x4EU, 0x44U, 0x53U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 82 ==== */
|
|
|
|
|
/* ==== WASM: 83 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -17095,7 +17282,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x4EU, 0x44U, 0x53U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 83 ==== */
|
|
|
|
|
/* ==== WASM: 84 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -18924,7 +19111,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x53U, 0x4DU, 0x41U, 0x4CU, 0x4CU, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 84 ==== */
|
|
|
|
|
/* ==== WASM: 85 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -20266,7 +20453,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x20U, 0x30U, 0x2CU, 0x20U, 0x30U, 0x29U, 0x29U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 85 ==== */
|
|
|
|
|
/* ==== WASM: 86 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -23199,7 +23386,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x4FU, 0x4FU, 0x5FU, 0x53U, 0x4DU, 0x41U, 0x4CU, 0x4CU, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 86 ==== */
|
|
|
|
|
/* ==== WASM: 87 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -25164,7 +25351,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x54U, 0x4FU, 0x4FU, 0x5FU, 0x53U, 0x4DU, 0x41U, 0x4CU, 0x4CU, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 87 ==== */
|
|
|
|
|
/* ==== WASM: 88 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -25449,7 +25636,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x29U, 0x20U, 0x3DU, 0x3DU, 0x20U, 0x30U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 88 ==== */
|
|
|
|
|
/* ==== WASM: 89 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g(uint32_t, uint32_t);
|
|
|
|
|
@@ -26036,7 +26223,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x4EU, 0x5FU, 0x46U, 0x41U, 0x49U, 0x4CU, 0x55U, 0x52U, 0x45U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 89 ==== */
|
|
|
|
|
/* ==== WASM: 90 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -26065,7 +26252,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x0BU,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 90 ==== */
|
|
|
|
|
/* ==== WASM: 91 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -26097,7 +26284,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x20U, 0x52U, 0x65U, 0x6AU, 0x65U, 0x63U, 0x74U, 0x65U, 0x64U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 91 ==== */
|
|
|
|
|
/* ==== WASM: 92 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
(module
|
|
|
|
|
(type (;0;) (func (param i32 i32 i64) (result i64)))
|
|
|
|
|
@@ -26124,7 +26311,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x41U, 0x00U, 0x41U, 0x00U, 0x42U, 0x00U, 0x10U, 0x00U, 0x0BU,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 92 ==== */
|
|
|
|
|
/* ==== WASM: 93 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
(module
|
|
|
|
|
(type (;0;) (func (param i32 i32) (result i32)))
|
|
|
|
|
@@ -26177,7 +26364,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x00U, 0x1AU, 0x0BU,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 93 ==== */
|
|
|
|
|
/* ==== WASM: 94 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -32820,7 +33007,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x39U, 0x30U, 0x31U, 0x32U, 0x33U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 94 ==== */
|
|
|
|
|
/* ==== WASM: 95 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
@@ -32866,7 +33053,7 @@ std::map<std::string, std::vector<uint8_t>> wasm = {
|
|
|
|
|
0x0BU, 0x06U, 0x76U, 0x61U, 0x6CU, 0x75U, 0x65U, 0x00U,
|
|
|
|
|
}},
|
|
|
|
|
|
|
|
|
|
/* ==== WASM: 95 ==== */
|
|
|
|
|
/* ==== WASM: 96 ==== */
|
|
|
|
|
{R"[test.hook](
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
extern int32_t _g (uint32_t id, uint32_t maxiter);
|
|
|
|
|
|