# we enforce that 'returns' be a dict or array of dict unless whitelisted { 'pragma': { 'returns-whitelist': [ 'human-monitor-command', 'query-tpm-models', 'guest-get-time' ] } } { 'command': 'human-monitor-command', 'data': {'command-line': 'str', '*cpu-index': 'int'}, 'returns': 'str' } { 'enum': 'TpmModel', 'data': [ 'tpm-tis' ] } { 'command': 'query-tpm-models', 'returns': ['TpmModel'] } { 'command': 'guest-get-time', 'returns': 'int' } { 'command': 'no-way-this-will-get-whitelisted', 'returns': [ 'int' ] }