[Vm-dev] VM Maker: VMMaker.oscog-eem.2029.mcz

David T. Lewis lewis at mail.msen.com
Thu Dec 8 00:01:18 UTC 2016


On Wed, Dec 07, 2016 at 11:04:33PM +0000, commits at source.squeak.org wrote:
>  
> Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
> http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2029.mcz
> 
> ==================== Summary ====================
> 
> Name: VMMaker.oscog-eem.2029
> Author: eem
> Time: 7 December 2016, 3:03:48.468304 pm
> UUID: dced5a65-92cd-44de-9d84-41bb46cb09a7
> Ancestors: VMMaker.oscog-eem.2028
> 
> Fix occasional start-up crashes on linux x64.  The choice of 16rBADA550 for a constant in closed PIC prototype generation (used to compute offsets in PICs) occasionally coincides with the address for code chosen by address space randomization, and so confuses the Cogit into generating pc-relative addressing to create this address, hence causing mayhem later on when the wrong sizes for instructions are used to decode closed PIC contents.  Hence also beef up the asserts regarding distinguishing constants planted in code on X64 for MoveCwR PushCw and ArithCwR.
>

Cool. The constant definitions provide more jokes per LOC than the lunar module :-)

Dave
 


More information about the Vm-dev mailing list