Quantcast
Channel: Tuts 4 You : Forum
Viewing all articles
Browse latest Browse all 2730

Searching flash/actionscript loaded object

$
0
0



hi guys

 

First of all, I hope I started this new thead on thew right spot...


I'm looking for windbg/OllyDbg/idapro script which can be use
to print or get memory location of flash/actionscript loaded
object such as Vector, Array, String object, etc...

Also other then script, I am looking the tutorial
to print or get memory location of flash/actionscript.

 

Or any tutorial to get flash/actionscript object
memory layout


I need this info so I can dump or see flash/actionscript object
memory layout

I read and  tryed various tutorial including the one on CoreLan Website
Still I just cannot find it.

 

I watched Heap Inspector videoo too, But Im stucked

I m stucked, I REALLY need helps. Thanks in advance ....

Here is my heap Spray Code which I compiled using flex Sdk 4.6:


package {
    import flash.display.Sprite;
    import flash.utils.ByteArray;
    import flash.errors.EOFError;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    import flash.text.TextFormatAlign;
    
    
    
    public class Heap_Spray extends Sprite {
            private var oByteArray:ByteArray = new ByteArray();
            private var logger:TextField = new TextField();        
            
            
        private function log(msg:String): void
        {
            logger.appendText(msg+"\n");
        }
            public function Heap_Spray() {
            logger.width = 980;
            logger.height = 425;
            logger.x = (stage.stageWidth - logger.width) / 2;
            logger.y = 150;
            
            var statusTextFormat:TextFormat = new TextFormat();
            statusTextFormat.color = 0xeeeeee;
            statusTextFormat.font = "Verdana";
            statusTextFormat.align = TextFormatAlign.CENTER;
            statusTextFormat.size = 12;
            logger.defaultTextFormat = statusTextFormat;
            logger.wordWrap = false;
            logger.opaqueBackground = 0x999999;            
            
            addChild(logger);            
            
            
            var i:int = 0;
            while(i<100000){
                oByteArray.writeMultiByte("#AssCode", "us-ascii");
                oByteArray.writeMultiByte("#BadCode", "us-ascii");
                
                i++;
                }
            log("Heap_Spray = FINISH i<100 000 !..................." );




        }
    }
}
 


Viewing all articles
Browse latest Browse all 2730

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>