blob: da0d5e1a969ec45c263d810f6bb7c9b7c0c28fc4 [file] [log] [blame]
// Copyright Microsoft and CHERIoT Contributors.
// SPDX-License-Identifier: MIT
#include "hello.h"
#include <fail-simulator-on-error.h>
/// Thread entry point.
void __cheri_compartment("hello") entry()
{
char maliciousString[] = {'h', 'e', 'l', 'l', 'o'};
write(maliciousString);
write("Non-malicious string");
}