Browse Source

Убрана кодировка cp1251, ибо не нужна. Исправлен выбор конструктора без аргументов

master
Тим 1 year ago
parent
commit
be798ea73e

+ 1
- 1
CMakeLists.txt View File

@@ -28,7 +28,7 @@ getSrcList(${GSL}, FileMan)
file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST} ${GSL})


add_definitions("-std=c++14 -fexec-charset=CP1251")
add_definitions("-std=c++14")

add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_LIST})


+ 1
- 1
CleoDecompiler.cpp View File

@@ -77,7 +77,7 @@ bool CleoDecompiler::loadScript( SRString script )

memset( _decompileMap, 0, bin.size() );

for( int i = 0; i < bin.size(); ++i )
for( size_t i = 0; i < bin.size(); ++i )
_script[i] = bin.at( i );

return true;

+ 1
- 1
CleoDecompiler.h View File

@@ -86,7 +86,7 @@ public:
* \detail Load and parse SCM file
*/
CleoDecompiler( CFileText scm );
CleoDecompiler( CFileInfo SCM = CFileInfo("SASCM.INI") );
CleoDecompiler( CFileInfo SCM );
CleoDecompiler( SRString SCM = "SASCM.INI" );
CleoDecompiler( byte *address, size_t size );


+ 1
- 1
tests/decompile/allOpcode/CMakeLists.txt View File

@@ -35,7 +35,7 @@ file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST}
${LIB_CD_FMH})


add_definitions("-std=c++14 -ffunction-sections -fexec-charset=CP1251")
add_definitions("-std=c++14 -ffunction-sections")
set(BUILD_LFLAGS "-Wl,--gc-sections -Wl,--strip-all")
set(CMAKE_SHARED_LINKER_FLAGS ${BUILD_LFLAGS})


+ 1
- 1
tests/decompile/firstOpcode/CMakeLists.txt View File

@@ -35,7 +35,7 @@ file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST}
${LIB_CD_FMH})


add_definitions("-std=c++14 -ffunction-sections -fexec-charset=CP1251")
add_definitions("-std=c++14 -ffunction-sections")
set(BUILD_LFLAGS "-Wl,--gc-sections -Wl,--strip-all")
set(CMAKE_SHARED_LINKER_FLAGS ${BUILD_LFLAGS})


+ 1
- 1
tests/opcodes/CMakeLists.txt View File

@@ -35,7 +35,7 @@ file(GLOB ${PROJECT_NAME}_LIST ${${PROJECT_NAME}_LIST}
${LIB_CD_FMH})


add_definitions("-std=c++14 -ffunction-sections -fexec-charset=CP1251")
add_definitions("-std=c++14 -ffunction-sections")
set(BUILD_LFLAGS "-Wl,--gc-sections -Wl,--strip-all")
set(CMAKE_SHARED_LINKER_FLAGS ${BUILD_LFLAGS})


Loading…
Cancel
Save