-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -981,6 +981,10 @@ | |
!, | ||
find(Method, Class), | ||
factVFTableWrite(Insn, Method, Offset, VFTable), | ||
% Verify that this vftable write is in method's this class | ||
possibleVFTableWrite(Insn, Method, ThisPtr, Offset, VFTable), | ||
funcParameter(Method, ecx, ThisPtr), | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
sei-eschwartz
Author
Collaborator
|
||
|
||
VFTableWrite=factVFTableWrite(Insn, Method, Offset, VFTable), | ||
|
||
% ejs 10/9/20: We found the destructor rule was applying to a method which we had not | ||
|
@@ -1078,6 +1082,9 @@ | |
% Free, _, Free: OK | ||
reasonVFTableBelongsToClass(VFTable, Offset, Class, Rule, VFTableWrite) :- | ||
factVFTableWrite(Insn, Method, Offset, VFTable), | ||
% Verify that this vftable write is in method's this class | ||
possibleVFTableWrite(Insn, Method, ThisPtr, Offset, VFTable), | ||
funcParameter(Method, ecx, ThisPtr), | ||
VFTableWrite=factVFTableWrite(Insn, Method, Offset, VFTable), | ||
find(Method, Class), | ||
|
||
|
This looks quite calling convention specific.