diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-04 17:25:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:06:12 -0700 |
commit | 2b0d23c4b4f896059829c21c9aaf2e6b899b05c3 (patch) | |
tree | ae38da97150ea9a402fbc07d549b7e1bb8bc185a /flow.h | |
parent | 7ee44c48fd749ddfc1231d711595d03593221250 (diff) | |
download | sparse-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |