From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-07 14:22:23 PST Sender: eric@ruckus.brouhaha.com From: Eric Smith Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Buffer Overflows - again Was: (Re: Congratulations for the References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C369287.6080901@tsoft-inc.com> <87pu4lud5b.fsf@k9.prep.synonet.com> Organization: Eric Conspiracy Secret Labs X-Eric-Conspiracy: There is no conspiracy. Date: 07 Jan 2002 14:22:18 -0800 Message-ID: User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: ruckus.brouhaha.com X-Trace: 7 Jan 2002 14:32:54 -0800, ruckus.brouhaha.com Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!news.spies.com!ruckus.brouhaha.com Xref: archiver1.google.com comp.os.vms:58923 alt.sys.pdp10:9251 comp.sys.dec:11166 Paul Repacholi writes: > Apollo. The early 68000s could have faults that could not be re-started > from the save info. Think the 020 was the first one that got it right > enough to not need wonderous crutches... Actually the 68010 did. It was the first 68k to dump substantial internal processor state onto the stack for a bus error or address error exception, and allow instruction resumption. The handler can either fix the condition that caused the bus error and allow the processor to restart the faulted memory access, or the handler can use the address and data fields in the fault stack frame to complete or simulate the access, then set a bit in the frame such that the processor will consider the access to have been completed successfully. I used the later capability to write an address error handler that allowed executing non-word-aligned instruction streams. Very slowly.