POV-Ray : Newsgroups : povray.off-topic : Random fact of the day Server Time
30 Jul 2024 06:27:40 EDT (-0400)
  Random fact of the day (Message 51 to 56 of 56)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Darren New
Subject: Re: Random fact of the day
Date: 6 Jun 2011 19:30:22
Message: <4ded630e$1@news.povray.org>
On 6/6/2011 15:13, clipka wrote:
> Ah yes - a formal proof... pretty useful if your intention is to make sure a
> security-critical system never fails due to unforeseen errors.

That is the intention.

> As for making sure that a system is secure against /malicious intent/, I
> believe it's pretty useless.

No, it's very good at that.

> ... on its /official/ interface, i.e. the I2C bus data lines.

Naturally. All you're saying is that a formal system won't break as long as 
the underlying system matches the formalism.

It's *much* more difficult to mount an attack against a smart card when 
you're not physically in possession of the smart card than when you are. 
Plus, again, the attacks on the smart card aren't the same category as 
malware. With DRM, the card (or console or whatever) has to be able to 
perform its operations while hiding its results from observers. With 
malware, the system doesn't want to perform the operations at all.

The system relies on programs to obey the rules that the system enforces, 
just like your operating system relies on the hardware doing what the 
hardware says it does.

> Say you will - I think a formal analysis can never foresee /all/ possible
> attack vectors a system might exhibit.

It depends on the kind of attack you're trying to prevent. It's easy to show 
that formal analysis can foresee you never running off the end of an array 
to access memory belonging to another process. How much malware have you 
seen that takes advantages of flaws in the CPU mask? Formal analysis can 
foresee all possible attack vectors for particular attacks, assuming the 
mathematical system is isomorphic with the physical system. Of course if 
you're trying to hide information in one program from being observed by 
another, you have to take care that things not accounted for in the 
formalism (such as the timing) don't happen. But the things accounted for by 
the formalism can be shown not to happen, as long as the hardware (et al) 
obeys the same rules as the formalism.

In other words, it becomes far easier to check you're right, because you've 
written a very few number of rules that you have to manually check are 
correct, and the computer deduces from them that the top-level properties 
you want to hold do indeed hold.

And there have been formally-verified chip designs as well, where the 
assembly language was expressed in math and they proved that the chip mask 
made the chip follow the spec. (To some extent, I assume. I would imagine it 
would be difficult to prove that, for example, what you etched is what you 
thought you etched.)

-- 
Darren New, San Diego CA, USA (PST)
   "Coding without comments is like
    driving without turn signals."


Post a reply to this message

From: Invisible
Subject: Re: Random fact of the day
Date: 7 Jun 2011 04:09:38
Message: <4deddcc2$1@news.povray.org>
On 06/06/2011 08:52 PM, Darren New wrote:
> On 6/6/2011 11:10, Orchid XP v8 wrote:
>> Actually, last time I tried it, you can't do this in Windows either.
>
> Not only can you dismount it, when you remount it, you have the same cwd.
>
> Since every drive has a cwd, it would be impossible to dismount any
> drive if you couldn't dismount one where you had a cwd set.

Oh I see. You're saying that you can dismount it even if there's a 
remembered path. I'm saying you can't dismount it if it's the *current* 
path.

>> What was a good idea 40 years ago is not necessarily a good idea today.
>
> That doesn't make it a kludge or a wtf or a random. It makes it an idea
> whose time has passed.

A kludge to rush something to market a few months earlier is still a 
kludge 40 years later, yes.


Post a reply to this message

From: Darren New
Subject: Re: Random fact of the day
Date: 7 Jun 2011 10:01:12
Message: <4dee2f28$1@news.povray.org>
On 6/7/2011 1:09, Invisible wrote:
> Oh I see. You're saying that you can dismount it even if there's a
> remembered path. I'm saying you can't dismount it if it's the *current* path.

Oh, I see. This changed over time to actually include a lock on the current 
path. It didn't always used to do that.

> A kludge to rush something to market a few months earlier is still a kludge
> 40 years later, yes.

Well, in that event, pretty much everything in the world is a kludge, 
including every human being (who is born some 9 months earlier than they 
should be so the head can fit through the birth canal.)

-- 
Darren New, San Diego CA, USA (PST)
   "Coding without comments is like
    driving without turn signals."


Post a reply to this message

From: Invisible
Subject: Re: Random fact of the day
Date: 7 Jun 2011 10:03:26
Message: <4dee2fae@news.povray.org>
>> A kludge to rush something to market a few months earlier is still a kludge
>> 40 years later, yes.
>
> Well, in that event, pretty much everything in the world is a kludge,
> including every human being

Oh hey, biology is, like, the *ultimate* super-kludge!

Then again, biology wasn't designed by a concious intelligence.


Post a reply to this message

From: Invisible
Subject: Re: Random fact of the day
Date: 8 Jun 2011 06:57:49
Message: <4def55ad@news.povray.org>
Now here's another random thing:

The syntax for a drive is a letter followed by a colon.
The syntax for a device is a few letters followed by a colon.
The syntax for an ADS is a file name followed by a colon followed by a 
stream name.

So consider the string "C:Foo".

Is that the file "Foo" in the current directory on "C:"?
Or is that a file named "C" with an ADS named "Foo"?

Answers on a postcard...


Post a reply to this message

From: Jim Henderson
Subject: Re: Random fact of the day
Date: 8 Jun 2011 13:22:43
Message: <4defafe3$1@news.povray.org>
On Wed, 08 Jun 2011 11:57:48 +0100, Invisible wrote:

> So consider the string "C:Foo".
> 
> Is that the file "Foo" in the current directory on "C:"? Or is that a
> file named "C" with an ADS named "Foo"?

It's just a string.  The context in which the string is used is important.

If "Foo" is a file, then it would hardly be stored as the CWD in memory 
on the machine - for example.

Jim


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.