File tree Expand file tree Collapse file tree 5 files changed +15
-0
lines changed
cpp/ql/src/semmle/code/cpp/ir/implementation
csharp/ql/src/experimental/ir/implementation Expand file tree Collapse file tree 5 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -593,6 +593,7 @@ class InitializeParameterInstruction extends VariableInstruction {
593593 * Holds if this instruction initializes the parameter with index `index`, or
594594 * if `index` is `-1` and this instruction initializes `this`.
595595 */
596+ pragma [ noinline]
596597 final predicate hasIndex ( int index ) {
597598 index >= 0 and index = this .getParameter ( ) .getIndex ( )
598599 or
@@ -617,6 +618,7 @@ class InitializeIndirectionInstruction extends VariableInstruction {
617618 * index `index`, or if `index` is `-1` and this instruction initializes the memory
618619 * pointed to by `this`.
619620 */
621+ pragma [ noinline]
620622 final predicate hasIndex ( int index ) {
621623 index >= 0 and index = this .getParameter ( ) .getIndex ( )
622624 or
@@ -801,6 +803,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
801803 * Holds if this instruction is the return indirection for the parameter with index `index`, or
802804 * if this instruction is the return indirection for `this` and `index` is `-1`.
803805 */
806+ pragma [ noinline]
804807 final predicate hasIndex ( int index ) {
805808 index >= 0 and index = this .getParameter ( ) .getIndex ( )
806809 or
Original file line number Diff line number Diff line change @@ -593,6 +593,7 @@ class InitializeParameterInstruction extends VariableInstruction {
593593 * Holds if this instruction initializes the parameter with index `index`, or
594594 * if `index` is `-1` and this instruction initializes `this`.
595595 */
596+ pragma [ noinline]
596597 final predicate hasIndex ( int index ) {
597598 index >= 0 and index = this .getParameter ( ) .getIndex ( )
598599 or
@@ -617,6 +618,7 @@ class InitializeIndirectionInstruction extends VariableInstruction {
617618 * index `index`, or if `index` is `-1` and this instruction initializes the memory
618619 * pointed to by `this`.
619620 */
621+ pragma [ noinline]
620622 final predicate hasIndex ( int index ) {
621623 index >= 0 and index = this .getParameter ( ) .getIndex ( )
622624 or
@@ -801,6 +803,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
801803 * Holds if this instruction is the return indirection for the parameter with index `index`, or
802804 * if this instruction is the return indirection for `this` and `index` is `-1`.
803805 */
806+ pragma [ noinline]
804807 final predicate hasIndex ( int index ) {
805808 index >= 0 and index = this .getParameter ( ) .getIndex ( )
806809 or
Original file line number Diff line number Diff line change @@ -593,6 +593,7 @@ class InitializeParameterInstruction extends VariableInstruction {
593593 * Holds if this instruction initializes the parameter with index `index`, or
594594 * if `index` is `-1` and this instruction initializes `this`.
595595 */
596+ pragma [ noinline]
596597 final predicate hasIndex ( int index ) {
597598 index >= 0 and index = this .getParameter ( ) .getIndex ( )
598599 or
@@ -617,6 +618,7 @@ class InitializeIndirectionInstruction extends VariableInstruction {
617618 * index `index`, or if `index` is `-1` and this instruction initializes the memory
618619 * pointed to by `this`.
619620 */
621+ pragma [ noinline]
620622 final predicate hasIndex ( int index ) {
621623 index >= 0 and index = this .getParameter ( ) .getIndex ( )
622624 or
@@ -801,6 +803,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
801803 * Holds if this instruction is the return indirection for the parameter with index `index`, or
802804 * if this instruction is the return indirection for `this` and `index` is `-1`.
803805 */
806+ pragma [ noinline]
804807 final predicate hasIndex ( int index ) {
805808 index >= 0 and index = this .getParameter ( ) .getIndex ( )
806809 or
Original file line number Diff line number Diff line change @@ -593,6 +593,7 @@ class InitializeParameterInstruction extends VariableInstruction {
593593 * Holds if this instruction initializes the parameter with index `index`, or
594594 * if `index` is `-1` and this instruction initializes `this`.
595595 */
596+ pragma [ noinline]
596597 final predicate hasIndex ( int index ) {
597598 index >= 0 and index = this .getParameter ( ) .getIndex ( )
598599 or
@@ -617,6 +618,7 @@ class InitializeIndirectionInstruction extends VariableInstruction {
617618 * index `index`, or if `index` is `-1` and this instruction initializes the memory
618619 * pointed to by `this`.
619620 */
621+ pragma [ noinline]
620622 final predicate hasIndex ( int index ) {
621623 index >= 0 and index = this .getParameter ( ) .getIndex ( )
622624 or
@@ -801,6 +803,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
801803 * Holds if this instruction is the return indirection for the parameter with index `index`, or
802804 * if this instruction is the return indirection for `this` and `index` is `-1`.
803805 */
806+ pragma [ noinline]
804807 final predicate hasIndex ( int index ) {
805808 index >= 0 and index = this .getParameter ( ) .getIndex ( )
806809 or
Original file line number Diff line number Diff line change @@ -593,6 +593,7 @@ class InitializeParameterInstruction extends VariableInstruction {
593593 * Holds if this instruction initializes the parameter with index `index`, or
594594 * if `index` is `-1` and this instruction initializes `this`.
595595 */
596+ pragma [ noinline]
596597 final predicate hasIndex ( int index ) {
597598 index >= 0 and index = this .getParameter ( ) .getIndex ( )
598599 or
@@ -617,6 +618,7 @@ class InitializeIndirectionInstruction extends VariableInstruction {
617618 * index `index`, or if `index` is `-1` and this instruction initializes the memory
618619 * pointed to by `this`.
619620 */
621+ pragma [ noinline]
620622 final predicate hasIndex ( int index ) {
621623 index >= 0 and index = this .getParameter ( ) .getIndex ( )
622624 or
@@ -801,6 +803,7 @@ class ReturnIndirectionInstruction extends VariableInstruction {
801803 * Holds if this instruction is the return indirection for the parameter with index `index`, or
802804 * if this instruction is the return indirection for `this` and `index` is `-1`.
803805 */
806+ pragma [ noinline]
804807 final predicate hasIndex ( int index ) {
805808 index >= 0 and index = this .getParameter ( ) .getIndex ( )
806809 or
You can’t perform that action at this time.
0 commit comments