uint64_t heap_base, heap_limit, stack_base, stack_limit;
gatherHeapInfo(tc, false, heap_base, heap_limit, stack_base, stack_limit);
- std::array<uint32_t, 4> block = {
+ std::array<uint32_t, 4> block = {{
(uint32_t)heap_base, (uint32_t)heap_limit,
(uint32_t)stack_base, (uint32_t)stack_limit
- };
+ }};
portProxy(tc).write(block_addr, block, ArmISA::byteOrder(tc));
return retOK(0);
uint64_t heap_base, heap_limit, stack_base, stack_limit;
gatherHeapInfo(tc, true, heap_base, heap_limit, stack_base, stack_limit);
- std::array<uint64_t, 4> block = {
+ std::array<uint64_t, 4> block = {{
heap_base, heap_limit, stack_base, stack_limit
- };
+ }};
portProxy(tc).write(block_addr, block, ArmISA::byteOrder(tc));
return retOK(0);
char key[len];
memset(key, '\0', len);
- std::array<uint64_t, 2> key_regs = { key_str1, key_str2 };
+ std::array<uint64_t, 2> key_regs = {{ key_str1, key_str2 }};
key_regs = letoh(key_regs);
memcpy(key, key_regs.data(), sizeof(key_regs));