[Cryptography Team] Securing the VM and Image

Klaus D. Witzel klaus.witzel at cobss.com
Tue Aug 1 12:34:40 UTC 2006


On Tue, 01 Aug 2006 00:19:00 +0200, John M McIntosh wrote:
...
> Really *all* VM entry point would need to be looked at in a proper audit  
> to avoid buffer overflow issues, even perhaps accidents which generally  
> are fatal.

If InterpreterSimulatorXyz where up-to-date and usable, whatever the VM  
uses from the host OS can easily be looked up. The list below is from a  
3.7-5989 simulation run by a 3.7-1 VM (itself ;-) which was compiled with  
the Goya extension. And if it had TestCases for the full VM->OS interface,  
the list would've been complete.

/Klaus

---------------------

InterpreterSimulator 30 ioGetNextEvent: 1 1
	by Interpreter>>#primitiveGetNextEvent
InterpreterSimulator 30 ioSeconds 4 1
	by Interpreter>>#primitiveSecondsClock
InterpreterSimulator 30 ioMSecs 4 1
	by Interpreter>>#checkForInterrupts
	by Interpreter>>#primitiveExternalCall
	by Interpreter>>#primitiveMillisecondClock
InterpreterSimulator 30 ioSetInputSemaphore: 1 1
	by Interpreter>>#primitiveInputSemaphore
InterpreterSimulator 30 vmPathSize 4 1
	by Interpreter>>#primitiveVMPath
InterpreterSimulator 30 showDisplayBits:w:h:d:left:right:top:bottom: 6 1
	by Interpreter>>#displayBitsOf:Left:Top:Right:Bottom:
		actually ioShowDisplay(...)
InterpreterSimulator 30 ioMicroMSecs 4 1
	by ObjectMemory>>#fullGC
	by ObjectMemory>>#incrementalGC
InterpreterSimulator 30 ioHasDisplayDepth: 4 1
	by Interpreter>>#primitiveTestDisplayDepth
InterpreterSimulator 30 sqMemoryExtraBytesLeft: 0 1
	by ObjectMemory>>#bytesLeft:
InterpreterSimulator 30 vmPathGet:Length: 5 1
	by Interpreter>>#primitiveVMPath
InterpreterSimulator 30 ioLowResMSecs 4 1
	by Interpreter>>#primitiveExternalCall
BitBltSimulation 31 lockSurfaces 12 1
	by self>>#copyBits
	by self>>#warpBits
InterpreterSimulator 30 sqFileAtEnd: 4 2
	by FilePlugin>>#primitiveFileAtEnd
		actually sqFileAtEnd()
InterpreterSimulator 30 primitiveFileOpen 15 2
	by StandardFileStream>>#primOpen:writable:
InterpreterSimulator 30 sqFileClose: 4 2
	by FilePlugin>>#primitiveFileClose
InterpreterSimulatorLSB 30 nextLongFrom: 12 2
	via Interpreter>>#readImageFromFile:HeapSize:StartingAt:




More information about the Squeak-dev mailing list