Branch: refs/heads/bbiiggppiigg/add_logical_not
  Home:   https://github.com/dyninst/dyninst
  Commit: bdb393a17136c85eff274895dd66dd5ee6fa2688
      
https://github.com/dyninst/dyninst/commit/bdb393a17136c85eff274895dd66dd5ee6fa2688
  Author: wuxx1279 <[email protected]>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M dataflowAPI/h/SymEval.h
    M dataflowAPI/rose/semantics/BaseSemantics2.C
    M dataflowAPI/rose/semantics/BaseSemantics2.h
    M dataflowAPI/rose/semantics/SymEvalSemantics.C
    M dataflowAPI/rose/semantics/SymEvalSemantics.h
    M parseAPI/src/SymbolicExpression.C

  Log Message:
  -----------
  Add logicalNot operation to Rose for correctness

Previously rose use invertOp for logical Not.
As the Dyninst interpretation of Rose  didn't limit
the size of the input to single bit, invertting a non-zero
value can still result in an non-zero value, causing
incorrect result to be populated.

This PR adds a separate logicalNotOp that
returns 0 given non-zero value
returns 1 given 0


_______________________________________________
Dyninst-api mailing list
[email protected]
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to