Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Fundamentally, there may be no basis for anything.


computers / comp.sys.tandem / Re-Linking ELD

SubjectAuthor
* Re-Linking ELDAndre White
`* Re: Re-Linking ELDred floyd
 `* Re: Re-Linking ELDAndre White
  `* Re: Re-Linking ELDred floyd
   `* Re: Re-Linking ELDKeith Dick
    `* Re: Re-Linking ELDAndre White
     +* Re: Re-Linking ELDKeith Dick
     |`* Re: Re-Linking ELDRandall
     | `* Re: Re-Linking ELDAndre White
     |  `* Re: Re-Linking ELDKeith Dick
     |   `* Re: Re-Linking ELDRandall
     |    `- Re: Re-Linking ELDKeith Dick
     `- Re: Re-Linking ELDJShepherd

1
Re-Linking ELD

<2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=451&group=comp.sys.tandem#451

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a0c:b312:0:b0:45a:a8d7:ecd6 with SMTP id s18-20020a0cb312000000b0045aa8d7ecd6mr14957108qve.100.1653254763281;
Sun, 22 May 2022 14:26:03 -0700 (PDT)
X-Received: by 2002:a25:5d0d:0:b0:633:25c8:380 with SMTP id
r13-20020a255d0d000000b0063325c80380mr18301598ybb.167.1653254763011; Sun, 22
May 2022 14:26:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Sun, 22 May 2022 14:26:02 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=37.211.45.152; posting-account=V57nSgoAAADmviTPKsGv99hXCUolYMQ5
NNTP-Posting-Host: 37.211.45.152
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
Subject: Re-Linking ELD
From: s4nd...@gmail.com (Andre White)
Injection-Date: Sun, 22 May 2022 21:26:03 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1047
 by: Andre White - Sun, 22 May 2022 21:26 UTC

Need help,
How to re-linking runnable object with new library using ELD..

Thanks

Re: Re-Linking ELD

<t6g5mh$b2l$1@redfloyd.dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=452&group=comp.sys.tandem#452

 copy link   Newsgroups: comp.sys.tandem
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!redfloyd.dont-email.me!.POSTED!not-for-mail
From: no.spam....@its.invalid (red floyd)
Newsgroups: comp.sys.tandem
Subject: Re: Re-Linking ELD
Date: Mon, 23 May 2022 07:28:33 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <t6g5mh$b2l$1@redfloyd.dont-email.me>
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 23 May 2022 14:28:33 -0000 (UTC)
Injection-Info: redfloyd.dont-email.me; posting-host="db625f34633e9fd9523504170b75c6d6";
logging-data="11349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++BlRCkKuikUgiTx1KcU0Qe9Ir7730qKA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Cancel-Lock: sha1:D619wy2+D/djtQ9p8HbrNhLNPq4=
In-Reply-To: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
Content-Language: en-US
 by: red floyd - Mon, 23 May 2022 14:28 UTC

On 5/22/2022 2:26 PM, Andre White wrote:
> Need help,
> How to re-linking runnable object with new library using ELD..
>
> Thanks

User library, or DLL?

User library:

eld -change libname $vol.subvol.lib exefile

I don't think it's possible for a DLL.

Re: Re-Linking ELD

<edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=453&group=comp.sys.tandem#453

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:620a:16d9:b0:6a3:75ae:b39d with SMTP id a25-20020a05620a16d900b006a375aeb39dmr5395165qkn.274.1653329385850;
Mon, 23 May 2022 11:09:45 -0700 (PDT)
X-Received: by 2002:a5b:783:0:b0:64a:2087:b252 with SMTP id
b3-20020a5b0783000000b0064a2087b252mr22723621ybq.467.1653329385664; Mon, 23
May 2022 11:09:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Mon, 23 May 2022 11:09:45 -0700 (PDT)
In-Reply-To: <t6g5mh$b2l$1@redfloyd.dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=37.211.45.152; posting-account=V57nSgoAAADmviTPKsGv99hXCUolYMQ5
NNTP-Posting-Host: 37.211.45.152
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com> <t6g5mh$b2l$1@redfloyd.dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: s4nd...@gmail.com (Andre White)
Injection-Date: Mon, 23 May 2022 18:09:45 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Andre White - Mon, 23 May 2022 18:09 UTC

On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> On 5/22/2022 2:26 PM, Andre White wrote:
> > Need help,
> > How to re-linking runnable object with new library using ELD..
> >
> > Thanks
> User library, or DLL?
>
> User library:
>
> eld -change libname $vol.subvol.lib exefile
>
> I don't think it's possible for a DLL.
Is DLL (Loadfile).

Re: Re-Linking ELD

<t6hm47$1uq$1@redfloyd.dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=454&group=comp.sys.tandem#454

 copy link   Newsgroups: comp.sys.tandem
Path: i2pn2.org!rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!redfloyd.dont-email.me!.POSTED!not-for-mail
From: no.spam....@its.invalid (red floyd)
Newsgroups: comp.sys.tandem
Subject: Re: Re-Linking ELD
Date: Mon, 23 May 2022 21:15:02 -0700
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <t6hm47$1uq$1@redfloyd.dont-email.me>
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me>
<edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 24 May 2022 04:15:03 -0000 (UTC)
Injection-Info: redfloyd.dont-email.me; posting-host="a455cbbe8986e87f65ac2b9b3a0fde9b";
logging-data="2010"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1836La6Iu3Qu9gbTlApl6mCI+Nz2Z8E4vQ="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:zR+ucLgT3XNdRLIqphqCoCWBtrA=
In-Reply-To: <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
Content-Language: en-US
 by: red floyd - Tue, 24 May 2022 04:15 UTC

On 5/23/2022 11:09 AM, Andre White wrote:
> On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
>> On 5/22/2022 2:26 PM, Andre White wrote:
>>> Need help,
>>> How to re-linking runnable object with new library using ELD..
>>>
>>> Thanks
>> User library, or DLL?
>>
>> User library:
>>
>> eld -change libname $vol.subvol.lib exefile
>>
>> I don't think it's possible for a DLL.
> Is DLL (Loadfile).

I don't think it's possible, and I've looked for ways to do it.
-alf doesn't work, nor any other method I've tried.

Re: Re-Linking ELD

<724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=455&group=comp.sys.tandem#455

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:622a:15:b0:2f3:cd8f:2a78 with SMTP id x21-20020a05622a001500b002f3cd8f2a78mr19163079qtw.43.1653382201615;
Tue, 24 May 2022 01:50:01 -0700 (PDT)
X-Received: by 2002:a81:11c9:0:b0:2ff:570a:700d with SMTP id
192-20020a8111c9000000b002ff570a700dmr27095032ywr.231.1653382201448; Tue, 24
May 2022 01:50:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Tue, 24 May 2022 01:50:01 -0700 (PDT)
In-Reply-To: <t6hm47$1uq$1@redfloyd.dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Tue, 24 May 2022 08:50:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3532
 by: Keith Dick - Tue, 24 May 2022 08:50 UTC

On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> On 5/23/2022 11:09 AM, Andre White wrote:
> > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> >> On 5/22/2022 2:26 PM, Andre White wrote:
> >>> Need help,
> >>> How to re-linking runnable object with new library using ELD..
> >>>
> >>> Thanks
> >> User library, or DLL?
> >>
> >> User library:
> >>
> >> eld -change libname $vol.subvol.lib exefile
> >>
> >> I don't think it's possible for a DLL.
> > Is DLL (Loadfile).
> I don't think it's possible, and I've looked for ways to do it.
> -alf doesn't work, nor any other method I've tried.

This is a bit awkward to use, so it might not be a good solution for your situation.

If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.

If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.

If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)

If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.

Re: Re-Linking ELD

<3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=456&group=comp.sys.tandem#456

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:6214:1c83:b0:443:6749:51f8 with SMTP id ib3-20020a0562141c8300b00443674951f8mr67453058qvb.74.1654368454366;
Sat, 04 Jun 2022 11:47:34 -0700 (PDT)
X-Received: by 2002:a81:9b0c:0:b0:2f4:c522:7d3c with SMTP id
s12-20020a819b0c000000b002f4c5227d3cmr17747539ywg.316.1654368454180; Sat, 04
Jun 2022 11:47:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Sat, 4 Jun 2022 11:47:33 -0700 (PDT)
In-Reply-To: <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.211.45.152; posting-account=V57nSgoAAADmviTPKsGv99hXCUolYMQ5
NNTP-Posting-Host: 37.211.45.152
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: s4nd...@gmail.com (Andre White)
Injection-Date: Sat, 04 Jun 2022 18:47:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4211
 by: Andre White - Sat, 4 Jun 2022 18:47 UTC

On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
> On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> > On 5/23/2022 11:09 AM, Andre White wrote:
> > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> > >> On 5/22/2022 2:26 PM, Andre White wrote:
> > >>> Need help,
> > >>> How to re-linking runnable object with new library using ELD..
> > >>>
> > >>> Thanks
> > >> User library, or DLL?
> > >>
> > >> User library:
> > >>
> > >> eld -change libname $vol.subvol.lib exefile
> > >>
> > >> I don't think it's possible for a DLL.
> > > Is DLL (Loadfile).
> > I don't think it's possible, and I've looked for ways to do it.
> > -alf doesn't work, nor any other method I've tried.
> This is a bit awkward to use, so it might not be a good solution for your situation.
>
> If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.
>
> If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.
>
> If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)
>
> If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.
Thanks for your input.

I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. What I read from Debugging Dynamic Memory, I need to Invoke Native Inspect with the lib zrtcdll/xrtcdll (to enable memory-debugging support).
The problem is, whatever object related with ACI product I need to run with library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will get an error "xrtcdll/zrtcdll library not found".

Re: Re-Linking ELD

<e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=457&group=comp.sys.tandem#457

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:ac8:59d3:0:b0:2f3:d7ee:2b54 with SMTP id f19-20020ac859d3000000b002f3d7ee2b54mr13184068qtf.290.1654371332845;
Sat, 04 Jun 2022 12:35:32 -0700 (PDT)
X-Received: by 2002:a81:108:0:b0:2fb:9664:cbac with SMTP id
8-20020a810108000000b002fb9664cbacmr18022855ywb.167.1654371332605; Sat, 04
Jun 2022 12:35:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Sat, 4 Jun 2022 12:35:32 -0700 (PDT)
In-Reply-To: <3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
<3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Sat, 04 Jun 2022 19:35:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Keith Dick - Sat, 4 Jun 2022 19:35 UTC

On Saturday, June 4, 2022 at 11:47:35 AM UTC-7, s4n...@gmail.com wrote:
> On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
> > On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> > > On 5/23/2022 11:09 AM, Andre White wrote:
> > > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> > > >> On 5/22/2022 2:26 PM, Andre White wrote:
> > > >>> Need help,
> > > >>> How to re-linking runnable object with new library using ELD..
> > > >>>
> > > >>> Thanks
> > > >> User library, or DLL?
> > > >>
> > > >> User library:
> > > >>
> > > >> eld -change libname $vol.subvol.lib exefile
> > > >>
> > > >> I don't think it's possible for a DLL.
> > > > Is DLL (Loadfile).
> > > I don't think it's possible, and I've looked for ways to do it.
> > > -alf doesn't work, nor any other method I've tried.
> > This is a bit awkward to use, so it might not be a good solution for your situation.
> >
> > If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.
> >
> > If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.
> >
> > If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)
> >
> > If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.
> Thanks for your input.
>
> I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. What I read from Debugging Dynamic Memory, I need to Invoke Native Inspect with the lib zrtcdll/xrtcdll (to enable memory-debugging support).
> The problem is, whatever object related with ACI product I need to run with library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will get an error "xrtcdll/zrtcdll library not found".

I don't know anything about the debugging dynamic memory thing you mention, but my first impression is that the suggestion I gave above is not relevant to the problem you are having with that.

My guess, and it is just a guess, is that you either need to modify the native inspect executable file to add the "lib xrtcdll" attribute to it, or you need to run xinspect with the option /lib xrtcdll/ and use the attach command in xinspect to get xinspect to take control of the Base24 process you want to debug. But this is just a guess based on not understanding the xinspect feature you are trying to use, so I could be WAY off base.

Re: Re-Linking ELD

<953a8b75-e2f8-483c-a795-f36d49793f4an@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=458&group=comp.sys.tandem#458

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:622a:1a86:b0:304:e304:4ab1 with SMTP id s6-20020a05622a1a8600b00304e3044ab1mr9630349qtc.424.1654462972002;
Sun, 05 Jun 2022 14:02:52 -0700 (PDT)
X-Received: by 2002:a25:6744:0:b0:65d:46d6:d9a0 with SMTP id
b65-20020a256744000000b0065d46d6d9a0mr21637639ybc.467.1654462971681; Sun, 05
Jun 2022 14:02:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Sun, 5 Jun 2022 14:02:51 -0700 (PDT)
In-Reply-To: <e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:3fa0:4b9:1d92:5b76:a185:3f41;
posting-account=6VebZwoAAAAgrpUtsowyjrKRLNlqxnXo
NNTP-Posting-Host: 2607:fea8:3fa0:4b9:1d92:5b76:a185:3f41
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
<3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com> <e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <953a8b75-e2f8-483c-a795-f36d49793f4an@googlegroups.com>
Subject: Re: Re-Linking ELD
From: rsbec...@nexbridge.com (Randall)
Injection-Date: Sun, 05 Jun 2022 21:02:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5523
 by: Randall - Sun, 5 Jun 2022 21:02 UTC

On Saturday, June 4, 2022 at 3:35:33 p.m. UTC-4, rkd...@gmail.com wrote:
> On Saturday, June 4, 2022 at 11:47:35 AM UTC-7, s4n...@gmail.com wrote:
> > On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
> > > On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> > > > On 5/23/2022 11:09 AM, Andre White wrote:
> > > > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> > > > >> On 5/22/2022 2:26 PM, Andre White wrote:
> > > > >>> Need help,
> > > > >>> How to re-linking runnable object with new library using ELD..
> > > > >>>
> > > > >>> Thanks
> > > > >> User library, or DLL?
> > > > >>
> > > > >> User library:
> > > > >>
> > > > >> eld -change libname $vol.subvol.lib exefile
> > > > >>
> > > > >> I don't think it's possible for a DLL.
> > > > > Is DLL (Loadfile).
> > > > I don't think it's possible, and I've looked for ways to do it.
> > > > -alf doesn't work, nor any other method I've tried.
> > > This is a bit awkward to use, so it might not be a good solution for your situation.
> > >
> > > If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.
> > >
> > > If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.
> > >
> > > If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)
> > >
> > > If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.
> > Thanks for your input.
> >
> > I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. What I read from Debugging Dynamic Memory, I need to Invoke Native Inspect with the lib zrtcdll/xrtcdll (to enable memory-debugging support).
> > The problem is, whatever object related with ACI product I need to run with library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will get an error "xrtcdll/zrtcdll library not found".
> I don't know anything about the debugging dynamic memory thing you mention, but my first impression is that the suggestion I gave above is not relevant to the problem you are having with that.
>
> My guess, and it is just a guess, is that you either need to modify the native inspect executable file to add the "lib xrtcdll" attribute to it, or you need to run xinspect with the option /lib xrtcdll/ and use the attach command in xinspect to get xinspect to take control of the Base24 process you want to debug. But this is just a guess based on not understanding the xinspect feature you are trying to use, so I could be WAY off base.

The run -lib option might work, or from Guardian /lib/. Otherwise, I do not think you can relink this easily - it might be possible. You could open a GNSC case.

Re: Re-Linking ELD

<98876868-7f3f-48f4-9165-6779198ddfe8n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=459&group=comp.sys.tandem#459

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:6214:1cc6:b0:45d:a313:d2d with SMTP id g6-20020a0562141cc600b0045da3130d2dmr39160650qvd.127.1654527690731;
Mon, 06 Jun 2022 08:01:30 -0700 (PDT)
X-Received: by 2002:a0d:ee42:0:b0:2fb:325b:4942 with SMTP id
x63-20020a0dee42000000b002fb325b4942mr27631544ywe.200.1654527690464; Mon, 06
Jun 2022 08:01:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Mon, 6 Jun 2022 08:01:30 -0700 (PDT)
In-Reply-To: <953a8b75-e2f8-483c-a795-f36d49793f4an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.211.45.152; posting-account=V57nSgoAAADmviTPKsGv99hXCUolYMQ5
NNTP-Posting-Host: 37.211.45.152
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
<3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com> <e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>
<953a8b75-e2f8-483c-a795-f36d49793f4an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <98876868-7f3f-48f4-9165-6779198ddfe8n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: s4nd...@gmail.com (Andre White)
Injection-Date: Mon, 06 Jun 2022 15:01:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Andre White - Mon, 6 Jun 2022 15:01 UTC

On Monday, June 6, 2022 at 12:02:52 AM UTC+3, Randall wrote:
> On Saturday, June 4, 2022 at 3:35:33 p.m. UTC-4, rkd...@gmail.com wrote:
> > On Saturday, June 4, 2022 at 11:47:35 AM UTC-7, s4n...@gmail.com wrote:
> > > On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
> > > > On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> > > > > On 5/23/2022 11:09 AM, Andre White wrote:
> > > > > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> > > > > >> On 5/22/2022 2:26 PM, Andre White wrote:
> > > > > >>> Need help,
> > > > > >>> How to re-linking runnable object with new library using ELD...
> > > > > >>>
> > > > > >>> Thanks
> > > > > >> User library, or DLL?
> > > > > >>
> > > > > >> User library:
> > > > > >>
> > > > > >> eld -change libname $vol.subvol.lib exefile
> > > > > >>
> > > > > >> I don't think it's possible for a DLL.
> > > > > > Is DLL (Loadfile).
> > > > > I don't think it's possible, and I've looked for ways to do it.
> > > > > -alf doesn't work, nor any other method I've tried.
> > > > This is a bit awkward to use, so it might not be a good solution for your situation.
> > > >
> > > > If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.
> > > >
> > > > If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.
> > > >
> > > > If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)
> > > >
> > > > If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.
> > > Thanks for your input.
> > >
> > > I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. What I read from Debugging Dynamic Memory, I need to Invoke Native Inspect with the lib zrtcdll/xrtcdll (to enable memory-debugging support).
> > > The problem is, whatever object related with ACI product I need to run with library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will get an error "xrtcdll/zrtcdll library not found".
> > I don't know anything about the debugging dynamic memory thing you mention, but my first impression is that the suggestion I gave above is not relevant to the problem you are having with that.
> >
> > My guess, and it is just a guess, is that you either need to modify the native inspect executable file to add the "lib xrtcdll" attribute to it, or you need to run xinspect with the option /lib xrtcdll/ and use the attach command in xinspect to get xinspect to take control of the Base24 process you want to debug. But this is just a guess based on not understanding the xinspect feature you are trying to use, so I could be WAY off base.
> The run -lib option might work, or from Guardian /lib/. Otherwise, I do not think you can relink this easily - it might be possible. You could open a GNSC case.
Hi Randall,

If I'm running using /lib/, I must invoke 2 library. First library from ACI (Mandatory), and second library for xrtcdll. But is not possible running 2 library at the same time.

Re: Re-Linking ELD

<042a493d-0d9c-4022-a981-150d3b38c401n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=460&group=comp.sys.tandem#460

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:6214:528b:b0:467:d600:76f4 with SMTP id kj11-20020a056214528b00b00467d60076f4mr14927294qvb.131.1654535371613;
Mon, 06 Jun 2022 10:09:31 -0700 (PDT)
X-Received: by 2002:a25:d50f:0:b0:64a:784b:960 with SMTP id
r15-20020a25d50f000000b0064a784b0960mr25563540ybe.318.1654535371169; Mon, 06
Jun 2022 10:09:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Mon, 6 Jun 2022 10:09:30 -0700 (PDT)
In-Reply-To: <98876868-7f3f-48f4-9165-6779198ddfe8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
<3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com> <e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>
<953a8b75-e2f8-483c-a795-f36d49793f4an@googlegroups.com> <98876868-7f3f-48f4-9165-6779198ddfe8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <042a493d-0d9c-4022-a981-150d3b38c401n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Mon, 06 Jun 2022 17:09:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 8431
 by: Keith Dick - Mon, 6 Jun 2022 17:09 UTC

On Monday, June 6, 2022 at 8:01:31 AM UTC-7, s4n...@gmail.com wrote:
> On Monday, June 6, 2022 at 12:02:52 AM UTC+3, Randall wrote:
> > On Saturday, June 4, 2022 at 3:35:33 p.m. UTC-4, rkd...@gmail.com wrote:
> > > On Saturday, June 4, 2022 at 11:47:35 AM UTC-7, s4n...@gmail.com wrote:
> > > > On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
> > > > > On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> > > > > > On 5/23/2022 11:09 AM, Andre White wrote:
> > > > > > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> > > > > > >> On 5/22/2022 2:26 PM, Andre White wrote:
> > > > > > >>> Need help,
> > > > > > >>> How to re-linking runnable object with new library using ELD..
> > > > > > >>>
> > > > > > >>> Thanks
> > > > > > >> User library, or DLL?
> > > > > > >>
> > > > > > >> User library:
> > > > > > >>
> > > > > > >> eld -change libname $vol.subvol.lib exefile
> > > > > > >>
> > > > > > >> I don't think it's possible for a DLL.
> > > > > > > Is DLL (Loadfile).
> > > > > > I don't think it's possible, and I've looked for ways to do it.
> > > > > > -alf doesn't work, nor any other method I've tried.
> > > > > This is a bit awkward to use, so it might not be a good solution for your situation.
> > > > >
> > > > > If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.
> > > > >
> > > > > If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.
> > > > >
> > > > > If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)
> > > > >
> > > > > If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.
> > > > Thanks for your input.
> > > >
> > > > I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. What I read from Debugging Dynamic Memory, I need to Invoke Native Inspect with the lib zrtcdll/xrtcdll (to enable memory-debugging support).
> > > > The problem is, whatever object related with ACI product I need to run with library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will get an error "xrtcdll/zrtcdll library not found".
> > > I don't know anything about the debugging dynamic memory thing you mention, but my first impression is that the suggestion I gave above is not relevant to the problem you are having with that.
> > >
> > > My guess, and it is just a guess, is that you either need to modify the native inspect executable file to add the "lib xrtcdll" attribute to it, or you need to run xinspect with the option /lib xrtcdll/ and use the attach command in xinspect to get xinspect to take control of the Base24 process you want to debug. But this is just a guess based on not understanding the xinspect feature you are trying to use, so I could be WAY off base.
> > The run -lib option might work, or from Guardian /lib/. Otherwise, I do not think you can relink this easily - it might be possible. You could open a GNSC case.
> Hi Randall,
>
> If I'm running using /lib/, I must invoke 2 library. First library from ACI (Mandatory), and second library for xrtcdll. But is not possible running 2 library at the same time.

You would only have to specify two libraries at the same time if the xrtcdll library contains functions that must be callable by some code that xinspect inserts into the executable that you are trying to debug. Or maybe xrtcdll provides functions that are replacements for malloc(), free(), and similar memory allocation functions. I do not know how that memory debugging function of xinspect works. Maybe it works that way, maybe not.

If it works by inserting regular debug traps into the executable begin debugged, then the xinspect code calls the functions in the xrtcdll library, then you would only need to specify the xrtcdll library when the xinspect executable gets started. In that case, you would have to start xinspect with the /lib xrtcdll/ option yourself (not rely on the OS starting it automatically for you), then grab control of the process you want to debug using the xinspect command that I believe is named "attach". (or maybe there is a command in xinspect that starts a process to be debugged from within xinspect -- I don't know xinspect very well)

If the xrtcdll library must be in the address space of the process being debugged, and that process already depends on a user library of its own, I don't know a way to make that work. (That doesn't mean there is no way -- just that if there is a way, I don't know it.) In the original Tandem code 100 object file format, there was no difference between executable and linkable files, so you could combine two library files to produce a combined library that included both sets of functions. In the native code world, we have the disimprovement that linkable and loadable files are not the same.

If xrtcdll provides functions that must be used in place of functions in the regular system library such as malloc(), free(), etc., then maybe (just maybe -- I don't know for sure) it might work to specify the location of the xrtcdll library using the =_RLD_FIRST_LIB_PATH DEFINE to get those functions to load from xrtcdll instead of from the normal place. If that is the way to get it to work, then if that is not described in the manual that discusses this special memory debugging, the manual should be updated (but again, I don't know that will work.)

Re: Re-Linking ELD

<babd4694-7342-4bfd-9ee4-a05a68e0cce6n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=461&group=comp.sys.tandem#461

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:622a:207:b0:304:da75:438d with SMTP id b7-20020a05622a020700b00304da75438dmr16138063qtx.669.1654542161347;
Mon, 06 Jun 2022 12:02:41 -0700 (PDT)
X-Received: by 2002:a81:108:0:b0:2fb:9664:cbac with SMTP id
8-20020a810108000000b002fb9664cbacmr27933834ywb.167.1654542161148; Mon, 06
Jun 2022 12:02:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Mon, 6 Jun 2022 12:02:40 -0700 (PDT)
In-Reply-To: <042a493d-0d9c-4022-a981-150d3b38c401n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:3fa0:4b9:b009:5c66:137b:a608;
posting-account=6VebZwoAAAAgrpUtsowyjrKRLNlqxnXo
NNTP-Posting-Host: 2607:fea8:3fa0:4b9:b009:5c66:137b:a608
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
<3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com> <e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>
<953a8b75-e2f8-483c-a795-f36d49793f4an@googlegroups.com> <98876868-7f3f-48f4-9165-6779198ddfe8n@googlegroups.com>
<042a493d-0d9c-4022-a981-150d3b38c401n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <babd4694-7342-4bfd-9ee4-a05a68e0cce6n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: rsbec...@nexbridge.com (Randall)
Injection-Date: Mon, 06 Jun 2022 19:02:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Randall - Mon, 6 Jun 2022 19:02 UTC

On Monday, June 6, 2022 at 1:09:32 p.m. UTC-4, rkd...@gmail.com wrote:
> On Monday, June 6, 2022 at 8:01:31 AM UTC-7, s4n...@gmail.com wrote:
> > On Monday, June 6, 2022 at 12:02:52 AM UTC+3, Randall wrote:
> > > On Saturday, June 4, 2022 at 3:35:33 p.m. UTC-4, rkd...@gmail.com wrote:
> > > > On Saturday, June 4, 2022 at 11:47:35 AM UTC-7, s4n...@gmail.com wrote:
> > > > > On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
> > > > > > On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> > > > > > > On 5/23/2022 11:09 AM, Andre White wrote:
> > > > > > > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> > > > > > > >> On 5/22/2022 2:26 PM, Andre White wrote:
> > > > > > > >>> Need help,
> > > > > > > >>> How to re-linking runnable object with new library using ELD..
> > > > > > > >>>
> > > > > > > >>> Thanks
> > > > > > > >> User library, or DLL?
> > > > > > > >>
> > > > > > > >> User library:
> > > > > > > >>
> > > > > > > >> eld -change libname $vol.subvol.lib exefile
> > > > > > > >>
> > > > > > > >> I don't think it's possible for a DLL.
> > > > > > > > Is DLL (Loadfile).
> > > > > > > I don't think it's possible, and I've looked for ways to do it.
> > > > > > > -alf doesn't work, nor any other method I've tried.
> > > > > > This is a bit awkward to use, so it might not be a good solution for your situation.
> > > > > >
> > > > > > If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.
> > > > > >
> > > > > > If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.
> > > > > >
> > > > > > If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)
> > > > > >
> > > > > > If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.
> > > > > Thanks for your input.
> > > > >
> > > > > I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. What I read from Debugging Dynamic Memory, I need to Invoke Native Inspect with the lib zrtcdll/xrtcdll (to enable memory-debugging support).
> > > > > The problem is, whatever object related with ACI product I need to run with library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will get an error "xrtcdll/zrtcdll library not found".
> > > > I don't know anything about the debugging dynamic memory thing you mention, but my first impression is that the suggestion I gave above is not relevant to the problem you are having with that.
> > > >
> > > > My guess, and it is just a guess, is that you either need to modify the native inspect executable file to add the "lib xrtcdll" attribute to it, or you need to run xinspect with the option /lib xrtcdll/ and use the attach command in xinspect to get xinspect to take control of the Base24 process you want to debug. But this is just a guess based on not understanding the xinspect feature you are trying to use, so I could be WAY off base.
> > > The run -lib option might work, or from Guardian /lib/. Otherwise, I do not think you can relink this easily - it might be possible. You could open a GNSC case.
> > Hi Randall,
> >
> > If I'm running using /lib/, I must invoke 2 library. First library from ACI (Mandatory), and second library for xrtcdll. But is not possible running 2 library at the same time.
> You would only have to specify two libraries at the same time if the xrtcdll library contains functions that must be callable by some code that xinspect inserts into the executable that you are trying to debug. Or maybe xrtcdll provides functions that are replacements for malloc(), free(), and similar memory allocation functions. I do not know how that memory debugging function of xinspect works. Maybe it works that way, maybe not.
>
> If it works by inserting regular debug traps into the executable begin debugged, then the xinspect code calls the functions in the xrtcdll library, then you would only need to specify the xrtcdll library when the xinspect executable gets started. In that case, you would have to start xinspect with the /lib xrtcdll/ option yourself (not rely on the OS starting it automatically for you), then grab control of the process you want to debug using the xinspect command that I believe is named "attach". (or maybe there is a command in xinspect that starts a process to be debugged from within xinspect -- I don't know xinspect very well)
>
> If the xrtcdll library must be in the address space of the process being debugged, and that process already depends on a user library of its own, I don't know a way to make that work. (That doesn't mean there is no way -- just that if there is a way, I don't know it.) In the original Tandem code 100 object file format, there was no difference between executable and linkable files, so you could combine two library files to produce a combined library that included both sets of functions. In the native code world, we have the disimprovement that linkable and loadable files are not the same.
>
> If xrtcdll provides functions that must be used in place of functions in the regular system library such as malloc(), free(), etc., then maybe (just maybe -- I don't know for sure) it might work to specify the location of the xrtcdll library using the =_RLD_FIRST_LIB_PATH DEFINE to get those functions to load from xrtcdll instead of from the normal place. If that is the way to get it to work, then if that is not described in the manual that discusses this special memory debugging, the manual should be updated (but again, I don't know that will work.)

AFAIK: xinspect does not actually replace the calls, but sets virtual breakpoints and then invokes the methods in the DLL. Why this cannot be done dynamically...<shrug>. The heap check does not work if the program redirects malloc and/or free.

Re: Re-Linking ELD

<58d10170-9dff-48ee-b1fe-63da75aa9630n@googlegroups.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=462&group=comp.sys.tandem#462

 copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:6214:76e:b0:467:cdd4:dd69 with SMTP id f14-20020a056214076e00b00467cdd4dd69mr17877108qvz.78.1654556984221;
Mon, 06 Jun 2022 16:09:44 -0700 (PDT)
X-Received: by 2002:a25:2241:0:b0:660:7df7:37d with SMTP id
i62-20020a252241000000b006607df7037dmr20527690ybi.621.1654556984007; Mon, 06
Jun 2022 16:09:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Mon, 6 Jun 2022 16:09:43 -0700 (PDT)
In-Reply-To: <babd4694-7342-4bfd-9ee4-a05a68e0cce6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com>
<3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com> <e70f42a0-c7f2-47d8-848e-47661ad24ae3n@googlegroups.com>
<953a8b75-e2f8-483c-a795-f36d49793f4an@googlegroups.com> <98876868-7f3f-48f4-9165-6779198ddfe8n@googlegroups.com>
<042a493d-0d9c-4022-a981-150d3b38c401n@googlegroups.com> <babd4694-7342-4bfd-9ee4-a05a68e0cce6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <58d10170-9dff-48ee-b1fe-63da75aa9630n@googlegroups.com>
Subject: Re: Re-Linking ELD
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Mon, 06 Jun 2022 23:09:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Keith Dick - Mon, 6 Jun 2022 23:09 UTC

On Monday, June 6, 2022 at 12:02:42 PM UTC-7, Randall wrote:
> On Monday, June 6, 2022 at 1:09:32 p.m. UTC-4, rkd...@gmail.com wrote:
> > On Monday, June 6, 2022 at 8:01:31 AM UTC-7, s4n...@gmail.com wrote:
> > > On Monday, June 6, 2022 at 12:02:52 AM UTC+3, Randall wrote:
> > > > On Saturday, June 4, 2022 at 3:35:33 p.m. UTC-4, rkd...@gmail.com wrote:
> > > > > On Saturday, June 4, 2022 at 11:47:35 AM UTC-7, s4n...@gmail.com wrote:
> > > > > > On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
> > > > > > > On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:
> > > > > > > > On 5/23/2022 11:09 AM, Andre White wrote:
> > > > > > > > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:
> > > > > > > > >> On 5/22/2022 2:26 PM, Andre White wrote:
> > > > > > > > >>> Need help,
> > > > > > > > >>> How to re-linking runnable object with new library using ELD..
> > > > > > > > >>>
> > > > > > > > >>> Thanks
> > > > > > > > >> User library, or DLL?
> > > > > > > > >>
> > > > > > > > >> User library:
> > > > > > > > >>
> > > > > > > > >> eld -change libname $vol.subvol.lib exefile
> > > > > > > > >>
> > > > > > > > >> I don't think it's possible for a DLL.
> > > > > > > > > Is DLL (Loadfile).
> > > > > > > > I don't think it's possible, and I've looked for ways to do it.
> > > > > > > > -alf doesn't work, nor any other method I've tried.
> > > > > > > This is a bit awkward to use, so it might not be a good solution for your situation.
> > > > > > >
> > > > > > > If the new DLL has the same name as the one you want to replace, you can use the DEFINEs or environment variables with names =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to make the loader look first in the location where the new DLL is located before it looks in the location where the original DLL is located. See the DLL Programmer's Guide for the explanation of those DEFINEs and environment variables.
> > > > > > >
> > > > > > > If the new library has a different name, you can create a DLL of your own with the same name as that of the original DLL, have it reexport the symbols of the new DLL, then use =_RLD_LIB_PATH or =_RLD_FIRST_LIB_PATH to get the loader to look in the location of the DLL you created before it looks where the original DLL is located. When the loader loads your DLL, it will also load all the symbols from the new DLL and use them to satisfy the references that the original DLL would have been used to satisfy.
> > > > > > >
> > > > > > > If there is priv code and/or licensed code involved anywhere in the program, there are extra security constraints I don't completely understand, but they might prevent the above approach from working. (I believe the extra constraints are needed to prevent a malicious user from using the substitution mechanism to run his code in priv mode.)
> > > > > > >
> > > > > > > If you want to try this, but have trouble understanding the explanations in the DLL Programmer's Guide, post your questions and someone here might be able to help.
> > > > > > Thanks for your input.
> > > > > >
> > > > > > I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. What I read from Debugging Dynamic Memory, I need to Invoke Native Inspect with the lib zrtcdll/xrtcdll (to enable memory-debugging support).
> > > > > > The problem is, whatever object related with ACI product I need to run with library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will get an error "xrtcdll/zrtcdll library not found".
> > > > > I don't know anything about the debugging dynamic memory thing you mention, but my first impression is that the suggestion I gave above is not relevant to the problem you are having with that.
> > > > >
> > > > > My guess, and it is just a guess, is that you either need to modify the native inspect executable file to add the "lib xrtcdll" attribute to it, or you need to run xinspect with the option /lib xrtcdll/ and use the attach command in xinspect to get xinspect to take control of the Base24 process you want to debug. But this is just a guess based on not understanding the xinspect feature you are trying to use, so I could be WAY off base.
> > > > The run -lib option might work, or from Guardian /lib/. Otherwise, I do not think you can relink this easily - it might be possible. You could open a GNSC case.
> > > Hi Randall,
> > >
> > > If I'm running using /lib/, I must invoke 2 library. First library from ACI (Mandatory), and second library for xrtcdll. But is not possible running 2 library at the same time.
> > You would only have to specify two libraries at the same time if the xrtcdll library contains functions that must be callable by some code that xinspect inserts into the executable that you are trying to debug. Or maybe xrtcdll provides functions that are replacements for malloc(), free(), and similar memory allocation functions. I do not know how that memory debugging function of xinspect works. Maybe it works that way, maybe not.
> >
> > If it works by inserting regular debug traps into the executable begin debugged, then the xinspect code calls the functions in the xrtcdll library, then you would only need to specify the xrtcdll library when the xinspect executable gets started. In that case, you would have to start xinspect with the /lib xrtcdll/ option yourself (not rely on the OS starting it automatically for you), then grab control of the process you want to debug using the xinspect command that I believe is named "attach". (or maybe there is a command in xinspect that starts a process to be debugged from within xinspect -- I don't know xinspect very well)
> >
> > If the xrtcdll library must be in the address space of the process being debugged, and that process already depends on a user library of its own, I don't know a way to make that work. (That doesn't mean there is no way -- just that if there is a way, I don't know it.) In the original Tandem code 100 object file format, there was no difference between executable and linkable files, so you could combine two library files to produce a combined library that included both sets of functions. In the native code world, we have the disimprovement that linkable and loadable files are not the same.
> >
> > If xrtcdll provides functions that must be used in place of functions in the regular system library such as malloc(), free(), etc., then maybe (just maybe -- I don't know for sure) it might work to specify the location of the xrtcdll library using the =_RLD_FIRST_LIB_PATH DEFINE to get those functions to load from xrtcdll instead of from the normal place. If that is the way to get it to work, then if that is not described in the manual that discusses this special memory debugging, the manual should be updated (but again, I don't know that will work.)
> AFAIK: xinspect does not actually replace the calls, but sets virtual breakpoints and then invokes the methods in the DLL. Why this cannot be done dynamically...<shrug>. The heap check does not work if the program redirects malloc and/or free.

I just looked at zrtcdll on an H-series system and xrtcdll on an L-series system. Both export functions such as malloc, free, strcat, memcpy, and also a boatload of functions whose names begin with __rtc.

I think this means that the DLL does replace the memory management functions and provides a bunch of other code that xinspect uses. So it looks like it cannot work correctly if just used as a user library for xinspect. Since the Base24 program has a user library of its own that it apparently needs, you cannot specify xrtcdll in place of the Base24-provided user library.

The only way I can think of that might get the special debugging to work would be to use the =_RLD_FIRST_LIB_PATH DEFiNE before starting Base24 to specify the subvolume which contains xrtcdll (it was the current SYSnn subvolume on the two systems I looked at). I think that has a good chance of getting the calls of the memory management functions from the Base24 code to be satisfied by the versions of those functions in xrtcdll. I am not sure whether the calls from the user library will be satisfied from the =_RLD_FIRST_LIB_PATH location or not. I'm too lazy to look up the rules for satisfying function call references in the DLL manual to see whether =_RLD_FIRST_LIB_PATH is effective for calls from the user library or not. I think it should be, but I don't know for sure.

The manual that describes this special memory debugging does explicitly say that it cannot be used if the program to be debugged already uses a user library of its own. The manual also does not mention using the =_RLD_FIRST_LIB_PATH DEFINE. I have a feeling that, even if the approach using =_RLD_FIRST_LIB_PATH I described would work, neither the writer of the manual nor the developer of the special memory debugging would have thought of it. I think there is enough of a chance that using =_RLD_FIRST_LIB_PATH as I described will work that it is worth the, I assume, small effort it would take to try it.


Click here to read the complete article
Re: Re-Linking ELD

<t7nou4$gvg$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=463&group=comp.sys.tandem#463

 copy link   Newsgroups: comp.sys.tandem
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: inva...@nowhere.com (JShepherd)
Newsgroups: comp.sys.tandem
Subject: Re: Re-Linking ELD
Date: Tue, 7 Jun 2022 14:56:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <t7nou4$gvg$1@dont-email.me>
References: <2b9aca25-4978-4d0e-9ac7-429b8ee0dcd9n@googlegroups.com>
<t6g5mh$b2l$1@redfloyd.dont-email.me> <edf9eba8-c7c8-4782-81a1-6a856008ee63n@googlegroups.com>
<t6hm47$1uq$1@redfloyd.dont-email.me> <724b4ac4-ce64-41b3-a3d1-0abbbefe1b29n@googlegroups.com> <3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Injection-Date: Tue, 7 Jun 2022 14:56:05 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8cb1b764729a28c4e4eb34dc5d4846d5";
logging-data="17392"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+j2EkbmGYnbwq137K+IFgVBptrB1qffLU="
Cancel-Lock: sha1:axc6Hw8eXafvNngzwbMxcoPCK/s=
 by: JShepherd - Tue, 7 Jun 2022 14:56 UTC

In article <3d652da0-0f1b-4d37-b0e1-f5faeb196833n@googlegroups.com>,
s4nd123@gmail.com says...
>
>On Tuesday, May 24, 2022 at 11:50:02 AM UTC+3, rkd...@gmail.com wrote:
>> On Monday, May 23, 2022 at 9:15:05 PM UTC-7, red floyd wrote:=20
>> > On 5/23/2022 11:09 AM, Andre White wrote:=20
>> > > On Monday, May 23, 2022 at 5:28:35 PM UTC+3, red floyd wrote:=20
>> > >> On 5/22/2022 2:26 PM, Andre White wrote:=20
>> > >>> Need help,=20
>> > >>> How to re-linking runnable object with new library using ELD..=20
>> > >>>=20
>> > >>> Thanks=20
>> > >> User library, or DLL?=20
>> > >>=20
>> > >> User library:=20
>> > >>=20
>> > >> eld -change libname $vol.subvol.lib exefile=20
>> > >>=20
>> > >> I don't think it's possible for a DLL.=20
>> > > Is DLL (Loadfile).=20
>> > I don't think it's possible, and I've looked for ways to do it.=20
>> > -alf doesn't work, nor any other method I've tried.
>> This is a bit awkward to use, so it might not be a good solution for your=
> situation.=20
>>=20
>> If the new DLL has the same name as the one you want to replace, you can =
>use the DEFINEs or environment variables with names =3D_RLD_LIB_PATH or =3D=
>_RLD_FIRST_LIB_PATH to make the loader look first in the location where the=
> new DLL is located before it looks in the location where the original DLL =
>is located. See the DLL Programmer's Guide for the explanation of those DEF=
>INEs and environment variables.=20
>>=20
>> If the new library has a different name, you can create a DLL of your own=
> with the same name as that of the original DLL, have it reexport the symbo=
>ls of the new DLL, then use =3D_RLD_LIB_PATH or =3D_RLD_FIRST_LIB_PATH to g=
>et the loader to look in the location of the DLL you created before it look=
>s where the original DLL is located. When the loader loads your DLL, it wil=
>l also load all the symbols from the new DLL and use them to satisfy the re=
>ferences that the original DLL would have been used to satisfy.=20
>>=20
>> If there is priv code and/or licensed code involved anywhere in the progr=
>am, there are extra security constraints I don't completely understand, but=
> they might prevent the above approach from working. (I believe the extra c=
>onstraints are needed to prevent a malicious user from using the substituti=
>on mechanism to run his code in priv mode.)=20
>>=20
>> If you want to try this, but have trouble understanding the explanations =
>in the DLL Programmer's Guide, post your questions and someone here might b=
>e able to help.
>Thanks for your input.
>
>I'm trying to debug on BASE24-EPS related Heap corruption/Memory leaks. Wha=
>t I read from Debugging Dynamic Memory, I need to Invoke Native Inspect wit=
>h the lib zrtcdll/xrtcdll (to enable memory-debugging support).
>The problem is, whatever object related with ACI product I need to run with=
> library from ACI (XNLIBN). So, during I'm type "set heap-check on" I will =
>get an error "xrtcdll/zrtcdll library not found".

Contact ACI, they can provide a re-linkable version of XNLIBN.

Open a case with HPE, they might be able to provide a
re-linkable version of XRTCDLL.
It really should be shipped as part of the OS distribution.

Then you can combine the two into a new UL.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor