aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/flow.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 17:25:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:06:12 -0700
commit2b0d23c4b4f896059829c21c9aaf2e6b899b05c3 (patch)
treeae38da97150ea9a402fbc07d549b7e1bb8bc185a /flow.h
parent7ee44c48fd749ddfc1231d711595d03593221250 (diff)
downloadsparse-2b0d23c4b4f896059829c21c9aaf2e6b899b05c3.tar.gz
Add warning for accessing outside of a symbol
This shows that we have some inlining bug where we seem to be corrupting the offsetting of an array. So right now the warnings we get in the kernel seem to be bogus, but this should help find that other bug too, and it doesn't trigger often enough to be too distracting.
Diffstat (limited to 'flow.h')
-rw-r--r--flow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flow.h b/flow.h
index cfa4dd54..9f2e165f 100644
--- a/flow.h
+++ b/flow.h
@@ -21,6 +21,7 @@ extern void kill_use(pseudo_t *);
extern void kill_instruction(struct instruction *);
extern void kill_unreachable_bbs(struct entrypoint *ep);
+void check_access(struct instruction *insn);
void convert_load_instruction(struct instruction *, pseudo_t);
void rewrite_load_instruction(struct instruction *, struct pseudo_list *);
int dominates(pseudo_t pseudo, struct instruction *insn, struct instruction *dom, int local);