2

Enterprise Architect ツールを使用してリバース エンジニアリングに関連するプロジェクトを実行しています。しかし、C/C++言語でリバースエンジニアリングを行うと不明なエラーが発生します。エラーログは次のとおりです。

There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\7z\7zDecode.cpp  on line 91.  Unexpected symbol: *   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\7z\7zEncode.h  on line 36.  Unexpected symbol: * 
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\7z\7zHandler.h  on line 46.  Unexpected symbol: public   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\7z\7zIn.h  on line 210.  Unexpected symbol: baseOffset   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\7z\7zOut.h  on line 103.  Unexpected symbol: &   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\7z\7zUpdate.h  on line 74.  Unexpected symbol: * 
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Cab\CabBlockInStream.h  on line 37.  Unexpected symbol: void 
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Cab\CabHandler.h  on line 22.  Unexpected symbol: private    
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Chm\ChmHandler.h  on line 22.  Unexpected symbol: private    
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Chm\ChmHeader.cpp  on line 14.  Unexpected symbol: { 
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Chm\ChmIn.h  on line 208.  Unexpected symbol: PURE   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Com\ComHandler.h  on line 23.  Unexpected symbol: STDMETHOD  
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\CoderMixer2MT.h  on line 59.  Unexpected symbol: ISequentialInStream  
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\CoderMixer2ST.h  on line 43.  Unexpected symbol: GetInStream  
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\CoderMixerMT.h  on line 50.  Unexpected symbol: ISequentialInStream   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\CrossThreadProgress.h  on line 34.  Unexpected symbol: const  
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\DummyOutStream.h  on line 20.  Unexpected symbol: const   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\InStreamWithCRC.h  on line 19.  Unexpected symbol: void   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\OutStreamWithCRC.h  on line 22.  Unexpected symbol: const 
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Common\OutStreamWithSha1.h  on line 22.  Unexpected symbol: const    
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Hfs\HfsHandler.h  on line 22.  Unexpected symbol: }  
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Iso\IsoHandler.h  on line 25.  Unexpected symbol: STDMETHOD  
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Nsis\NsisDecode.h  on line 41.  Unexpected symbol: * 
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Nsis\NsisHandler.h  on line 19.  Unexpected symbol: public   
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Nsis\NsisIn.h  on line 136.  Unexpected symbol: *    
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Rar\RarHandler.h  on line 19.  Unexpected symbol: public 
You may need to define a language macro.    
There was an error parsing C:\Users\soo\Desktop\7z920\7zip\Archive\Rar\RarVolumeInStream.h  on line 26.  Unexpected symbol: void    
You may need to define a language macro.

#defineエラーログを確認したところ、「 」「 」などのプリプロセッサで処理するコードによるエラーがほとんどだったと思います#ifdef

この問題を解決するにはどうすればよいですか? Enterprise Architect はリバース コードをプリプロセッサで処理できますか?

もう 1 つ質問があります。

ファイルのリバース中に特定の行でエラーが発生した場合、Enterprise Architect がそのファイルのエラー行以降を処理しないことがわかりました。

そのエラー行をスキップして、そのファイルを連続して処理できる機能はありますか?

4

1 に答える 1