Difference between revisions of "STRIDE 4.2.01x"

From STRIDE Wiki
Jump to: navigation, search
(Runtime)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page documents the changes in STRIDE version 4.2.01x (code name ''Hole In The Fence'').  
+
This page documents the changes in STRIDE version 4.2.01x (code name ''Hole In The Fence''), released on May 18, 2010.  
  
 
Please review this information before upgrading from an earlier version.  
 
Please review this information before upgrading from an earlier version.  
Line 10: Line 10:
  
  
= What's New  =
+
== What's New  ==
  
 
Based on customer feedback, in this release we have many key usability improvements and bug fixes.  
 
Based on customer feedback, in this release we have many key usability improvements and bug fixes.  
  
== Usability Improvements ==
 
 
=== Tests in Script ===
 
=== Tests in Script ===
 
The [[Test Modules Overview|STRIDE scripting solution]] has been optimized and ported to Linux.
 
The [[Test Modules Overview|STRIDE scripting solution]] has been optimized and ported to Linux.
  
 
=== Expectation Testing ===
 
=== Expectation Testing ===
Expectation Testing in [[Test_Modules_Overview|Script]] and [[Expectation_Tests_in_C/C%2B%2B|C/C++]] has been enhanced to support non-strict validation.  
+
Expectation Testing in [[Test_Modules_Overview|Script]] and [[Expectation_Tests_in_C/C%2B%2B|C/C++]] has been enhanced to support non-strict validation.
  
= Change Details  =
+
== Change Details  ==
  
== Fixes ==
+
=== Fixes ===
 
''This section describes defects which have been corrected in STRIDE and the customer tracking number associated with them, if any, in brackets [].''  
 
''This section describes defects which have been corrected in STRIDE and the customer tracking number associated with them, if any, in brackets [].''  
  
 +
* Waiting with timeout on [[Expectation Tests in C/C++|unordered Test Point expectation]] always results in a failure.
 
* [[Runtime_Reference|STRIDE Runtime]] source may fail to compile in environment where "long long" and "long" are the same type
 
* [[Runtime_Reference|STRIDE Runtime]] source may fail to compile in environment where "long long" and "long" are the same type
 
* [[Linux SDK]] may fail to compile in environment that has no support for SYS V semaphores.
 
* [[Linux SDK]] may fail to compile in environment that has no support for SYS V semaphores.
Line 31: Line 31:
 
* [[STRIDE Runner]] on Linux fails to trace with timeout.
 
* [[STRIDE Runner]] on Linux fails to trace with timeout.
 
* Running a [[Perl_Script_APIs#STRIDE::Test|STRIDE::Test]] module may result in resource leaks on the target.
 
* Running a [[Perl_Script_APIs#STRIDE::Test|STRIDE::Test]] module may result in resource leaks on the target.
* Running test units via [[AutoScript|ascript]] may not behave as expected.
+
* Running test units in [[STRIDE Studio]] via [[AutoScript|ascript]] may not behave as expected.
  
== Tests in Scripts ==
+
=== Tests in Scripts ===
 
* [[Perl_Script_APIs#STRIDE::Test|STRIDE::Test]] module <tt>TestPointSetup</tt> method has been updated to support non-strict processing and to handle startup scenarious.
 
* [[Perl_Script_APIs#STRIDE::Test|STRIDE::Test]] module <tt>TestPointSetup</tt> method has been updated to support non-strict processing and to handle startup scenarious.
  
== Tests in C/C++ ==
+
=== Tests in C/C++ ===
 
* [[Expectation_Tests_in_C/C%2B%2B|Expectation Tests]] setup API, <tt>srTestPointSetup</tt>,  API has been updated to support non-strict processing and to handle startup scenarious.
 
* [[Expectation_Tests_in_C/C%2B%2B|Expectation Tests]] setup API, <tt>srTestPointSetup</tt>,  API has been updated to support non-strict processing and to handle startup scenarious.
  
== Samples ==
+
=== Samples ===
 
* All samples were update.  
 
* All samples were update.  
  
== Runtime ==
+
=== Runtime ===
 
* STRIDE Host Release '''4.2.01x''' is compatible with the Runtime Version '''4.2.01'''
 
* STRIDE Host Release '''4.2.01x''' is compatible with the Runtime Version '''4.2.01'''
 
* ''Most of the Runtime files have been modified. It is recomended that you update them all.''
 
* ''Most of the Runtime files have been modified. It is recomended that you update them all.''
* The signature of the [[Platform_Abstraction_Layer#PAL_Operating_System_Services|PAL OS Service]] Timer creation (palTimerCreate) has changed. The second argument is now a <tt>void</tt> pointer.  
+
* The names of the [[Platform_Abstraction_Layer#PAL_Operating_System_Services|PAL OS]] Timer services has been renamed (from ''palTimerXX'' to ''palXXTimer''). The signature of the timer creation API has been changed.  
 
* ''All [[Linux SDK]] files have been modified.''
 
* ''All [[Linux SDK]] files have been modified.''
 
* ''All [[Windows SDK]] files have been modified.''
 
* ''All [[Windows SDK]] files have been modified.''
 +
 +
== Minor and Patch releases ==
 +
 +
=== 4.2.01a ===
 +
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
 +
* Default SUID table size in the [[Runtime_Reference#Runtime_Configuration|STRIDE Runtime configuration]] for non-complex targets is too small
 +
* Subsequent wait on [[Test Point|Test Points]] may improperly fail and cause a hang
 +
* [[Test Point]]/[[Test Log]] timestamp calculation overflow
 +
 +
''The following Runtime files have been modified:''
 +
srcfg.h
 +
srtest.c
 +
srtestutil.c
 +
 +
=== 4.2.01b ===
 +
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
 +
* Default STID table size in the [[Runtime_Reference#Runtime_Configuration|STRIDE Runtime configuration]] for complex targets is too small
 +
* Compilation of [[Windows SDK]] generates warnings about usage of "unsafe" CRT APIs
 +
* Incorrect error annotation from built-in predicates in [[Perl_Script_APIs#Predicates|STRIDE::Test]] module
 +
* In [[Perl_Script_APIs#STRIDE::TestPoint|STRIDE::Test]] module Test Point Wait/Check methods returns no status
 +
* In [[Perl_Script_APIs#Methods|STRIDE::Test]] module expectation with TEST_POINT_ANY_COUNT is improperly handled
 +
* [[Intercept Module]] generated code has a missing CALLBACK qualifier in function pointer parameters
 +
* Crash in [[s2sbind]] while saving to a read-only output sidb file
 +
 +
''The following Runtime files have been modified:''
 +
sr.h
 +
srapi.c
 +
srapirgl.h
 +
srapirgl.c
 +
srcfg.h
 +
srdiag.c
 +
srstid.c
 +
srtest.c
 +
srtestpp.cpp
 +
srutil.h
 +
srutil.c
 +
 +
''The following [[Windows SDK]] files have been modified:''
 +
palcfg.h
 +
palIO.c
 +
palOS.c
 +
stride.c
 +
 +
=== 4.2.01c ===
 +
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
 +
* Duplicated [[Test Macros]] message in the generated report (''bug introduced in the "b" patch'')
 +
* Incorrect calculation of struct field offsets in the Linux version of [[s2scompile]]
 +
* Missing spaces in string data passed as arguments to remote functions or test units
 +
* Failed to compile off-target [[Windows SDK]] using MSVC 10
 +
 +
''The following Runtime files have been modified:''
 +
srtest.c
 +
 +
=== 4.2.01d ===
 +
''Defects corrected and the customer tracking number associated with them, if any, in brackets []:''
 +
* Fail to compile [[Test Macros]] when “STRIDE_ENABLED” is not set
 +
* [248288] uninitialized data access in srmsgrt.c
 +
* Unable to run [[Build Tools]] on 64 bit Linux with no 32 bit support
 +
 +
''The following Runtime files have been modified:''
 +
srmsgque.h
 +
srmsgrt.c
 +
srtest.h
  
 
[[Category:Release Notes]]
 
[[Category:Release Notes]]

Latest revision as of 18:20, 16 June 2011

This page documents the changes in STRIDE version 4.2.01x (code name Hole In The Fence), released on May 18, 2010.

Please review this information before upgrading from an earlier version.

Note that if you are upgrading from a previous installation you must uninstall your existing STRIDE before installing version 4.2.01x.


What's New

Based on customer feedback, in this release we have many key usability improvements and bug fixes.

Tests in Script

The STRIDE scripting solution has been optimized and ported to Linux.

Expectation Testing

Expectation Testing in Script and C/C++ has been enhanced to support non-strict validation.

Change Details

Fixes

This section describes defects which have been corrected in STRIDE and the customer tracking number associated with them, if any, in brackets [].

Tests in Scripts

  • STRIDE::Test module TestPointSetup method has been updated to support non-strict processing and to handle startup scenarious.

Tests in C/C++

  • Expectation Tests setup API, srTestPointSetup, API has been updated to support non-strict processing and to handle startup scenarious.

Samples

  • All samples were update.

Runtime

  • STRIDE Host Release 4.2.01x is compatible with the Runtime Version 4.2.01
  • Most of the Runtime files have been modified. It is recomended that you update them all.
  • The names of the PAL OS Timer services has been renamed (from palTimerXX to palXXTimer). The signature of the timer creation API has been changed.
  • All Linux SDK files have been modified.
  • All Windows SDK files have been modified.

Minor and Patch releases

4.2.01a

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

The following Runtime files have been modified:

srcfg.h
srtest.c
srtestutil.c

4.2.01b

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

  • Default STID table size in the STRIDE Runtime configuration for complex targets is too small
  • Compilation of Windows SDK generates warnings about usage of "unsafe" CRT APIs
  • Incorrect error annotation from built-in predicates in STRIDE::Test module
  • In STRIDE::Test module Test Point Wait/Check methods returns no status
  • In STRIDE::Test module expectation with TEST_POINT_ANY_COUNT is improperly handled
  • Intercept Module generated code has a missing CALLBACK qualifier in function pointer parameters
  • Crash in s2sbind while saving to a read-only output sidb file

The following Runtime files have been modified:

sr.h
srapi.c
srapirgl.h
srapirgl.c
srcfg.h
srdiag.c
srstid.c
srtest.c
srtestpp.cpp
srutil.h
srutil.c

The following Windows SDK files have been modified:

palcfg.h
palIO.c
palOS.c
stride.c

4.2.01c

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

  • Duplicated Test Macros message in the generated report (bug introduced in the "b" patch)
  • Incorrect calculation of struct field offsets in the Linux version of s2scompile
  • Missing spaces in string data passed as arguments to remote functions or test units
  • Failed to compile off-target Windows SDK using MSVC 10

The following Runtime files have been modified:

srtest.c

4.2.01d

Defects corrected and the customer tracking number associated with them, if any, in brackets []:

  • Fail to compile Test Macros when “STRIDE_ENABLED” is not set
  • [248288] uninitialized data access in srmsgrt.c
  • Unable to run Build Tools on 64 bit Linux with no 32 bit support

The following Runtime files have been modified:

srmsgque.h
srmsgrt.c
srtest.h