<s>
BoundsChecker	B-General_Concept
is	O
a	O
memory	B-General_Concept
checking	I-General_Concept
and	O
API	O
call	O
validation	O
tool	O
used	O
for	O
C++	B-Language
software	O
development	O
with	O
Microsoft	B-Application
Visual	I-Application
C++	I-Application
.	O
</s>
<s>
When	O
NuMega	O
was	O
purchased	O
by	O
Compuware	O
in	O
1997	O
,	O
BoundsChecker	B-General_Concept
became	O
part	O
of	O
a	O
larger	O
tool	O
suite	O
,	O
DevPartner	B-Application
Studio	I-Application
.	O
</s>
<s>
Comparable	O
tools	O
include	O
Purify	B-General_Concept
,	O
Insure++	B-General_Concept
and	O
Valgrind	B-Application
.	O
</s>
<s>
BoundsChecker	B-General_Concept
may	O
be	O
run	O
in	O
two	O
distinct	O
modes	O
:	O
ActiveCheck	O
,	O
which	O
will	O
work	O
against	O
any	O
application	O
as	O
is	O
,	O
or	O
FinalCheck	O
,	O
which	O
makes	O
use	O
of	O
instrumentation	B-Application
added	O
to	O
the	O
application	O
when	O
it	O
is	O
built	O
.	O
</s>
<s>
ActiveCheck	O
performs	O
a	O
less	O
intrusive	O
analysis	O
and	O
monitors	O
all	O
calls	B-Operating_System
by	O
the	O
application	O
to	O
the	O
C	O
Runtime	B-Library
Library	I-Library
,	O
Windows	B-Library
API	I-Library
and	O
calls	B-Operating_System
to	O
COM	B-Application
objects	I-Application
.	O
</s>
<s>
By	O
monitoring	O
memory	B-General_Concept
allocations	I-General_Concept
and	I-General_Concept
releases	I-General_Concept
,	O
it	O
can	O
detect	O
memory	B-Error_Name
leaks	I-Error_Name
and	O
overruns	O
.	O
</s>
<s>
Monitoring	O
API	O
and	O
COM	O
calls	B-Operating_System
enables	O
ActiveCheck	O
to	O
check	O
parameters	O
,	O
returns	O
and	O
exceptions	O
and	O
report	O
exceptions	O
when	O
they	O
occur	O
.	O
</s>
<s>
Thread	B-Operating_System
deadlocks	B-Operating_System
can	O
also	O
be	O
detected	O
by	O
monitoring	O
of	O
the	O
synchronization	O
objects	O
and	O
calls	B-Operating_System
giving	O
actual	O
and	O
potential	O
deadlock	B-Operating_System
detection	O
.	O
</s>
<s>
It	O
provides	O
all	O
of	O
the	O
detection	O
features	O
of	O
ActiveCheck	O
plus	O
the	O
ability	O
to	O
detect	O
buffer	B-General_Concept
overflows	I-General_Concept
(	O
read	O
and	O
write	O
)	O
and	O
uninitialized	B-General_Concept
memory	I-General_Concept
accesses	I-General_Concept
.	O
</s>
<s>
Memory	O
tracking	O
-	O
Memory	B-General_Concept
allocation	I-General_Concept
and	O
release	O
is	O
tracked	O
over	O
the	O
life	O
of	O
the	O
application	O
,	O
and	O
an	O
end-of-session	O
report	O
is	O
generated	O
showing	O
which	O
blocks	O
of	O
memory	O
allocated	O
by	O
user	O
code	O
remain	O
allocated	O
at	O
the	O
time	O
of	O
a	O
normal	O
process	O
termination	O
.	O
</s>
<s>
When	O
compiler	O
instrumentation	B-Application
is	O
used	O
,	O
some	O
memory	B-Error_Name
leaks	I-Error_Name
can	O
be	O
announced	O
earlier	O
,	O
when	O
the	O
last	O
pointer	O
referring	O
to	O
an	O
allocated	O
block	O
memory	O
goes	O
out	O
of	O
scope	O
or	O
gets	O
overwritten	O
by	O
another	O
value	O
.	O
</s>
<s>
COM	B-Application
object	I-Application
tracking	O
-	O
COM	B-Application
object	I-Application
creation	O
and	O
destruction	O
is	O
tracked	O
over	O
the	O
life	O
of	O
the	O
application	O
,	O
and	O
an	O
end-of-session	O
report	O
is	O
generated	O
showing	O
which	O
objects	O
remain	O
active	O
at	O
the	O
time	O
of	O
a	O
normal	O
process	O
termination	O
.	O
</s>
<s>
API	O
calls	B-Operating_System
are	O
monitored	O
,	O
their	O
input	O
parameters	O
verified	O
before	O
the	O
function	O
calls	B-Operating_System
are	O
actually	O
performed	O
,	O
warning	O
of	O
possible	O
problems	O
.	O
</s>
<s>
Such	O
validation	O
is	O
limited	O
to	O
such	O
APIs	O
as	O
are	O
known	O
to	O
BoundsChecker	B-General_Concept
,	O
currently	O
several	O
thousand	O
in	O
number	O
.	O
</s>
<s>
When	O
both	O
memory	O
tracking	O
and	O
API	O
validation	O
are	O
enabled	O
,	O
it	O
becomes	O
possible	O
to	O
detect	O
many	O
kinds	O
of	O
array	O
and	O
buffer	B-General_Concept
overrun	I-General_Concept
conditions	O
.	O
</s>
<s>
Compiler	O
instrumentation	B-Application
enhances	O
this	O
ability	O
.	O
</s>
<s>
API	O
,	O
COM	O
method	O
and	O
.NET	O
Interop	O
function	O
calls	B-Operating_System
can	O
be	O
logged	O
in	O
detail	O
,	O
noting	O
the	O
call	O
parameter	O
values	O
and	O
the	O
resulting	O
return	O
values	O
.	O
</s>
<s>
Certain	O
kinds	O
of	O
deadly	B-Operating_System
embraces	I-Operating_System
and	O
other	O
such	O
lockups	O
can	O
be	O
detected	O
.	O
</s>
<s>
The	O
current	O
version	O
(	O
12.1.40	O
)	O
of	O
BoundsChecker	B-General_Concept
supports	O
32-bit	O
and	O
64-bit	O
native	O
applications	O
on	O
Windows	O
10	O
(	O
2020	O
Spring	O
Update	O
)	O
.	O
</s>
<s>
MS-DOS	O
,	O
16-bit	B-Library
Windows	I-Library
,	O
Windows	O
2000	O
,	O
Windows	O
XP	O
and	O
Windows	O
7	O
environments	O
are	O
no	O
longer	O
supported	O
.	O
</s>
<s>
As	O
of	O
March	O
2021	O
,	O
the	O
Deadlock	B-Operating_System
Analysis	O
feature	O
is	O
not	O
yet	O
supported	O
in	O
X64	O
applications	O
.	O
</s>
<s>
This	O
is	O
particularly	O
true	O
when	O
using	O
compiler	O
instrumentation	B-Application
.	O
</s>
<s>
It	O
is	O
perfectly	O
normal	O
to	O
have	O
certain	O
API	O
calls	B-Operating_System
fail	O
.	O
</s>
<s>
12.0	O
-	O
Mar	O
2020	O
-	O
New	O
version	O
built	O
for	O
latest	O
Visual	O
C/C	O
++	O
runtime	O
from	O
Microsoft	O
.	O
</s>
<s>
11.5.1	O
-	O
Sep	O
2020	O
-	O
Now	O
uses	O
the	O
WiX	O
Toolset	B-Application
installer	O
.	O
</s>
