It's a *nix command that shows the displayable characters in a file.

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Wednesday, October 02, 2013 1:46 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Interesting... Unidata VLIST options

What is "!strings" ?

I have no such command in Universe








-----Original Message-----
From: McGowan, Ian <james.mcgo...@bankofthewest.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Wed, Oct 2, 2013 10:42 am
Subject: Re: [U2] Interesting... Unidata VLIST options


Changing the subject to not hijack the other thread.  Yes, I too have a program 
that basically does a "strings" command on the object code and either dumps all 
strings or for each one looks it up in the VOC to check if it's a file.

https://github.com/ianmcgowan/PickCode/blob/master/CHECK.FILES


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org]
On Behalf Of Wjhonson
Sent: Wednesday, October 02, 2013 9:46 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Interesting....

I have to think (and I havent' yet checked) that the names of the files opened 
will appear within the object code, since they have to be represented as 
literal strings when they are named.  Sure you could pass the name in, but then 
the program wouldn't know it either, so we're just talking about files where 
the project itself knows the name of what it's opening.

So you can walk the object code, and reconstruct any literal strings within it.
In fact I think I have a tool that does that ....








-----Original Message-----
From: McGowan, Ian <james.mcgo...@bankofthewest.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Wed, Oct 2, 2013 9:42 am
Subject: Re: [U2] Interesting....


>The use of PORT.STATUS using the "PID" option and "LAYER.STACK"
>(>PORT.STATUS
PID 123456 LAYER.STACK)
> over and over again can show you what hex address in the program your
> process
is at.  I suggest calling this
> 50 or 100 times in a row and inspecting the output.  Once you have the
> hex
addresses, use "VLIST" to figure
> out what line in the program each address represents.

Does anyone have tips for doing the equivalent in Unidata (when you don't have 
source code, obviously)?  I end up using truss or strace to at least see which 
files are opened/written to, which can be instructive but really hard to follow.
-----------------------------------------
IMPORTANT NOTICE:   This message is intended only for the addressee
and may contain confidential, privileged information.  If you are not the 
intended recipient, you may not use, copy or disclose any information contained 
in the message.  If you have received this message in error, please notify the 
sender by reply e-mail and delete the message.
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
________________________________


Dave Davis
Team Lead, Research & Development

P: 614-875-4910 x108
F: 614-875-4088
E: dda...@harriscomputer.com
        [http://www.harriscomputer.com/images/signatures/HarrisSchools.jpg]

[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]<http://www.harriscomputer.com/>
        6110 Enterprise Parkway
Grove City, OH
43123
www.harris-schoolsolutions.com<http://www.harris-schoolsolutions.com>

This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to