#ifndef _MSG_DOT_H #define _MSG_DOT_H #include /* Msg typedef */ #ifndef __lint #define MSG_SGS_LOCAL_ARRAY __pvs_msg extern const char __pvs_msg[]; #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __pvs_msg) extern const char * _pvs_msg(Msg); #define MSG_INTL(x) _pvs_msg(x) #define MSG_USAGE_BRIEF 1 #define MSG_USAGE_BRIEF_SIZE 51 #define MSG_USAGE_DETAIL 53 #define MSG_USAGE_DETAIL_SIZE 409 #define MSG_VER_HIGHREV 463 #define MSG_VER_HIGHREV_SIZE 64 #define MSG_VER_UNREDSYMS 528 #define MSG_VER_UNREDSYMS_SIZE 51 #define MSG_VER_NOTSTTFILE 580 #define MSG_VER_NOTSTTFILE_SIZE 55 #define MSG_VER_NOSYMTAB 636 #define MSG_VER_NOSYMTAB_SIZE 36 #define MSG_ELF_NOTELF 673 #define MSG_ELF_NOTELF_SIZE 19 #define MSG_SYS_OPEN 693 #define MSG_SYS_OPEN_SIZE 29 #define MSG_SYS_MALLOC 723 #define MSG_SYS_MALLOC_SIZE 26 #define MSG_STR_MATCH_RECORD 750 #define MSG_STR_MATCH_RECORD_SIZE 20 #define MSG_ELF_BEGIN 771 #define MSG_ELF_BEGIN_SIZE 22 #define MSG_ELF_GETEHDR 794 #define MSG_ELF_GETEHDR_SIZE 24 #define MSG_ELF_GETSCN 819 #define MSG_ELF_GETSCN_SIZE 23 #define MSG_ELF_GETSHDR 843 #define MSG_ELF_GETSHDR_SIZE 24 #define MSG_ELF_GETDATA 868 #define MSG_ELF_GETDATA_SIZE 24 #define MSG_ELF_GETSHDRNUM 893 #define MSG_ELF_GETSHDRNUM_SIZE 27 #define MSG_STR_EMPTY 0 #define MSG_STR_EMPTY_SIZE 0 #define MSG_STR_OPTIONS 921 #define MSG_STR_OPTIONS_SIZE 12 #define MSG_FMT_COL_NL 935 #define MSG_FMT_COL_NL_SIZE 2 #define MSG_FMT_SEM_NL 948 #define MSG_FMT_SEM_NL_SIZE 2 #define MSG_FMT_LIST_BEGIN 951 #define MSG_FMT_LIST_BEGIN_SIZE 5 #define MSG_FMT_LIST_FIRST 958 #define MSG_FMT_LIST_FIRST_SIZE 2 #define MSG_FMT_LIST_NEXT 961 #define MSG_FMT_LIST_NEXT_SIZE 4 #define MSG_FMT_LIST_END_SEM 947 #define MSG_FMT_LIST_END_SEM_SIZE 3 #define MSG_FMT_LIST_END_COL 934 #define MSG_FMT_LIST_END_COL_SIZE 3 #define MSG_FMT_OFIL 966 #define MSG_FMT_OFIL_SIZE 4 #define MSG_FMT_TNCO 971 #define MSG_FMT_TNCO_SIZE 5 #define MSG_FMT_TNSE 978 #define MSG_FMT_TNSE_SIZE 5 #define MSG_FMT_VER_NAME 957 #define MSG_FMT_VER_NAME_SIZE 3 #define MSG_FMT_VER_FLG 984 #define MSG_FMT_VER_FLG_SIZE 5 #define MSG_FMT_FILE 972 #define MSG_FMT_FILE_SIZE 4 #define MSG_FMT_SYM_OFIL 990 #define MSG_FMT_SYM_OFIL_SIZE 9 #define MSG_FMT_SYM_NEED_OFIL 1000 #define MSG_FMT_SYM_NEED_OFIL_SIZE 14 #define MSG_FMT_SYM_OFLG 979 #define MSG_FMT_SYM_OFLG_SIZE 4 #define MSG_FMT_SYM_SZ_OFLG 940 #define MSG_FMT_SYM_SZ_OFLG_SIZE 10 #define MSG_FMT_SYM 977 #define MSG_FMT_SYM_SIZE 6 #define MSG_FMT_SYM_SZ 938 #define MSG_FMT_SYM_SZ_SIZE 12 #define MSG_FMT_IN 1015 #define MSG_FMT_IN_SIZE 12 #define MSG_FMT_IN_OFLG 1028 #define MSG_FMT_IN_OFLG_SIZE 5 #define MSG_FMT_IN_WEAK 1034 #define MSG_FMT_IN_WEAK_SIZE 5 #define MSG_FMT_IN_END 1040 #define MSG_FMT_IN_END_SIZE 1 #define MSG_FMT_LOCSYM_HDR 1042 #define MSG_FMT_LOCSYM_HDR_SIZE 10 #define MSG_FMT_LOCSYM 977 #define MSG_FMT_LOCSYM_SIZE 6 #define MSG_FMT_LOCSYM_OFLG 1053 #define MSG_FMT_LOCSYM_OFLG_SIZE 17 #define MSG_SUNW_OST_SGS 1071 #define MSG_SUNW_OST_SGS_SIZE 12 #else /* __lint */ extern const char * _pvs_msg(Msg); #ifndef MSG_SGS_LOCAL_ARRAY #define MSG_SGS_LOCAL_ARRAY "" #endif extern const char __pvs_msg[]; #define MSG_ORIG_STRTAB(_x, _s) _x #define MSG_ORIG(x) x #define MSG_INTL(x) x #ifndef LINTSUP_SUPPRESS_STRINGS #define MSG_USAGE_BRIEF "usage: %s [-Cdlnorsv] [-I index] [-N Name] file(s)\n" #define MSG_USAGE_BRIEF_SIZE 51 #define MSG_USAGE_DETAIL "\t[-C]\t\tdemangle C++ symbol names\n\t[-d]\t\tprint version definition information\n\t[-I index]\tqualify version with an index\n\t[-l]\t\tprint reduced symbols\n\t[-N name]\tqualify version with `name'\n\t[-n]\t\tnormalize version definition information\n\t[-o]\t\tone-line version definition output\n\t[-r]\t\tprint version dependency (requirements) information\n\t[-s]\t\tprint version definition symbols\n\t[-v]\t\tprint verbose information\n" #define MSG_USAGE_DETAIL_SIZE 409 #define MSG_VER_HIGHREV "%s: warning: %s: version revision %d is higher than expected %d\n" #define MSG_VER_HIGHREV_SIZE 64 #define MSG_VER_UNREDSYMS "%s: warning: %s: unable to deduce reduced symbols:\n" #define MSG_VER_UNREDSYMS_SIZE 51 #define MSG_VER_NOTSTTFILE "\tmalformed symbol table[1]=%s: does not equal STT_FILE\n" #define MSG_VER_NOTSTTFILE_SIZE 55 #define MSG_VER_NOSYMTAB "\tno symbol table (SHT_SYMTAB) found\n" #define MSG_VER_NOSYMTAB_SIZE 36 #define MSG_ELF_NOTELF "%s: %s: is not ELF\n" #define MSG_ELF_NOTELF_SIZE 19 #define MSG_SYS_OPEN "%s: %s: cannot open file: %s\n" #define MSG_SYS_OPEN_SIZE 29 #define MSG_SYS_MALLOC "%s: %s: malloc failed: %s\n" #define MSG_SYS_MALLOC_SIZE 26 #define MSG_STR_MATCH_RECORD "match record (-I/-N)" #define MSG_STR_MATCH_RECORD_SIZE 20 #define MSG_ELF_BEGIN "%s: %s: elf_begin: %s\n" #define MSG_ELF_BEGIN_SIZE 22 #define MSG_ELF_GETEHDR "%s: %s: elf_getehdr: %s\n" #define MSG_ELF_GETEHDR_SIZE 24 #define MSG_ELF_GETSCN "%s: %s: elf_getscn: %s\n" #define MSG_ELF_GETSCN_SIZE 23 #define MSG_ELF_GETSHDR "%s: %s: elf_getshdr: %s\n" #define MSG_ELF_GETSHDR_SIZE 24 #define MSG_ELF_GETDATA "%s: %s: elf_getdata: %s\n" #define MSG_ELF_GETDATA_SIZE 24 #define MSG_ELF_GETSHDRNUM "%s: %s: elf_getshdrnum: %s\n" #define MSG_ELF_GETSHDRNUM_SIZE 27 #define MSG_STR_EMPTY "" #define MSG_STR_EMPTY_SIZE 0 #define MSG_STR_OPTIONS "CdI:lnorsvN:" #define MSG_STR_OPTIONS_SIZE 12 #define MSG_FMT_COL_NL ":\n" #define MSG_FMT_COL_NL_SIZE 2 #define MSG_FMT_SEM_NL ";\n" #define MSG_FMT_SEM_NL_SIZE 2 #define MSG_FMT_LIST_BEGIN "\t%s (" #define MSG_FMT_LIST_BEGIN_SIZE 5 #define MSG_FMT_LIST_FIRST "%s" #define MSG_FMT_LIST_FIRST_SIZE 2 #define MSG_FMT_LIST_NEXT ", %s" #define MSG_FMT_LIST_NEXT_SIZE 4 #define MSG_FMT_LIST_END_SEM ");\n" #define MSG_FMT_LIST_END_SEM_SIZE 3 #define MSG_FMT_LIST_END_COL "):\n" #define MSG_FMT_LIST_END_COL_SIZE 3 #define MSG_FMT_OFIL "%s -" #define MSG_FMT_OFIL_SIZE 4 #define MSG_FMT_TNCO "\t%s:\n" #define MSG_FMT_TNCO_SIZE 5 #define MSG_FMT_TNSE "\t%s;\n" #define MSG_FMT_TNSE_SIZE 5 #define MSG_FMT_VER_NAME "\t%s" #define MSG_FMT_VER_NAME_SIZE 3 #define MSG_FMT_VER_FLG " [%s]" #define MSG_FMT_VER_FLG_SIZE 5 #define MSG_FMT_FILE "%s:\n" #define MSG_FMT_FILE_SIZE 4 #define MSG_FMT_SYM_OFIL "%s -\t%s: " #define MSG_FMT_SYM_OFIL_SIZE 9 #define MSG_FMT_SYM_NEED_OFIL "%s -\t%s (%s): " #define MSG_FMT_SYM_NEED_OFIL_SIZE 14 #define MSG_FMT_SYM_OFLG "%s;\n" #define MSG_FMT_SYM_OFLG_SIZE 4 #define MSG_FMT_SYM_SZ_OFLG "%s (%ld);\n" #define MSG_FMT_SYM_SZ_OFLG_SIZE 10 #define MSG_FMT_SYM "\t\t%s;\n" #define MSG_FMT_SYM_SIZE 6 #define MSG_FMT_SYM_SZ "\t\t%s (%ld);\n" #define MSG_FMT_SYM_SZ_SIZE 12 #define MSG_FMT_IN ": \t{%s" #define MSG_FMT_IN_SIZE 12 #define MSG_FMT_IN_OFLG ": {%s" #define MSG_FMT_IN_OFLG_SIZE 5 #define MSG_FMT_IN_WEAK ":\t{%s" #define MSG_FMT_IN_WEAK_SIZE 5 #define MSG_FMT_IN_END "}" #define MSG_FMT_IN_END_SIZE 1 #define MSG_FMT_LOCSYM_HDR "\t_LOCAL_:\n" #define MSG_FMT_LOCSYM_HDR_SIZE 10 #define MSG_FMT_LOCSYM "\t\t%s;\n" #define MSG_FMT_LOCSYM_SIZE 6 #define MSG_FMT_LOCSYM_OFLG "%s -\t_LOCAL_: %s\n" #define MSG_FMT_LOCSYM_OFLG_SIZE 17 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" #define MSG_SUNW_OST_SGS_SIZE 12 #endif /* LINTSUP_SUPPRESS_STRINGS */ #endif /* __lint */ #endif