Back to search

Cornell University

CSMOP: A Runtime Verification Tool For C# Programs

Abstract

dc:description.abstract

Runtime verification is a technique for evaluating the adherence of a program’s execution to a set of specifications. It is both more lightweight than other formal methods and more robust than unit testing, making it a promising candidate for industry use. There has been a considerable amount of research over the years on how to make runtime verification as efficient and useful as possible, but there is currently no developer-centric tool to help perform runtime verification on C# programs. In this thesis, we present CSMOP, a tool which addresses this need, targeting .NET 8 systems. CSMOP uses instrumentation to find relevant events as they occur at runtime, and takes a monitor-oriented approach to verifying the given sequence of events. Through JSON files, it accepts specifications written in one of three logical formalisms: finite state machine, linear temporal logic, and extended regular expressions. Upon program termination, CSMOP reports all violations of the specifications which occurred, along with the location where the violation happened. It uses modern algorithms in its monitors, monitor management, and paramatrization. It scales efficiently in terms of the number of encountered events and parameters. CSMOP includes a default set of specifications for the C# standard library, but can be easily extended for custom specifications.

Degree

thesis:*
Name thesis:degree_name
M.S., Computer Science
Level thesis:degree_level
Master of Science
Discipline thesis:degree_discipline
Computer Science
Grantor
Cornell University
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Marques Valdivia, Valeria
Chair dc:contributor.chair
  • Legunsen, Owolabi
Committee member dc:contributor.committeemember
  • Bhattacharjee, Tapomayukh

Subjects

dc:subject × 3

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Bibid
16611830
Dc Identifier Other
ProQuest Submission ID: 12141
ProQuest Publication ID: 31329785

Chain of custody

source
Harvested from
Cornell University
Base URL
ecommons.cornell.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Marques Valdivia, Valeria. CSMOP: A Runtime Verification Tool For C# Programs. Master of Science thesis, Cornell University, 2024. https://hdl.handle.net/1813/116308