cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

union-clash-member.json (486B)


      1# We check for no duplicate keys between branch members and base
      2# base's member 'name' clashes with Branch1's
      3{ 'enum': 'TestEnum',
      4  'data': [ 'value1', 'value2' ] }
      5{ 'struct': 'Base',
      6  'data': { 'enum1': 'TestEnum', '*name': 'str' } }
      7{ 'struct': 'Branch1',
      8  'data': { 'name': 'str' } }
      9{ 'struct': 'Branch2',
     10  'data': { 'value': 'int' } }
     11{ 'union': 'TestUnion',
     12  'base': 'Base',
     13  'discriminator': 'enum1',
     14  'data': { 'value1': 'Branch1',
     15            'value2': 'Branch2' } }