チェンジセット 2577

差分発生行の前後
無視リスト:
コミット日時:
2009/05/06 19:37:32 (3 年前)
コミッタ:
scisci
ログメッセージ:

Fixed patcher

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/swfassist/branches/abc-extended/src/org/libspark/swfassist/swf/abc/modifiers/ABCPatcher.as

    r2574 r2577  
    177177                private function patchComplete():void 
    178178                { 
     179                         
     180                        // Done patching methods 
    179181                        // Set the abcTag bytecode to the patched bytecode 
    180182                        output.position = 0; 
    181                         input.byteArray = output.byteArray; 
     183                        _tags[_tag].abcData = output.byteArray; 
     184                         
    182185                         
    183186                        if( ++_tag == _numTags ) 
     
    217220                        writer.writeABC( output, writerContext, _abcInfo, _timeLimit ); 
    218221                 
    219                         if( readerContext.cursor == ABCContext.CURSOR_COMPLETE )  
     222                        if( writerContext.cursor == ABCContext.CURSOR_COMPLETE )  
    220223                        { 
    221224                                patchComplete(); 
     
    389392                                transfers.length = 0; 
    390393                        } 
     394                         
     395                         
    391396                         
    392397                        trace("ABCInfoPatcher: Patched " + (i-_methodIndex) + " methods."); 
  • as3/swfassist/branches/abc-extended/src/org/libspark/swfassist/swf/abc/validators/ABCSecurityValidator.as

    r2574 r2577  
    4040                public function validate( state:ABCOpState, patch:ABCPatch ):Boolean 
    4141                { 
    42                         switch( state.opCode
     42                        switch( state.opCode()
    4343                        { 
    4444