File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -129,13 +129,16 @@ cmd_validate( char const * bin_path ) {
129129  fd_vm_tool_prog_create ( & tool_prog , bin_path  );
130130
131131  fd_vm_t  vm  =  {
132-     .text       =  tool_prog .prog -> text ,
133-     .text_cnt   =  tool_prog .prog -> info .text_cnt ,
134-     .text_off   =  tool_prog .prog -> info .text_off ,
135-     .entry_pc   =  tool_prog .prog -> entry_pc ,
136-     .calldests  =  tool_prog .prog -> calldests ,
137-     .syscalls   =  tool_prog .syscalls ,
138-     .trace      =  NULL 
132+     .rodata                 =  tool_prog .prog -> rodata ,
133+     .rodata_sz              =  tool_prog .prog -> rodata_sz ,
134+     .text                   =  tool_prog .prog -> text ,
135+     .text_cnt               =  tool_prog .prog -> info .text_cnt ,
136+     .text_sz                =  tool_prog .prog -> info .text_sz ,
137+     .text_off               =  tool_prog .prog -> info .text_off ,
138+     .entry_pc               =  tool_prog .prog -> entry_pc ,
139+     .calldests              =  tool_prog .prog -> calldests ,
140+     .syscalls               =  tool_prog .syscalls ,
141+     .trace                  =  NULL 
139142  };
140143
141144  /* FIXME: DO WE REALLY NEED THE WHOLE VM TO VALIDATE? */ 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments