Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aishu-j
Copy link
Contributor

@aishu-j aishu-j commented Apr 8, 2025

dev_p3.0/pex has changes from major/P3.0 and master branch

This PR merges all the changes from inprogress/pex to dev_p3.0/pex

ankushdesai and others added 30 commits February 28, 2024 11:47
TODO: Implement basic new runtime interface to pass code compilation post generation
Removes using PMachineValue for now
Renames Machine/Monitor/Program to PMachine/PMonitor/PModel

Corrects PBool value
aman-goel and others added 16 commits September 9, 2024 10:47
0: ok, 2: bug, 3: bug (too_many_choices), 4: timeout, 5: memout, 6: error
* [PEx] Several updates to logging, PEx config

Changes default max choices limit to 20 per call and 250 per schedule (to account for open-source protocols with monolithic transition relation modeled as single action)

Adds logging support to print choose(.) location info for easy debugging TooManyChoicesException via replayer log

Minor correction

* [PEx] Refactoring and formatting changes

* [PEx] Update cli default

Change each task to 2K schedules by default
Make sure continuation with loop does not declare local var twice
* [PEx] Correct functions containing goto/raise

Changes PEx IR to support functions that contain non-tail ending goto/raise

Enables supporting needed function inlining in spec machines

Bumps PEx runtime revision to 0.3.0

* [PEx] Remove wrongly-added files

* [PEx IR] Correct function inlining for non-null returning functions

Add guard conditions to disable function body statement if already returned

Throw exception if inlining is unsupported
@ankushdesai ankushdesai requested review from aman-goel and Copilot April 8, 2025 18:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 133 out of 136 changed files in this pull request and generated 1 comment.

Files not reviewed (3)
  • Src/PRuntimes/PExRuntime/pom.xml: Language not supported
  • Src/PRuntimes/PExRuntime/scripts/build.sh: Language not supported
  • Src/PRuntimes/PExRuntime/src/main/java/META-INF/MANIFEST.MF: Language not supported

var localAccess = new VariableAccessExpr(SourceLocation, local);
var storeAccess = new VariableAccessExpr(SourceLocation, store);
var storeStmt = new AssignStmt(SourceLocation, storeAccess, localAccess);
storeForLocal.Add(local, store);
Copy link

Copilot AI Apr 8, 2025

Choose a reason for hiding this comment

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

The local variable 'storeStmt' is created but never used; consider either removing this assignment or employing the created statement in the continuation's logic.

Suggested change
storeForLocal.Add(local, store);
storeForLocal.Add(local, store);
statements.Add(storeStmt);

Copilot uses AI. Check for mistakes.
@aman-goel aman-goel self-requested a review April 9, 2025 23:48
@aishu-j aishu-j merged commit 65b4c33 into dev_p3.0/pex Apr 14, 2025
10 checks passed
@aishu-j aishu-j deleted the inprogress/pex branch April 14, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants