Contributions
Re: Can AQTime detect buffer overrun in C/C++ code?
Hi Alex, I consulted AQTime support as you suggested. Thecomeuppance seems to be (quoting from one of the emails I received) "AQtime can detect buffer overruns' negative side effects, i.e. stack corruptions, not the overruns themselves.". I have intepreted this as meaning: if anoverrun only goes into an adjacent char array then it wont be detected; if it corrupts the stack AQTime can be used to investigate the overrun. Regards,Matthew9 years agoPlace AQtime QuestionsAQtime Questions5KViews1like1CommentRe: Can AQTime detect buffer overrun in C/C++ code?
Hi Alex, Thank you for your suggestion whichI testedusing code similar to: char sz1[10]; char sz2[10]; sprintf(sz2, "12345678901234"); Unfortunately AQTime didn't detectthe overrun.I think the reason can be found in the description of how AQTime implements the "Check Memory Bounds" option:http://support.smartbear.com/viewarticle/43359/ This says:"AQtime does not track allocations done on the stack, therefore you cannot track violations in the stack memory blocks." It seems AQTime doesn't support what I am looking for. Thanks, Matthew9 years agoPlace AQtime QuestionsAQtime Questions5.1KViews0likes3CommentsLine by line code coverage report from AQTime
Can I save acode coverage report that clearly shows each line of code and if that line was hit by tests done? Something similar to the contents of the Editor pane in the attached image would be good. Many thanks, Matthew11 years agoPlace AQtime QuestionsAQtime Questions6.6KViews0likes0Comments