CodeGuard reports function calls that fail, as indicated by their return value.
In the following example, the close function is given an invalid file handle, which causes it to return a value indicating that it was unable to close a file.
Error 00009. 0x820000 (r) (Thread 0xFFF840F1): Function failure: close(0x80868086 [-2138668922])=0xFFFFFFFF [-1] | lang.cpp line 125: | // uninitialized data usage // | //--------------------------// |> close(m->handle); | | Call Tree: 0x00401236(=LANG.EXE:0x01:000236) lang.cpp#125 0x00407EED(=LANG.EXE:0x01:006EED)
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|