Skip to content

Compatibility Bug Fixes For Latest Infer Update#39

Merged
matjin merged 7 commits intoxinshi/consolidatebackendfrom
matjin/bug_fix
Mar 1, 2021
Merged

Compatibility Bug Fixes For Latest Infer Update#39
matjin merged 7 commits intoxinshi/consolidatebackendfrom
matjin/bug_fix

Conversation

@matjin
Copy link
Copy Markdown
Contributor

@matjin matjin commented Feb 23, 2021

In updating to the latest version of Infer, we were receiving an error Abduction_case_not_implemented as a result of a mistranslation of op_Inequality, an auto-generated method in the C# Record. The bytecode for op_Inequality ended simply with ceq->ret, which caused a return of a binop expression in the translation, which is invalid in SIL. To resolve this, we inline a store and subsequent load of the binop expression, which is in turn returned.

@matjin matjin changed the title Matjin/bug fix Latest Infer Update With Compatibility Bug Fixes Feb 23, 2021
@matjin matjin changed the title Latest Infer Update With Compatibility Bug Fixes Compatibility Bug Fixes For Latest Infer Update Feb 23, 2021
@matjin matjin changed the base branch from main to xinshi/consolidatebackend March 1, 2021 19:51
@matjin matjin merged commit 6bb74e9 into xinshi/consolidatebackend Mar 1, 2021
@matjin matjin deleted the matjin/bug_fix branch March 1, 2021 20:10
xinshiMSFT added a commit that referenced this pull request Mar 3, 2021
* Update dockerfile

* Remove result parser

* Remove our version of Infer

* Update instructions

* Remove result parser from dockerfile

* Updated C# model loading to use sqlite DB (#41)

* Compatibility Bug Fixes For Latest Infer Update (#39)

* bug fixes

* edits

* minor fix

* run code cleanup

* revert dockerfile and infer backend modifications

* undo reference param updates

* resource leak eport compaible with latest infer (#42)

* Update C# model build

* Update run steps

* Update readme

* Update Azure Pipelines

* Remove a build script

Co-authored-by: Anant Kharkar <71357868+ankharka@users.noreply.github.com>
Co-authored-by: Matthew Jin <38902361+matjin@users.noreply.github.com>
Co-authored-by: Xiaoyu Liu <lixiaoyu@microsoft.com>
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.

3 participants