Skip to content

Conversation

kroening
Copy link
Collaborator

This introduces a type for the result from an engine, as a replacement for int.

@kroening kroening force-pushed the property_checker_resultt branch 3 times, most recently from 90c7354 to c3e78b3 Compare August 30, 2024 16:28
@kroening kroening marked this pull request as ready for review August 30, 2024 16:30
@@ -12,6 +12,13 @@ Author: Daniel Kroening, dkr@amazon.com
#include "ebmc_properties.h"
#include "transition_system.h"

enum class property_checker_resultt
{
REPORT_RESULT,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am struggling to understand what this one is about? Or, rather, why is "SUCCESS" not a "result?"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not a verification result -- rename REPORT_RESULT -> REPORT_VERIFICATION_RESULT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or simply VERIFICATION_RESULT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERIFICATION_RESULT works for me.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@tautschnig
Copy link
Collaborator

Also, is there a case for re-using src/goto-checker/properties.h?

@kroening
Copy link
Collaborator Author

Also, is there a case for re-using src/goto-checker/properties.h?

It will move into this direction; but there simply aren't any goto programs.

This introduces a type for the result from an engine, as a replacement for
'int'.
@kroening kroening force-pushed the property_checker_resultt branch from c3e78b3 to 7a255f6 Compare August 30, 2024 17:25
@tautschnig tautschnig merged commit 4f83074 into main Aug 30, 2024
7 of 8 checks passed
@tautschnig tautschnig deleted the property_checker_resultt branch August 30, 2024 17:56
Romy15200 pushed a commit to Romy15200/nws that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants