[PATCH 0/2] fix testing if a OP_CALL's function is pure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kill_instruction() will only kill an OP_CALL corresponding to
a pure function but this can't be testing if the call is not
done directly via the function's symbols.

These 2 patches fix this by using the function's type always
available in the instruction itself.


Luc Van Oostenryck (2):
  add helper first_symbol()
  fix testing if a OP_CALL's function is pure

 lib.h      | 5 +++++
 simplify.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)


base-commit: 8f7e21cadc21f49819d003e560d4607d720c647f
-- 
2.29.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux