#include #include #include #include #include namespace realm { class Table; class LinkView; class Realm; namespace _impl { class RealmCoordinator; } } namespace fuzzer { struct RealmState { realm::Realm& realm; realm::_impl::RealmCoordinator& coordinator; realm::Table& table; realm::LinkViewRef lv; int64_t uid; std::vector modified; }; struct CommandFile { std::vector initial_values; std::vector initial_list_indices; std::vector> commands; CommandFile(std::istream& input); void import(RealmState& state); void run(RealmState& state); }; }