Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two #memory rules overlap #158

Open
yzhang90 opened this issue Nov 8, 2018 · 0 comments
Open

two #memory rules overlap #158

yzhang90 opened this issue Nov 8, 2018 · 0 comments

Comments

@yzhang90
Copy link
Contributor

yzhang90 commented Nov 8, 2018

rule <k> #memory [ ret _ ] => . ... </k> <localCalls> .List </localCalls>
and
rule <k> #memory [ ret ARGS ] => #memoryDelta(0 -Int intSizes(REGS, NREGS) -Int Gcallmemory < SCHED >) ... </k> <schedule> SCHED </schedule> <fid> NAME </fid> <regs> REGS </regs><funcId> NAME </funcId><nregs> NREGS </nregs> overlaps.
The second rule needs to check localCalls is not empty.

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

No branches or pull requests

1 participant