|
From: Julian S. <js...@ac...> - 2009-01-07 15:27:49
|
> - Buffers allocated on the stack with alloca() which is something > that I don't have a good solution for. Hmm. I'd have thought that wouldn't be a problem. An access to an unlabelled section on the stack would be considered "I don't know what this is". Provided the same instruction continues to access in an unlabelled section (until the frame exits) there should be no error reported. An error is only reported for transitions from known to unknown (or back) and for known-to-different-known areas. (where "known" means "stack area associated with a known variable"). But maybe it's more complex. Any possibility of a simple test case? > - Constant strings, which obviously have no variable information > associated with them in the DWARF so trigger a warning. I would have thought these too to be harmless. Hum. J |