Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Using PS3's To Forge Site Certificates » For those wondering "Why Playstation 3s?"
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Post a:
Post a:
« Anyone get a replacement cert?  
AuthorAll Replies


TSI Gabe
Premium,VIP
join:2007-01-03
Chatham, ON
reply to Steve
Re: For those wondering "Why Playstation 3s?"

That was the C compiler optimizing my code into doing nothing quite literally. Sometimes those C optimizations don't really help...


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

said by TSI Gabe See Profile :

That was the C compiler optimizing my code into doing nothing quite literally. Sometimes those C optimizations don't really help...
It's far more likely that your optimizer found a bug in your code than you found a bug in the optimizer.

The problem with compilers is that they do exactly what you ask them too bad women and children won't follow that example

Steve
--
Stephen J. Friedl | Unix Wizard | Microsoft Security MVP | Orange County, California USA | my web site


TSI Gabe
Premium,VIP
join:2007-01-03
Chatham, ON
No Actually removing a printf simply displaying the value being calculated completely removed the md5 function from the code.


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

said by TSI Gabe See Profile :

No Actually removing a printf simply displaying the value being calculated completely removed the md5 function from the code.
The compiler did what it was supposed to do: if you were calling a function that had no side effects, it knew that it could eliminate the call without having any effect on correct operation. It was right.

Benchmarking is a known science; calling your operation in a way that insists on a side effect (as I'm sure you found) lets you get the effect you want.

Steve
--
Stephen J. Friedl | Unix Wizard | Microsoft Security MVP | Orange County, California USA | my web site
-
Forums » Using PS3's To Forge Site Certificates« Anyone get a replacement cert?  


Saturday, 28-Nov 17:49:03 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [122] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [96] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [80] TiVo Sees Record Customer Losses
· [70] Verizon CEO: Hulu Will Be Dead Soon
· [69] In-Flight Internet Headed For Bumpy Landing?
· [63] Weekend Open Thread
· [62] Thanksgiving Open Thread
· [40] EFF Wages War On Fine Print
Most people now reading
· Windows 7 boot manager editing questions [Microsoft Help]
· Using AirMax to provide triple play services? [Wireless Service Providers]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· Why would I want an e reader? [General Questions]
· [ Classes] Druid tanking: rotation and glyphs [World of Warcraft]
· Gizmo5 has added a Google Voice section in its members area. [VOIP Tech Chat]
· [ PVP] 3.2 DK PvP D/W Spec... [World of Warcraft]
· Opera 10.10 keeps opening ICF ports - security issue? [Security]
· how to use the 2nd line with phone hooked to the 1st line? [VOIP Tech Chat]