Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7DEF99DA for ; Mon, 16 Apr 2012 07:41:22 +0000 (UTC) Received: (qmail 48326 invoked by uid 500); 16 Apr 2012 07:41:22 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 47651 invoked by uid 500); 16 Apr 2012 07:41:18 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 47612 invoked by uid 99); 16 Apr 2012 07:41:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 07:41:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of olegsivokon@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-iy0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 07:41:09 +0000 Received: by iaag37 with SMTP id g37so7200350iaa.6 for ; Mon, 16 Apr 2012 00:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=u/H7sTMG6fDnInWW0KfW73viGv5Gvhoz7lHDmenYZEY=; b=LcdFzwLOE/597ZZ28hwcJbYQtAHilvGzpcxp/QluibUJtqvvKwGhy0dwBqAlUyicGm UcCpQJBFLuxkFondH3L8fLslSmtAhfbolfJU00OE4huvG9al+KXyrWbSecM7kiTUMdTV bSzHSBJ35At76Y9Aq5+wsnhb9qJJXUg6Hsam2Aic1/LF2YNdLNbw4fcAuzR28rHh7nfr ZwsfebekWaEqqvb3IFGflt/uCJMVPZcC9H+tsWPW21qq7VFeRDRhg8GqPXbuyP0BXb0t +H9x2+2CGuEhkaoWigg3Qlg7ZFG75y3XY+PUvty1mBlaf4azCbvSLHRXmeuQ/m8YBolH PDdw== MIME-Version: 1.0 Received: by 10.42.136.202 with SMTP id v10mr1253523ict.32.1334562048656; Mon, 16 Apr 2012 00:40:48 -0700 (PDT) Received: by 10.43.124.200 with HTTP; Mon, 16 Apr 2012 00:40:48 -0700 (PDT) In-Reply-To: References: <4F8BA67A.6080900@leichtgewicht.at> Date: Mon, 16 Apr 2012 10:40:48 +0300 Message-ID: Subject: Re: [RT] MXMLC tests & future was: MXMLC now in trunk From: Left Right To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=90e6ba1efd4ad7440e04bdc6f018 --90e6ba1efd4ad7440e04bdc6f018 Content-Type: text/plain; charset=ISO-8859-1 > > > swfxprinter.java is in the donation and converts ABC code to text. > Something like it could be used to do analysis. > > I believe Martin meant something like a tool that mechanically proves that the generated bytecode is not erroneous. For example, if you have a conditional branch you want to check that after conditional branch joins back the execution routine all attempts to read / write from / to registers address the same (or same kind of) values. There are of course plenty of checks. Some (like this one) the compiler must do - it's a basic sanity check, but some more complex, the compiler doesn't do (for example, it is possible to analyze whether you are trying to read from a register containing null pointer) etc. These checks are usually very expensive in terms of performance, but I don't see why / how SWF execution must be involved, it's actually better if it's not involved, because some problems aren't possible to solve by a increasing the number of tests - they will tend to be infinite or just too many. Best. Oleg --90e6ba1efd4ad7440e04bdc6f018--