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-base-no-discriminator.json (326B)


      1# we reject unions without discriminator
      2{ 'struct': 'TestTypeA',
      3  'data': { 'string': 'str' } }
      4
      5{ 'struct': 'TestTypeB',
      6  'data': { 'integer': 'int' } }
      7
      8{ 'struct': 'Base',
      9  'data': { 'string': 'str' } }
     10
     11{ 'union': 'TestUnion',
     12  'base': 'Base',
     13  'data': { 'value1': 'TestTypeA',
     14            'value2': 'TestTypeB' } }