Ignore:
Timestamp:
Mar 21, 2007, 9:26:56 PM (18 years ago)
Author:
dai_9181
Message:

TYPEINFO→Typeへのリファクタリングを実施。32bitが未完成。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/DebugMiddleFile.cpp

    r75 r76  
    832832    //プロセスメモリにコピー
    833833    extern HANDLE hDebugProcess;
    834     SIZE_T stAccBytes;
     834    SIZE_T accessBytes;
    835835    WriteProcessMemory(hDebugProcess,(void *)(ULONG_PTR)(dwImageBase+dwRVA_CodeSection),
    836836        BreakStepCodeBuffer,
    837         SizeOf_CodeSection,&stAccBytes);
     837        SizeOf_CodeSection,&accessBytes);
    838838
    839839
     
    849849
    850850    extern HANDLE hDebugProcess;
    851     SIZE_T stAccBytes;
     851    SIZE_T accessBytes;
    852852    IMAGE_DOS_HEADER ImageDosHeader;
    853     ReadProcessMemory(hDebugProcess,hModule,&ImageDosHeader,sizeof(IMAGE_DOS_HEADER),&stAccBytes);
     853    ReadProcessMemory(hDebugProcess,hModule,&ImageDosHeader,sizeof(IMAGE_DOS_HEADER),&accessBytes);
    854854
    855855    int pe_size;
     
    861861    pe_size=sizeof(IMAGE_NT_HEADERS);
    862862#endif
    863     ReadProcessMemory(hDebugProcess,(void *)(((ULONG_PTR)hModule)+ImageDosHeader.e_lfanew),&pe_hdr,pe_size,&stAccBytes);
     863    ReadProcessMemory(hDebugProcess,(void *)(((ULONG_PTR)hModule)+ImageDosHeader.e_lfanew),&pe_hdr,pe_size,&accessBytes);
    864864
    865865    IMAGE_SECTION_HEADER *pSectionHdr;
     
    869869        pSectionHdr,
    870870        pe_hdr.FileHeader.NumberOfSections*sizeof(IMAGE_SECTION_HEADER),
    871         &stAccBytes);
     871        &accessBytes);
    872872
    873873    int i;
     
    894894                buffer,
    895895                length,
    896                 &stAccBytes);
     896                &accessBytes);
    897897            buffer[length]=0;
    898898        }
     
    913913    ReadProcessMemory(hDebugProcess,
    914914        (void *)(ULONG_PTR)(dwImageBase+dwRVA_CodeSection),OpBuffer,
    915         SizeOf_CodeSection,&stAccBytes);
     915        SizeOf_CodeSection,&accessBytes);
    916916
    917917
Note: See TracChangeset for help on using the changeset viewer.