.


:




:

































 

 

 

 


:C) E) G)




:

:+, +,

: A) _tryC) _exceptE) _finally

, :+__finally+__except

, :+__finally+__except

:+ + +

, : C) st_ctimeE) st_atimeH) st_mtime

: B) E) F)

: A) gotoC) GetExeptionCodeG) GetExeptionInformation

C) GetExpertionCodeD) gotoF) GetExpertionInformation

: A) D) F) H)

: A) - B) G)

:+LoadLibrary()+HeapCreate, HeapAlloc

:+ +

:+ +

,

, :+SetEvent()

Windows:++

Windows:++

Windows, : A) (mutex)B) (event)C) (semaphore)

:+, , +, ,

:+, , +, ,

: A) , , E) ,

: D) RunE) Interrupt

, : A) Create C) ExitG) SuspendH) Resume

, : B) RunD) InterruptF) Block

Win32 API: A) Windows 98C) Windows 2000G) Windows XP

Win32API B) Windows 2000E) Windows 98

:+Windows+Linux

Windows: A) 32 C) 000000000 0xFFFFFFFFG) 4

: A) C) H)

: C) E) G)

- : A)

:+Security Accounts Manager

+Security Accounts Manager

A) E) F)

: D) SecurityReferenceMonitorE) SecurityAccountsManager

dwDesiredAccess : A) 0D) GENERIC_READE) CENERIC_WRITE

dwDesiredAcces : A)GENERIC_READD) GENERIC_WRITEF) 0

fdwReason , , DllMainC) dll_process_attach E) dll_process_detach F) dll_thread_attach

dwDesiredAccess, dwFileOffsetHigh dwFileOffsetLow, dwNumberOfBytesToMap

dwDesiredAccess, dwFileOffsetHigh dwFileOffsetLow, dwNumberOfBytesToMap MapViewOfFile() :+ , + +

fdwReason , , DllMain: D) dll_process_attachE) dll_thread_attachF) dll_process_detachH) dll_thread_detach

flProtect, dwMaximumSizeHigh dwMaximumSizeLow,lpName CreateFileMapping() :+ + , + ,

flProtect, dwMaximumSizeHigh dwMaximumSizeLowlpName CreateFileMapping() :+ + , + ,

-: B) dwErrorCodeE) dwNumberOfBytesTransferredH) lpOverlapped

_SECURITY_ATTRIBUTES:+ + +

_SECURITY_ATTRIBUTES:+ + +

_SECURITY_ATTRIBUTESA) D) F)

CopyMemory():+ +

CopyMemory ():+ +

CreateThread: B) lpThreadAttributesE) lpParameterG) dwStackSizeH) lpStartAddressF) dwCreationFlagsK) lpThreadId

DllMain():+ DllMain

DllMain ():+ DllMain

FillMemory():+ +-+

FillMemory():+ +-+

OpenMutex():+

OpenMutex ():+

OpenSemaphore():+ + +

OpenSemaphore ():+ + +

RaiseException: B) dwExceptionFlagsD) nNumberOfArgumentsE) lpArgumentsG) dwExceptionCode

ReadConsoleOutput():+ + +

ReadConsoleOutput():+ + +

WriteFile():+ , + + ,

WriteFile ():+ , + + ,

WriteFile: C) hFileD) IpBufferH) dwNumberOfBytesToWrite

WriteFileEx: A) lpBufferB) nNumberOfBytesToWriteC) lpCompletionRoutingF) lpOverLappedH) hFile

CreateThread: B) lpThreadAttributes C) dwStackSize

WriteFile: C) IpBuffer

CopyMemory(): A)C)

: A) C) D)

, : A) C) F)

-: A) C) F)

- B) F)

: A) D) E)

: D)

DLL: A) case DLL_PROCESS_ATTACH;D) dwlsIndex=TlsAlloc(); If (dwlsIndex==-1);E) break;

: A) C:\\demo_file.datE) C:\\new_file.datG) C:\\back_file.dat

ReadFile() : B) ; D) ; G)

, ReadFile() : + ; + ; +

, ReadFile() :+ ; + ; +

, :+CloseHandle(hFileMappingObject)+DeleteFile()

, :+CloseHandle(hFileMappingObject)+DeleteFile()

:+ ,

:+ ,

:+, + + ,

:+, + + ,

, DLL. A) DLLG) ,

DllMain: A) HISTANCE hinstDLLB) DWORD fdwReasonC) LPVOID lpvReserved

CreateNamePipe B) lpNameC) dwOpenModeE) nMaxInstancesF) dwPipeModeK) nOutBufferSizeL) nInBufferSizeM) nDefaultTimeOut

LoadLibraryEx, : A) LPCTSTR lpFileNameB) HANDLE hFileC) DWORD dwFlags

MapViewFileEx, : A) HANDLE hFileMappingObjectC) DWORD DesireAccessD) LPVOID IpBaseAddressB) DWORD dwFileOffsetHighC) DWORD dwFileOffsetLowF) SIZE_T dwNumberOfBytesToMap

MapViewOfFile: A) HANDLE hFileMappingObjectB) DWORD dwFileOffsetHighC) DWORD dwFileOffsetLowD) DWORD dwDesiredAccessF) SIZE_T dwNumberOfBytesToMap

UnlockFileEx : B) HANDLE hFileD) DWORD dwReservedE) DWORD nNumberOfBytesToLockHighF) LPOVERLAPPED lpOverLappedH) DWORD nNumberOfBytesToLockLow

UnlockFileEx :A) LPOVERLAPPEDlpOverLappedD) DWORDdwReserved

WaitForMultipleObjectsEx: A) DWORD nCount B) CONST HANDLE lpHandlesC) BOOL bWaitAllD) DWORD dqwMillisecondsH) BOOL bAlertable

A)unsignedintnewC)unsignedint_controlfp()

B) insigned int_controlfp()E) insigned int newG) insigned int _mask

MapVIewOfFIle: C) DWORDdwFileOffsetHighF) DWORDdwFileOffsetLow

MapViewOfFileEx, E) HANDLEhFileMappingObject

VirtualAlloc(),

:+TerminateProcess()+WaitForSingleObject()

:+TerminateProcess()+WaitForSingleObject()

:+ , + + ,

, : A) F) H)

dll, :+ DLL+

DLL:+Library

DLL:+Library

a : A) R, WC) WAD) WCE) WUF) DK) EL) N

Windows: A) C) F) H)

, Windows: C) E) H) K) L) ,

A) E) F)

:+

:+

: A) S

, Win32 API: C) D) F)

, Win32 API: D) E)

: A) chown()B) lchown()G) fchown()

UML : A)

: A) C) D)

: C)F)

: C) free ()E) committed ()H) reserved ()

- A) C) H) wm_copydata

:A)

: B) declspec(thread)C) H)

: A) C) E) \ ( )

:C) D) \ ( ) E)

(): E) F)

Windows: A) C) E) F)

:+ +

:+ +

:C) E) N+1 F) G) N M H) N-

- -: A) Security Anonymous levelB) Security Identification levelC) Security Impersonation levelD) Security Delegation level

- -: A) Object OpenC) Object DeletedF) Object Open for Delete

:+ + +

:+ + +

:+

:+

dwDesiredAccess OpenEvent ( ): A) EVENT_ALL_ACCESSB) EVENT_MODIFY_STATED) SYNCHRONIZE

dwDesiredAccess, : C) SYNCHRONIZED) SEMAPHORE_ALL_ACCESSF) SEMAPHORE_MODIFY_STATE

, : A) pipe_access_duplexE) pipe_access_inboundF) pipe_access_outbound

: A) D) F)

: B) rD) vF) d

:B) vF) dG) r

MapViewOfFile() :+ , + +

: B) replaceFileD) copyFileF) moveFile

A) TlsAllocC) TlsSetValueD) TlsGetValueG) TlsFree

: A) HeapAlloc()C) HeapReAlloc()F) HeapFree

: A) HeapFree()C) HeapAlloc()

: B) C) H)

Sleep(): A) C) F)

: A) B) C)

stdio.h, - : A)stdout

stdio.h, - B) stdinC) stdout F) stderr

:+CreateDirectory()+RemoveDirectory()

:+CreateDirectory()+RemoveDirectory()

Win32 API: C) Resume Thread D) CreateProcessF) CreateThread H) ExitProcessK) ExitThreadL) TerminateThreadM) SuspendThread

DuplicateHandleSetHandleInformationCreateProcess

stdio.h , -: C) stdin E) stdout G) stderr

: A) , B) D) F) ) ,

, -: B) WriteFileD) DeviceIoControlE) ReadFileG) WaitCommEvent

, -: B) ReadDirectoryChangesWD) ConnectNamedPipeE) LockFileExG) TransactNamedPipe

Win32 API :+Windows NT Access Control, Windows Shell, Base Services+Graphics Device Interface, Network Services, User Interface+Windows System Information, Common Control Library

Win32 API :+Windows NT Access Control, Windows Shell, Base Services+Graphics Device Interface, Network Services, User Interface+Windows System Information, Common Control Library

, -C) WaitCommEventD) ReadFileE) DevceloControl

,

, :+ , + + ,

A) , D) , E)

: A) B) , C) , D) H) ,

: A) B) E) , H) ,

Win32: B) E) G) I

:+ ,

:+ ,

- D) ; F) hStdIntput, hStdOutput hStdError STARTUPINFOG) WM_COPYDATA

- :+ WM_COPYDATA+ hStdInput, hStdOutput hStdError STARTUPINFO+ ;

- :+ WM_COPYDATA+ hStdInput, hStdOutput hStdError STARTUPINFO+ ;

 





:


: 2016-12-31; !; : 1109 |


:

:

, .
==> ...

1378 - | 1280 -


© 2015-2024 lektsii.org - -

: 0.089 .