[Info-vax] C troubles: BADSTATICCVT
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Sat Feb 3 18:10:00 EST 2018
In article <p553qg$dfg$1 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2018-02-03, VAXman- @SendSpamHere.ORG <VAXman- at SendSpamHere.ORG> wrote:
>> In article <p549km$3e0$1 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>>>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:
>>>>>
>>>>>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).
>>
>> You don't think there's stuff all twisted around when you use C?
>>
>
>DEC C is unsuitable for the same reason.
>
>>
>>>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.
>>
>> Well, maybe and perhaps, becasuse I've been writing Macro-32 code since early
>> VMS days, I don't find it difficult at all, but to proclaim it can't do what's
>> needed or what is necessary is, to use terminology you can understand, complete
>> bollocks!
>>
>
>Erm, Brian, please read what I wrote again. I said nothing about Macro-32
>the language. I was talking about the Macro-32 compiler for Alpha which is
>a _compiler_ and not an _assembler_.
>
>My shellcode on VAX is written in Macro-32 and works just fine.
>
>On Alpha, I ended up using the Macro-64 assembler.
A funny thing is that I wrote all the important bits of Attunity's RMS CDC,
which has to wedge into RMS and system service dispatching, in Macro-32 for
both Alpha and Itanium. ;) If you know what you're doing, it can be done.
The Itanium instruction formats, thankfully, are well documented and there
are macros defining them ($IPFINSDEF). It would've been easier if address
bits in a bundle weren't chopped up and tossed about to land like confetti.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list