Using RSECT instead of CSECT would result in your example being flagged 
as non-reentrant (self modifying) but it wouldn’t catch any indirect 
modification such as:            LA    R5,LABEL            MVI  0(R5),0LABEL DS 
  0H             B.     THERE The example would also cause the instruction 
cache line to be flushed which isn’t great.There’s almost no reason to use 
self-modifying code that makes sense anymore...
Keven
        
        

        
    
  




On Mon, Apr 22, 2019 at 10:06 AM -0500, "Joseph Reichman" 
<[email protected]> wrote:










Had second thoughts and thought this forum to be more appropriate 

Thanks 


J

Begin forwarded message:

> From: Joseph Reichman 
> Date: April 22, 2019 at 9:25:10 AM EDT
> To: [email protected]
> Subject: Sysadata symbol and literal cross reference record type x’44’
> 
> Hi
> 
> For programs that have self modifying code 
> Adata record type 44 can prove to be a valuable tool in identifying them as 
> the reference flag has a ‘M’ 
> 
> However I wonder if there is a easy way to identify code that is being 
> modified by location counter I.E MVI *+5,X’00’ and the following instruction 
> is for example B   AROUND
> 
> 
> Thanks

Reply via email to