revert the change to rofsbuild image format, but add checking codes to prevent address overflow
<?xml version="1.0" encoding="gb2312"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="rofsbuild"
ProjectGUID="{A68ED0C5-60D6-4281-8226-8F9830A424CF}"
RootNamespace="rofsbuild"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="\VCOutput\Bins"
IntermediateDirectory="\VCOutput\Int\$(ProjectName)\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
UseOfATL="0"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../imglib/boostlibrary;../../imglib/boostlibrary/boost;../rofsbuild;../rofsbuild/inc;../../imglib/inc;../../imglib/compress;../../imglib/memmap/include;../../imglib/patchdataprocessor/include;../../imglib/parameterfileprocessor/include;../../imglib/uniconv/include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__MSVCDOTNET__;__TOOLS__ ;__VC32__;_STLP_DEBUG=1;__OPERATOR_NEW_DECLARED__;"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
TreatWChar_tAsBuiltInType="false"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
DisableSpecificWarnings="4819;4996;4244;4334;4290"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="false"
OutputFile="$(OutDir)\$(ProjectName)D.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="../../imglib/boostlibrary/binary/windows;../stlport_5-2-1_vc90_staticlib"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
SubSystem="1"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="\VCOutput\Bins"
IntermediateDirectory="\VCOutput\Int\$(ProjectName)\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="1"
UseOfATL="0"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="../../imglib/boostlibrary;../../imglib/boostlibrary/boost;../rofsbuild;../rofsbuild/inc;../../imglib/inc;../../imglib/compress;../../imglib/memmap/include;../../imglib/patchdataprocessor/include;../../imglib/parameterfileprocessor/include;../../imglib/uniconv/include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;__MSVCDOTNET__;__TOOLS__ ;__VC32__;__OPERATOR_NEW_DECLARED__;"
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
DisableSpecificWarnings="4819;4996;4244;4334;4290"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
AdditionalLibraryDirectories="../../imglib/boostlibrary/binary/windows;../stlport_5-2-1_vc90_staticlib"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Sources"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\rofsbuild\fatcluster.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\fatimagegenerator.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\fsnode.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\r_build.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\r_coreimage.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\r_driveimage.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\r_driveutl.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\r_obey.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\r_rofs.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\r_smrimage.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\rofsbuild.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\symbolgenerator.cpp"
>
</File>
<Filter
Name="e32image"
>
<File
RelativePath="..\..\imglib\e32image\deflate\compress.cpp"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\decode.cpp"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\deflate.cpp"
>
</File>
<File
RelativePath="..\..\imglib\e32image\e32image.cpp"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\encode.cpp"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\inflate.cpp"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\panic.cpp"
>
</File>
</Filter>
<Filter
Name="compress"
>
<File
RelativePath="..\..\imglib\compress\byte_pair.cpp"
>
</File>
<File
RelativePath="..\..\imglib\compress\pagedcompress.cpp"
>
</File>
</Filter>
<Filter
Name="e32uid"
>
<File
RelativePath="..\..\imglib\e32uid\e32uid.cpp"
>
</File>
</Filter>
<Filter
Name="imglib_host"
>
<File
RelativePath="..\..\imglib\host\h_file.cpp"
>
</File>
<File
RelativePath="..\..\imglib\host\h_mem.cpp"
>
</File>
<File
RelativePath="..\..\imglib\host\h_utl.cpp"
>
</File>
<File
RelativePath="..\..\imglib\host\utf16string.cpp"
>
</File>
</Filter>
<Filter
Name="cache"
>
<File
RelativePath="..\rofsbuild\src\cache\cache.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\src\cache\cacheablelist.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\src\cache\cacheentry.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\src\cache\cacheexception.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\src\cache\cachegenerator.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\src\cache\cachemanager.cpp"
>
</File>
<File
RelativePath="..\rofsbuild\src\cache\cachevalidator.cpp"
>
</File>
</Filter>
<Filter
Name="memmap"
>
<File
RelativePath="..\..\imglib\memmap\source\memmap.cpp"
>
</File>
<File
RelativePath="..\..\imglib\memmap\source\memmaputils.cpp"
>
</File>
</Filter>
<Filter
Name="patchdataprocessor"
>
<File
RelativePath="..\..\imglib\patchdataprocessor\source\patchdataprocessor.cpp"
>
</File>
</Filter>
<Filter
Name="parameterfileprocessor"
>
<File
RelativePath="..\..\imglib\parameterfileprocessor\source\parameterfileprocessor.cpp"
>
</File>
</Filter>
<Filter
Name="uniconv"
>
<File
RelativePath="..\..\imglib\uniconv\source\uniconv.cpp"
>
</File>
</Filter>
</Filter>
<Filter
Name="Headers"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\rofsbuild\fatcluster.h"
>
</File>
<File
RelativePath="..\rofsbuild\fatimagegenerator.h"
>
</File>
<File
RelativePath="..\rofsbuild\fsnode.h"
>
</File>
<File
RelativePath="..\rofsbuild\r_coreimage.h"
>
</File>
<File
RelativePath="..\rofsbuild\r_driveimage.h"
>
</File>
<File
RelativePath="..\rofsbuild\r_driveutl.h"
>
</File>
<File
RelativePath="..\rofsbuild\r_obey.h"
>
</File>
<File
RelativePath="..\rofsbuild\r_rofs.h"
>
</File>
<File
RelativePath="..\rofsbuild\r_romnode.h"
>
</File>
<File
RelativePath="..\rofsbuild\r_smrimage.h"
>
</File>
<File
RelativePath="..\rofsbuild\symbolgenerator.h"
>
</File>
<Filter
Name="compress"
>
<File
RelativePath="..\..\imglib\compress\byte_pair.h"
>
</File>
</Filter>
<Filter
Name="e32image"
>
<File
RelativePath="..\..\imglib\e32image\deflate\deflate.h"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\farray.h"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\huffman.h"
>
</File>
<File
RelativePath="..\..\imglib\e32image\deflate\panic.h"
>
</File>
</Filter>
<Filter
Name="imglib_inc"
>
<File
RelativePath="..\..\imglib\inc\e32image.h"
>
</File>
<File
RelativePath="..\..\imglib\inc\fatdefines.h"
>
</File>
<File
RelativePath="..\..\imglib\inc\h_utl.h"
>
</File>
<File
RelativePath="..\..\imglib\inc\utf16string.h"
>
</File>
</Filter>
<Filter
Name="cache"
>
<File
RelativePath="..\rofsbuild\inc\cache\cache.hpp"
>
</File>
<File
RelativePath="..\rofsbuild\inc\cache\cacheablelist.hpp"
>
</File>
<File
RelativePath="..\rofsbuild\inc\cache\cacheentry.hpp"
>
</File>
<File
RelativePath="..\rofsbuild\inc\cache\cacheexception.hpp"
>
</File>
<File
RelativePath="..\rofsbuild\inc\cache\cachegenerator.hpp"
>
</File>
<File
RelativePath="..\rofsbuild\inc\cache\cachemanager.hpp"
>
</File>
<File
RelativePath="..\rofsbuild\inc\cache\cachevalidator.hpp"
>
</File>
</Filter>
<Filter
Name="memmap"
>
<File
RelativePath="..\..\imglib\memmap\include\memmap.h"
>
</File>
<File
RelativePath="..\..\imglib\memmap\include\memmaputils.h"
>
</File>
</Filter>
<Filter
Name="patchdataprocessor"
>
<File
RelativePath="..\..\imglib\patchdataprocessor\include\patchdataprocessor.h"
>
</File>
</Filter>
<Filter
Name="parameterfileprocessor"
>
<File
RelativePath="..\..\imglib\parameterfileprocessor\include\parameterfileprocessor.h"
>
</File>
</Filter>
<Filter
Name="uniconv"
>
<File
RelativePath="..\..\imglib\uniconv\include\uniconv.hpp"
>
</File>
</Filter>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>