[Info-vax] C troubles: BADSTATICCVT

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Sat Feb 3 07:23:50 EST 2018


On 2018-02-03, VAXman-  @SendSpamHere.ORG <VAXman- at SendSpamHere.ORG> wrote:
> In article <p541e9$nlr$1 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>>On 2018-02-02, DaveFroble <davef at tsoft-inc.com> wrote:
>>>
>>> What I see (from far away and distorted) as the biggest problem is what you 
>>> mentioned elsewhere, the addressing.  You most likely see much clearer and know 
>>> of possible problems others don't know exist.  So you get the question.
>>>
>>
>>Well, for one thing, one of those problems is that you can't use the
>>Macro-32 compiler on Alpha to write shellcode. :-) I know because I tried...
>
> Why not?
>

There's too much stuff wrapped around the generated code with entry
sequences and the mandatory use of linkage sections (for example).

I was able to get simple stuff (such as load a few registers and
jump off into somewhere) working but anything more involved wasn't
possible.

John not unreasonably assumed that people would want to use the
generated code as part of a larger application instead of just
wanting to stuff a bare sequence of instructions and data fields
off somewhere in memory. :-)

Simon.

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world



More information about the Info-vax mailing list