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-inline-invalid-dict.json (385B)


      1# union 'data' member with dict value is (longhand) branch
      2# definition, not inline complex type
      3{ 'enum': 'TestEnum',
      4  'data': [ 'value1', 'value2' ] }
      5{ 'struct': 'Base',
      6  'data': { 'enum1': 'TestEnum', 'kind': 'str' } }
      7{ 'union': 'TestUnion',
      8  'base': 'Base',
      9  'discriminator': 'enum1',
     10  'data': { 'value1': { 'string': 'str' },
     11            'value2': { 'integer': 'int' } } }