VirtualBox

Changeset 74327 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 17, 2018 10:13:09 PM (6 years ago)
Author:
vboxsync
Message:

IRPT: Added build target to check that VBoxRTImp.def and friends contains valid exports. Corrected stable API export. bugref:9246

Location:
trunk/src/VBox/Runtime
Files:
1 added
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r74323 r74327  
    23452345
    23462346
     2347if1of ($(KBUILD_TARGET),win) # remove later
     2348if1of (VBoxRT,$(DLLS))
     2349 #
     2350 # VBoxRTImpCheck - Import library check.
     2351 #
     2352 PROGRAMS += VBoxRTStableCheck
     2353 VBoxRTStableCheck_TEMPLATE = VBOXR3TSTEXE
     2354 VBoxRTStableCheck_SOURCES  = \
     2355        VBox/VBoxRTStableCheck.cpp \
     2356        $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm
     2357 VBoxRTStableCheck_LIBS = \
     2358        $(LIB_RUNTIME)
     2359 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64)
     2360$$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc64.def $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win64.def | $$(dir $$@)
     2361 else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86)
     2362$$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc32.def $(PATH_SUB_CURRENT)/r3/win/VBoxRT-win32.def | $$(dir $$@)
     2363 else
     2364$$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-gcc.def | $$(dir $$@)
     2365 endif
     2366        $(APPEND) -tn "$@" '%include "iprt/asmdefs.mac"' ''
     2367        $(SED) --append "$@" \
     2368        -e "/not-$(KBUILD_TARGET)/d" \
     2369        $(if-expr "$(KBUILD_TARGET)" == "linux" ,, -e "/only-linux/d") \
     2370        $(if-expr "$(KBUILD_TARGET)" == "win"   ,, -e "/only-win/d") \
     2371        $(if-expr "$(KBUILD_TARGET)" == "darwin",, -e "/only-darwin/d") \
     2372                -f $(PATH_ROOT)/src/VBox/Runtime/VBox/DefToAsmExterns.sed \
     2373                $(filter %.def, $^)
     2374endif
     2375endif # remove later
     2376
     2377
    23472378#
    23482379# RuntimeR3NoCRTGCC - CRT replacement lib for VBoxREM.
  • trunk/src/VBox/Runtime/VBox/DefToAsmExterns.sed

    r74289 r74327  
    11# $Id$
    22## @file
    3 # SED script for generating a dummy .c from a windows .def file.
     3# SED script for generating assembly externs from a VBoxRT windows .def file.
    44#
    55
    66#
    7 # Copyright (C) 2006-2017 Oracle Corporation
     7# Copyright (C) 2006-2018 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    1515# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1616#
     17
     18#
     19# Remove uncertain exports.
     20#
     21/not-some-systems/d
    1722
    1823#
     
    3641#
    3742:code
    38 s/^\(.*\)$/EXPORT\nvoid \1(void);\nvoid \1(void){}/
     43s/^\(.*\)$/EXTERN_IMP2 \1/
    3944b end
    4045
     
    4449#
    4550:data
    46 s/^\(.*\)[[:space:]]*DATA$/EXPORT_DATA void *\1 = (void *)0;/
     51s/^\(.*\)[[:space:]]*DATA$/EXTERN_IMP2 \1/
    4752b end
    4853
  • trunk/src/VBox/Runtime/VBox/VBoxRTImp.def

    r74313 r74327  
    780780    RTCrCipherGetBlockSize
    781781    RTCrCipherGetInitializationVectorLength
    782     RTCrCipherGetKeyVectorLength
     782    RTCrCipherGetKeyLength
    783783    RTCrCipherOpenByType
    784784    RTCrCipherRetain
     
    918918    RTDbgLineFree
    919919    RTDbgModCreate
    920     RTDbgModCreateDeferred
    921920    RTDbgModCreateFromImage
    922921    RTDbgModCreateFromMap
     922    RTDbgModCreateFromPeImage
     923    RTDbgModCreateFromMachOImage
    923924    RTDbgModGetTag
    924925    RTDbgModImageSize
     
    10221023    RTFileGetMaxSizeEx
    10231024    RTFileGetSize
    1024     RTFileIoCtl
     1025    RTFileIoCtl             ; not-win
    10251026    RTFileIsValid
    10261027    RTFileLock
     
    11681169    RTLdrRelocate
    11691170    RTLdrSize
    1170     RTLinuxFindDevicePath
    1171     RTLinuxFindDevicePathV
    1172     RTLinuxSysFsClose
    1173     RTLinuxSysFsExists
    1174     RTLinuxSysFsExistsV
    1175     RTLinuxSysFsGetLinkDest
    1176     RTLinuxSysFsGetLinkDestV
    1177     RTLinuxSysFsOpen
    1178     RTLinuxSysFsOpenV
    1179     RTLinuxSysFsReadDevNumFile
    1180     RTLinuxSysFsReadDevNumFileV
    1181     RTLinuxSysFsReadFile
    1182     RTLinuxSysFsReadIntFile
    1183     RTLinuxSysFsReadIntFileV
    1184     RTLinuxSysFsReadStr
    1185     RTLinuxSysFsReadStrFile
    1186     RTLinuxSysFsReadStrFileV
     1171    RTLinuxFindDevicePath               ; only-linux
     1172    RTLinuxFindDevicePathV              ; only-linux
     1173    RTLinuxSysFsClose                   ; only-linux
     1174    RTLinuxSysFsExists                  ; only-linux
     1175    RTLinuxSysFsExistsV                 ; only-linux
     1176    RTLinuxSysFsGetLinkDest             ; only-linux
     1177    RTLinuxSysFsGetLinkDestV            ; only-linux
     1178    RTLinuxSysFsOpen                    ; only-linux
     1179    RTLinuxSysFsOpenV                   ; only-linux
     1180    RTLinuxSysFsReadDevNumFile          ; only-linux
     1181    RTLinuxSysFsReadDevNumFileV         ; only-linux
     1182    RTLinuxSysFsReadFile                ; only-linux
     1183    RTLinuxSysFsReadIntFile             ; only-linux
     1184    RTLinuxSysFsReadIntFileV            ; only-linux
     1185    RTLinuxSysFsReadStr                 ; only-linux
     1186    RTLinuxSysFsReadStrFile             ; only-linux
     1187    RTLinuxSysFsReadStrFileV            ; only-linux
    11871188    RTLockValidatorClassAddPriorClass
    11881189    RTLockValidatorClassCreate
     
    12451246    RTLogComPrintf
    12461247    RTLogComPrintfV
    1247     RTLogCopyGroupsAndFlags
     1248    RTLogCopyGroupsAndFlagsForR0
    12481249    RTLogCreate
    12491250    RTLogCreateEx
     
    13551356    RTMemExecFree
    13561357    RTMemFree
    1357     RTMemLockedAllocTag
    1358     RTMemLockedAllocZTag
    1359     RTMemLockedFree
    13601358    RTMemPageAllocTag
    13611359    RTMemPageAllocZTag
     
    14311429    RTNetTCPChecksum
    14321430    RTNetUDPChecksum
    1433     RTOnce
    14341431    RTOnceReset
    14351432    RTOnceSlow
     
    14541451    RTPathGetCurrent
    14551452    RTPathGetMode
    1456     RTPathHavePath
    1457     RTPathHaveSuffix
     1453    RTPathHasPath
     1454    RTPathHasSuffix
    14581455    RTPathJoin
    14591456    RTPathJoinA
     
    14661463    RTPathRename
    14671464    RTPathSetCurrent
    1468     RTPathSetMode                   ; not-win
     1465    RTPathSetMode
    14691466    RTPathSetOwner                  ; not-win
    14701467    RTPathSetOwnerEx                ; not-win
     
    15051502    RTProcCreateEx
    15061503    RTProcDaemonize
    1507     RTProcDaemonizeUsingFork
     1504    RTProcDaemonizeUsingFork        ; not-win not-os2
    15081505    RTProcGetAffinityMask
    15091506    RTProcGetExecutablePath
     
    18571854    RTSystemQueryTotalRam
    18581855    RTTarClose
    1859     RTTarCreate
    1860     RTTarCurrentFile
    1861     RTTarExtractAll
    1862     RTTarExtractFileToBuf
    1863     RTTarExtractFiles
    18641856    RTTarFileClose
    1865     RTTarFileExists
    1866     RTTarFileGetMode
    1867     RTTarFileGetOwner
    18681857    RTTarFileGetSize
    1869     RTTarFileGetTime
    18701858    RTTarFileOpen
    1871     RTTarFileOpenCurrentFile
    1872     RTTarFileRead
    18731859    RTTarFileReadAt
    1874     RTTarFileSeek
    1875     RTTarFileSetMode
    1876     RTTarFileSetOwner
    18771860    RTTarFileSetSize
    1878     RTTarFileSetTime
    1879     RTTarFileTell
    1880     RTTarFileWrite
    18811861    RTTarFileWriteAt
    1882     RTTarList
    18831862    RTTarOpen
    1884     RTTarSeekNextFile
    18851863    RTTcpClientClose
    18861864    RTTcpClientCloseEx
     
    20372015    RTTimeSystemNanoTS
    20382016    RTTimeToString
    2039     RTTimerChangeInterval
     2017    ;RTTimerChangeInterval  - missing on windows
    20402018    RTTimerCreate
    2041     RTTimerCreateEx
     2019    ;RTTimerCreateEx        - missing on windows
    20422020    RTTimerDestroy
    20432021    RTTimerLRCreate
     
    20462024    RTTimerLRStart
    20472025    RTTimerLRStop
    2048     RTTimerStart
    2049     RTTimerStop
     2026    ;RTTimerStart           - missing on windows
     2027    ;RTTimerStop            - missing on windows
    20502028    RTTlsAlloc
    20512029    RTTlsAllocEx
  • trunk/src/VBox/Runtime/common/crypto/cipher-openssl.cpp

    r74315 r74327  
    158158
    159159
    160 RTDECL(uint32_t) RTCrCipherGetInitialVectorLength(RTCRCIPHER hCipher)
     160RTDECL(uint32_t) RTCrCipherGetInitializationVectorLength(RTCRCIPHER hCipher)
    161161{
    162162    RTCRCIPHERINT *pThis = hCipher;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette