I have read conflicting things on the Internet. Some poster suggest that a regular service visit to the dealer will reveal the re-flashed ECU and afford the dealer the opportunity to reject warranty service for engine and transmission components.
I guess it all depends on the service writer and how much business you have given that dealer! I have had zero problems getting warranty work!!