{"id":{"repo_id":"cornell","oai_identifier":"oai:ecommons.cornell.edu:1813/116308"},"canonical_url":"https://search.ndltd.org/etd/cornell/oai:ecommons.cornell.edu:1813/116308","repository":{"repo_id":"cornell","name":"Cornell University","base_url":"https://ecommons.cornell.edu/server/oai/request"},"display":{"title":"CSMOP: A Runtime Verification Tool For C# Programs","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Marques Valdivia, Valeria"],"institution":"Cornell University","degree_name":"M.S., Computer Science","degree_level":"Master of Science","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":["Legunsen, Owolabi"],"committee_members":["Bhattacharjee, Tapomayukh"],"year":2024,"date_issued":"2024-08","date_published":"2024-08","updated_at":"2026-11-19T03:11:32Z","subjects":["Formal Methods","Runtime Verification","Software"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7298/w99n-ch59"],"render_values":[{"text":"https://doi.org/10.7298/w99n-ch59","href":"https://doi.org/10.7298/w99n-ch59","code":true}]},{"key":"dc:identifier.bibid","label":"Dc Identifier Bibid","values":["16611830"],"render_values":[{"text":"16611830","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["ProQuest Submission ID: 12141","ProQuest Publication ID: 31329785"],"render_values":[{"text":"ProQuest Submission ID: 12141","href":null,"code":true},{"text":"ProQuest Publication ID: 31329785","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1813/116308","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1813/116308","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://ecommons.cornell.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aecommons.cornell.edu%3A1813%2F116308","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.chair","label":"Chair","values":["Legunsen, Owolabi"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Bhattacharjee, Tapomayukh"]},{"key":"dc:creator","label":"Author","values":["Marques Valdivia, Valeria"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-01-14T19:39:45Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-01-14T19:39:45Z"]},{"key":"dc:date.issued","label":"Date","values":["2024-08"]},{"key":"dc:relation.uri","label":"Dc Relation URI","values":["https://newcatalog.library.cornell.edu/catalog/16611830"]},{"key":"dc:type","label":"Dc Type","values":["dissertation or thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master of Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["M.S., Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Cornell University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Formal Methods","Runtime Verification","Software"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.bibid","label":"Dc Identifier Bibid","values":["16611830"]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7298/w99n-ch59"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["ProQuest Submission ID: 12141","ProQuest Publication ID: 31329785"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1813/116308"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"b3e28e77-0e6e-459a-96ee-0395fefcc628\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>CSMOP: A Runtime Verification Tool For C# Programs</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2024-08</PublicationDate> <DOI>https://doi.org/10.7298/w99n-ch59</DOI> <Authors> <Author> <DisplayName>Marques Valdivia, Valeria</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <OrgUnit /> </Publisher> </Publishers> <Keyword>Formal Methods</Keyword> <Keyword>Runtime Verification</Keyword> <Keyword>Software</Keyword> <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.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"cris:virtual.author","label":"Cris Virtual Author","values":["Marques Valdivia, Valeria"]},{"key":"cris:virtualsource.collection","label":"Cris Virtualsource Collection","values":["5893a6ea-7af3-41d7-abc6-04bcd26ab5df"]},{"key":"dc:description","label":"Description","values":["40 pages"]},{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:description.collection","label":"Dc Description Collection","values":["Cornell Theses and Dissertations"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dcterms:license","label":"Dcterms License","values":["https://hdl.handle.net/1813/59810.2"]},{"key":"dc:title","label":"Title","values":["CSMOP: A Runtime Verification Tool For C# Programs"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"b3e28e77-0e6e-459a-96ee-0395fefcc628\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>CSMOP: A Runtime Verification Tool For C# Programs</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2024-08</PublicationDate> <DOI>https://doi.org/10.7298/w99n-ch59</DOI> <Authors> <Author> <DisplayName>Marques Valdivia, Valeria</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <OrgUnit /> </Publisher> </Publishers> <Keyword>Formal Methods</Keyword> <Keyword>Runtime Verification</Keyword> <Keyword>Software</Keyword> <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.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"cris:virtual.author":["Marques Valdivia, Valeria"],"cris:virtualsource.collection":["5893a6ea-7af3-41d7-abc6-04bcd26ab5df"],"dc:contributor.chair":["Legunsen, Owolabi"],"dc:contributor.committeemember":["Bhattacharjee, Tapomayukh"],"dc:creator":["Marques Valdivia, Valeria"],"dc:date.accessioned":["2025-01-14T19:39:45Z"],"dc:date.available":["2025-01-14T19:39:45Z"],"dc:date.issued":["2024-08"],"dc:description":["40 pages"],"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."],"dc:description.collection":["Cornell Theses and Dissertations"],"dc:format.mimetype":["application/pdf"],"dc:identifier.bibid":["16611830"],"dc:identifier.doi":["https://doi.org/10.7298/w99n-ch59"],"dc:identifier.other":["ProQuest Submission ID: 12141","ProQuest Publication ID: 31329785"],"dc:identifier.uri":["https://hdl.handle.net/1813/116308"],"dc:language.iso":["en"],"dc:relation.uri":["https://newcatalog.library.cornell.edu/catalog/16611830"],"dc:subject":["Formal Methods","Runtime Verification","Software"],"dcterms:license":["https://hdl.handle.net/1813/59810.2"],"dc:title":["CSMOP: A Runtime Verification Tool For C# Programs"],"dc:type":["dissertation or thesis"],"dspace:entity.type":["Publication"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Master of Science"],"thesis:degree_name":["M.S., Computer Science"],"thesis:institution_name":["Cornell University"]},"updated_at":"2026-11-19T03:11:32Z"}