File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ LM_EnumSegments(lm_bool_t (LM_CALL *callback)(lm_segment_t *segment,
4848 segment .base = (lm_address_t )meminfo .BaseAddress ;
4949 segment .size = (lm_size_t )meminfo .RegionSize ;
5050 segment .end = segment .base + segment .size ;
51- segment .prot = get_prot (meminfo .AllocationProtect );
51+ segment .prot = get_prot (meminfo .Protect );
5252
5353 if (callback (& segment , arg ) == LM_FALSE )
5454 break ;
@@ -91,7 +91,7 @@ LM_EnumSegmentsEx(const lm_process_t *process,
9191 segment .base = (lm_address_t )meminfo .BaseAddress ;
9292 segment .size = (lm_size_t )meminfo .RegionSize ;
9393 segment .end = segment .base + segment .size ;
94- segment .prot = get_prot (meminfo .AllocationProtect );
94+ segment .prot = get_prot (meminfo .Protect );
9595
9696 if (callback (& segment , arg ) == LM_FALSE )
9797 break ;
You can’t perform that action at this time.
0 commit comments