libwsutil: 4.1.0 to 6.0.0 compatibility report
Description: Compatibility report for the libwsutil library between 4.1.0 and 6.0.0 versions
Keywords: libwsutil, compatibility, API, report

# API compatibility report for the libwsutil library between 4.1.0 and 6.0.0 versions on x86_64

Binary
Compatibility Source
Compatibility

## Test Info

Library Name | libwsutil
Version #1 | 4.1.0
Version #2 | 6.0.0
CPU Type | x86_64
GCC Version | 4.8
Subject | Binary Compatibility

## Test Results

Total Header Files | 48
Total Shared Libraries | 1
Total Symbols / Types | 152 / 97
Verdict | Incompatible (6.6%)

## Problem Summary

| Severity | Count
--- | --- | ---
Added Symbols | - | 31
Removed Symbols | High | 10
Problems with Data Types | High | 0
Medium | 0
Low | 0
Problems with Symbols | High | 0
Medium | 0
Low | 2
Problems with Constants | Low | 1
Other Changes in Data Types | - | 2

## Added Symbols (31)

buffer.h, libwsutil.so.6.0.0
ws_buffer_append ( Buffer* buffer, guint8* from, gsize bytes )
ws_buffer_assure_space ( Buffer* buffer, gsize space )
ws_buffer_free ( Buffer* buffer )
ws_buffer_init ( Buffer* buffer, gsize space )
ws_buffer_remove_start ( Buffer* buffer, gsize bytes )
clopts_common.h, libwsutil.so.6.0.0
get_natural_int ( char const* string, char const* name )
get_positive_int ( char const* string, char const* name )
cmdarg_err.h, libwsutil.so.6.0.0
cmdarg_err ( char const* fmt, ... )
cmdarg_err_cont ( char const* fmt, ... )
cmdarg_err_init ( void(*err)(char const*, struct __va_list_tag*), void(*err_cont)(char const*, struct __va_list_tag*) )
copyright_info.h, libwsutil.so.6.0.0
get_copyright_info ( )
crc16.h, libwsutil.so.6.0.0
crc16_0x3D65_seed ( guint8 const* buf, guint len, guint16 seed )
crc16_x25_ccitt_seed ( guint8 const* buf, guint len, guint16 seed )
filesystem.h, libwsutil.so.6.0.0
get_extcap_dir ( )
frequency-utils.h, libwsutil.so.6.0.0
ieee80211_chan_to_mhz ( gint chan, gboolean is_bg )
ieee80211_mhz_to_chan ( guint freq )
ieee80211_mhz_to_str ( guint freq )
jsmn.h, libwsutil.so.6.0.0
jsmn_init ( struct jsmn_parser* parser )
jsmn_is_json ( guint8 const* buf, size_t const len )
os_version_info.h, libwsutil.so.6.0.0
get_os_version_info ( GString* str )
sober128.h, libwsutil.so.6.0.0
sober128_add_entropy ( unsigned char const* buf, unsigned long len, sober128_prng* prng )
sober128_read ( unsigned char* buf, unsigned long len, sober128_prng* prng )
sober128_start ( sober128_prng* prng )
strnatcmp.h, libwsutil.so.6.0.0
ws_ascii_strnatcasecmp ( nat_char const* a, nat_char const* b )
ws_ascii_strnatcmp ( nat_char const* a, nat_char const* b )
ws_mempbrk.h, libwsutil.so.6.0.0
ws_mempbrk_compile ( struct ws_mempbrk_pattern* pattern, gchar const* needles )
ws_mempbrk_exec ( guint8 const* haystack, size_t haystacklen, struct ws_mempbrk_pattern const* pattern, guchar* found_needle )
ws_version_info.h, libwsutil.so.6.0.0
get_compiled_version_info ( void(*prepend_info)(GString*), void(*append_info)(GString*) )
get_runtime_version_info ( void(*additional_info)(GString*) )
get_ws_vcs_version_info ( )
show_version ( gchar const* prog_name, GString* comp_info_str, GString* runtime_info_str )
to the top

## Removed Symbols (10)

buffer.h, libwsutil.so.4.1.0
buffer_append ( Buffer* buffer, guint8* from, gsize bytes )
buffer_assure_space ( Buffer* buffer, gsize space )
buffer_free ( Buffer* buffer )
buffer_init ( Buffer* buffer, gsize space )
buffer_remove_start ( Buffer* buffer, gsize bytes )
crc16.h, libwsutil.so.4.1.0
crc16_x25_ccitt ( guint8 const* buf, guint len )
crcdrm.h, libwsutil.so.4.1.0
crc_drm ( char const* data, size_t bytesize, unsigned short num_crc_bits, unsigned long crc_gen, int invert )
filesystem.h, libwsutil.so.4.1.0
get_wspython_dir ( )
strnatcmp.h, libwsutil.so.4.1.0
strnatcasecmp ( nat_char const* a, nat_char const* b )
strnatcmp ( nat_char const* a, nat_char const* b )
to the top

## Problems with Symbols, Low Severity (2)

filesystem.h, libwsutil.so.4.1.0
[+] init_progfile_dir ( char const* arg0, int(*main)(int, char**) ) (2)
changed to:
init_progfile_dir ( char const* arg0, void* function_addr )

| Change | Effect
--- | --- | ---
1 | Type of 2nd parameter main has been changed from int(*)(int,char**) to void*. | Replacement of parameter data type may indicate a change in its semantic meaning.
2 | 2nd parameter main has been renamed to function_addr. | Renaming of a parameter may indicate a change in its semantic meaning.

to the top

## Problems with Constants (1)

config.h
[+] PACKAGE_STRING

| Change | Effect
--- | --- | ---
1 | The value of constant PACKAGE_STRING has been changed from "wireshark 1.12.8" to "wireshark 2.0.0". | Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications.

to the top

## Other Changes in Data Types (2)

str_util.h
[+] enum format_size_flags_e (2)

| Change | Effect
--- | --- | ---
1 | The member format_size_unit_packets with value 5 has been added. | No effect.
2 | The member format_size_unit_packets_s with value 6 has been added. | No effect.

[+] affected symbols (1)
format_size ( gint64 size, enum format_size_flags_e flags )
2nd parameter 'flags' has type 'enum format_size_flags_e'.
to the top

## Header Files (48)

adler32.h
aes.h
base64.h
bits_count_ones.h
bits_ctz.h
bitswap.h
buffer.h
config.h
crash_info.h
crc10.h
crc11.h
crc16-plain.h
crc16.h
crc32.h
crc6.h
crc7.h
crc8.h
crcdrm.h
des.h
eax.h
file_util.h
filesystem.h
g711.h
inet_aton.h
inet_v6defs.h
md4.h
md5.h
mpeg-audio.h
nstime.h
pint.h
plugins.h
privileges.h
rc4.h
report_err.h
sha1.h
sign_ext.h
str_util.h
strnatcmp.h
strptime.h
tempfile.h
time_util.h
type_util.h
u3.h
unicode-utils.h
ws_symbol_export.h
wsgcrypt.h
wsgetopt.h
wsgetopt_int.h
to the top

## Shared Libraries (1)

libwsutil.so.4.1.0
to the top

## Test Info

Library Name | libwsutil
Version #1 | 4.1.0
Version #2 | 6.0.0
CPU Type | x86_64
GCC Version | 4.8
Subject | Source Compatibility

## Test Results

Total Header Files | 48
Total Shared Libraries | 1
Total Symbols / Types | 160 / 97
Verdict | Incompatible (8.8%)

## Problem Summary

| Severity | Count
--- | --- | ---
Added Symbols | - | 31
Removed Symbols | High | 14
Problems with Data Types | High | 0
Medium | 0
Low | 0
Problems with Symbols | High | 0
Medium | 0
Low | 1
Problems with Constants | Low | 8
Other Changes in Data Types | - | 2
Other Changes in Symbols | - | 1

## Added Symbols (31)

buffer.h
ws_buffer_append ( Buffer* buffer, guint8* from, gsize bytes )
ws_buffer_assure_space ( Buffer* buffer, gsize space )
ws_buffer_free ( Buffer* buffer )
ws_buffer_init ( Buffer* buffer, gsize space )
ws_buffer_remove_start ( Buffer* buffer, gsize bytes )
clopts_common.h
get_natural_int ( char const* string, char const* name )
get_positive_int ( char const* string, char const* name )
cmdarg_err.h
cmdarg_err ( char const* fmt, ... )
cmdarg_err_cont ( char const* fmt, ... )
cmdarg_err_init ( void(*err)(char const*, struct __va_list_tag*), void(*err_cont)(char const*, struct __va_list_tag*) )
copyright_info.h
get_copyright_info ( )
crc16.h
crc16_0x3D65_seed ( guint8 const* buf, guint len, guint16 seed )
crc16_x25_ccitt_seed ( guint8 const* buf, guint len, guint16 seed )
filesystem.h
get_extcap_dir ( )
frequency-utils.h
ieee80211_chan_to_mhz ( gint chan, gboolean is_bg )
ieee80211_mhz_to_chan ( guint freq )
ieee80211_mhz_to_str ( guint freq )
jsmn.h
jsmn_init ( struct jsmn_parser* parser )
jsmn_is_json ( guint8 const* buf, size_t const len )
os_version_info.h
get_os_version_info ( GString* str )
sober128.h
sober128_add_entropy ( unsigned char const* buf, unsigned long len, sober128_prng* prng )
sober128_read ( unsigned char* buf, unsigned long len, sober128_prng* prng )
sober128_start ( sober128_prng* prng )
strnatcmp.h
ws_ascii_strnatcasecmp ( nat_char const* a, nat_char const* b )
ws_ascii_strnatcmp ( nat_char const* a, nat_char const* b )
ws_mempbrk.h
ws_mempbrk_compile ( struct ws_mempbrk_pattern* pattern, gchar const* needles )
ws_mempbrk_exec ( guint8 const* haystack, size_t haystacklen, struct ws_mempbrk_pattern const* pattern, guchar* found_needle )
ws_version_info.h
get_compiled_version_info ( void(*prepend_info)(GString*), void(*append_info)(GString*) )
get_runtime_version_info ( void(*additional_info)(GString*) )
get_ws_vcs_version_info ( )
show_version ( gchar const* prog_name, GString* comp_info_str, GString* runtime_info_str )
to the top

## Removed Symbols (14)

buffer.h
buffer_append ( Buffer* buffer, guint8* from, gsize bytes )
buffer_assure_space ( Buffer* buffer, gsize space )
buffer_free ( Buffer* buffer )
buffer_init ( Buffer* buffer, gsize space )
buffer_remove_start ( Buffer* buffer, gsize bytes )
crc16.h
crc16_x25_ccitt ( guint8 const* buf, guint len )
crcdrm.h
crc_drm ( char const* data, size_t bytesize, unsigned short num_crc_bits, unsigned long crc_gen, int invert )
filesystem.h
get_wspython_dir ( )
strnatcmp.h
strnatcasecmp ( nat_char const* a, nat_char const* b )
strnatcmp ( nat_char const* a, nat_char const* b )
wsgetopt.h
optarg [data]
opterr [data]
optind [data]
optopt [data]
to the top

## Problems with Symbols, Low Severity (1)

filesystem.h
[+] init_progfile_dir ( char const* arg0, int(*main)(int, char**) ) (1)
changed to:
init_progfile_dir ( char const* arg0, void* function_addr )

| Change | Effect
--- | --- | ---
1 | Type of 2nd parameter main has been changed from int(*)(int,char**) to void*. | Recompilation of a client program may be broken.

to the top

## Problems with Constants (8)

config.h
[+] DATAFILE_DIR

| Change | Effect
--- | --- | ---
1 | The value of constant DATAFILE_DIR has been changed from "/tmp/inst/share/wireshark" to "/usr/local/share/wireshark". | Recompilation of a client program may be broken.

[+] DOC_DIR

| Change | Effect
--- | --- | ---
1 | The value of constant DOC_DIR has been changed from "/tmp/inst/share/doc/wireshark" to "/usr/local/share/doc/wireshark". | Recompilation of a client program may be broken.

[+] PACKAGE_STRING

| Change | Effect
--- | --- | ---
1 | The value of constant PACKAGE_STRING has been changed from "wireshark 1.12.8" to "wireshark 2.0.0". | Recompilation of a client program may be broken.

[+] PACKAGE_VERSION

| Change | Effect
--- | --- | ---
1 | The value of constant PACKAGE_VERSION has been changed from "1.12.8" to "2.0.0". | Recompilation of a client program may be broken.

[+] VERSION

| Change | Effect
--- | --- | ---
1 | The value of constant VERSION has been changed from "1.12.8" to "2.0.0". | Recompilation of a client program may be broken.

[+] VERSION_MAJOR

| Change | Effect
--- | --- | ---
1 | The value of constant VERSION_MAJOR has been changed from 1 to 2. | Recompilation of a client program may be broken.

[+] VERSION_MICRO

| Change | Effect
--- | --- | ---
1 | The value of constant VERSION_MICRO has been changed from 8 to 0. | Recompilation of a client program may be broken.

[+] VERSION_MINOR

| Change | Effect
--- | --- | ---
1 | The value of constant VERSION_MINOR has been changed from 12 to 0. | Recompilation of a client program may be broken.

to the top

## Other Changes in Data Types (2)

str_util.h
[+] enum format_size_flags_e (2)

| Change | Effect
--- | --- | ---
1 | The member format_size_unit_packets with value 5 has been added. | No effect.
2 | The member format_size_unit_packets_s with value 6 has been added. | No effect.

[+] affected symbols (1)
format_size ( gint64 size, enum format_size_flags_e flags )
2nd parameter 'flags' has type 'enum format_size_flags_e'.
to the top

## Other Changes in Symbols (1)

filesystem.h
[+] init_progfile_dir ( char const* arg0, int(*main)(int, char**) ) (1)
changed to:
init_progfile_dir ( char const* arg0, void* function_addr )

| Change | Effect
--- | --- | ---
1 | 2nd parameter main has been renamed to function_addr. | No effect.

to the top

## Header Files (48)

adler32.h
aes.h
base64.h
bits_count_ones.h
bits_ctz.h
bitswap.h
buffer.h
config.h
crash_info.h
crc10.h
crc11.h
crc16-plain.h
crc16.h
crc32.h
crc6.h
crc7.h
crc8.h
crcdrm.h
des.h
eax.h
file_util.h
filesystem.h
g711.h
inet_aton.h
inet_v6defs.h
md4.h
md5.h
mpeg-audio.h
nstime.h
pint.h
plugins.h
privileges.h
rc4.h
report_err.h
sha1.h
sign_ext.h
str_util.h
strnatcmp.h
strptime.h
tempfile.h
time_util.h
type_util.h
u3.h
unicode-utils.h
ws_symbol_export.h
wsgcrypt.h
wsgetopt.h
wsgetopt_int.h
to the top

## Shared Libraries (1)

libwsutil.so.4.1.0
to the top
Generated on Wed Nov 18 22:12:11 2015 for libwsutil by ABI Compliance Checker 1.98.7
A tool for checking backward compatibility of a C/C++ library API