Skip to content

Conversation

@nj00001
Copy link
Contributor

@nj00001 nj00001 commented Apr 3, 2023

This commit fixes a sloppy function call that should normally check the number of insn's Operand before calling insn's getOperand method. The fix is that if it is 0 it should continue the loop. I solved problem #1688 (comment) using this modification

This commit fixes a sloppy function call that should normally check the number of insn's Operand before calling insn's getOperand method. The fix is that if it is 0 it should continue the loop.
I solved problem #1688 (comment) using this modification
@vanhauser-thc
Copy link
Member

I have never seen that this occurs, but apparently you have and it makes sense to have this check. thank you!

@nj00001
Copy link
Contributor Author

nj00001 commented Apr 3, 2023

I have never seen that this occurs, but apparently you have and it makes sense to have this check. thank you!

Yes, it's strange, I also use lto mode a lot, but it's the first time I've encountered this, I've also tried it on other ubuntu servers, but they all have this problem, so I think it might be caused by some optimization code used by the php target

@vanhauser-thc vanhauser-thc merged commit 5fea071 into AFLplusplus:dev Apr 3, 2023
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.

2 participants