Library Name | libcfg+ |
---|---|
Version #1 | 0.5.1 |
Version #2 | 0.5.2 |
CPU Type | x86 |
GCC Version | 4.6.1 |
Total Header Files | 1 |
---|---|
Total Shared Libraries | 1 |
Total Symbols / Types | 24 / 40 |
Verdict | Incompatible (95.8%) |
Severity | Count | |
---|---|---|
Added Symbols | - | 2 |
Removed Symbols | High | 0 |
Problems with Data Types | High | 2 |
Medium | 18 | |
Low | 3 | |
Problems with Symbols | High | 6 |
Medium | 0 | |
Low | 2 | |
Problems with Constants | Low | 0 |
Other Changes in Data Types | - | 15 |
Change | Effect | |
---|---|---|
1 | Field argc has been removed from the middle position of this structural type. | 1) Previous accesses of applications to the removed field will be incorrect. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
2 | Field end_pos has been removed from the middle position of this structural type. | 1) Previous accesses of applications to the removed field will be incorrect. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
Change | Effect | |
---|---|---|
1 | Parameter begin_pos of type long has been added to the calling stack at the middle position. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
2 | Parameter size of type long has been added to the calling stack at the middle position. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
3 | 1st middle parameter argc has been removed from the calling stack. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
Change | Effect | |
---|---|---|
1 | Parameter begin_pos of type long has been added to the calling stack at the middle position. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
2 | Parameter size of type long has been added to the calling stack at the middle position. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
3 | 2nd middle parameter argc has been removed from the calling stack. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
Change | Effect | |
---|---|---|
1 | Value of member CFG_FILE_COMMENT_PREFIX has been changed from 8 to 9. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
2 | Value of member CFG_FILE_MULTI_LINE_POSTFIX has been changed from 9 to 10. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
3 | Value of member CFG_FILE_MULTI_VALS_SEPARATOR has been changed from 11 to 56. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
4 | Value of member CFG_FILE_OPTION_ARG_SEPARATOR has been changed from 10 to 11. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
5 | Value of member CFG_FILE_STOP_PREFIX has been changed from 7 to 8. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
6 | Value of member CFG_LINE_MULTI_VALS_SEPARATOR has been changed from 4 to 57. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
7 | Value of member CFG_N_PROPS has been changed from 12 to 16. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
8 | Value of member CFG_QUOTE_POSTFIX has been changed from 6 to 54. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
9 | Value of member CFG_QUOTE_PREFIX has been changed from 5 to 53. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
10 | Value of member CFG_VIRTUAL_SPECIAL_PROPERTY has been changed from 13 to 99. | Applications may execute a wrong branch of code in the library and therefore change the behavior. |
Change | Effect | |
---|---|---|
1 | Field parsing_started has been added at the middle position of this structural type. | 1) Size of the inclusive type has been changed. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
2 | Field size has been added at the middle position of this structural type. | 1) Size of the inclusive type has been changed. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
3 | Type of field prop has been changed from char**[12] (48 bytes) to char**[16] (64 bytes). | 1) Size of the inclusive type has changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
4 | The relative position of field error_code has been changed from 4 to 5. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
5 | The relative position of field prop has been changed from 5 to 6. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
6 | The relative position of field argv has been changed from 6 to 12. | Applications will access incorrect memory when attempting to access this field. |
7 | The relative position of field begin_pos has been changed from 12 to 3. | Applications will access incorrect memory when attempting to access this field. |
8 | The relative position of field used_opt_idx has been changed from 3 to 4. | Applications will access incorrect memory when attempting to access this field. |
Change | Effect | |
---|---|---|
1 | Size of this type has been changed from 112 bytes to 128 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
2 | Type of field cur_idx has been changed from int to long. | Replacement of the field data type may indicate a change in the semantic meaning of the field. |
3 | Type of field cur_idx_tmp has been changed from int to long. | Replacement of the field data type may indicate a change in the semantic meaning of the field. |
Change | Effect | |
---|---|---|
1 | 2nd parameter end_pos has been renamed to size. | Renaming of a parameter may indicate a change in its semantic meaning. |
Change | Effect | |
---|---|---|
1 | 3rd parameter end_pos has been renamed to size. | Renaming of a parameter may indicate a change in its semantic meaning. |
Change | Effect | |
---|---|---|
1 | The member CFG_FILE_LEFTOVER_MULTI_VALS_SEPARATOR with value 13 has been added. | No effect. |
2 | The member CFG_FILE_NORMAL_MULTI_VALS_SEPARATOR with value 12 has been added. | No effect. |
3 | The member CFG_FILE_QUOTE with value 52 has been added. | No effect. |
4 | The member CFG_FILE_QUOTE_POSTFIX with value 15 has been added. | No effect. |
5 | The member CFG_FILE_QUOTE_PREFIX with value 14 has been added. | No effect. |
6 | The member CFG_LEFTOVER_MULTI_VALS_SEPARATOR with value 59 has been added. | No effect. |
7 | The member CFG_LINE_LEFTOVER_MULTI_VALS_SEPARATOR with value 5 has been added. | No effect. |
8 | The member CFG_LINE_NORMAL_MULTI_VALS_SEPARATOR with value 4 has been added. | No effect. |
9 | The member CFG_LINE_QUOTE with value 51 has been added. | No effect. |
10 | The member CFG_LINE_QUOTE_POSTFIX with value 7 has been added. | No effect. |
11 | The member CFG_LINE_QUOTE_PREFIX with value 6 has been added. | No effect. |
12 | The member CFG_MULTI_VALS_SEPARATOR with value 55 has been added. | No effect. |
13 | The member CFG_NORMAL_MULTI_VALS_SEPARATOR with value 58 has been added. | No effect. |
14 | The member CFG_OPTION_ARG_SEPARATOR with value 60 has been added. | No effect. |
15 | The member CFG_QUOTE with value 50 has been added. | No effect. |