2020-05-17 20:43:04 +02:00
|
|
|
#include "PluginInformation.h"
|
|
|
|
|
2020-05-28 20:51:31 +02:00
|
|
|
PluginInformation::PluginInformation(const PluginInformation &other) {
|
|
|
|
for (size_t i = 0; i < other.hook_data_list.size(); i++) {
|
2020-05-17 20:43:04 +02:00
|
|
|
hook_data_list.push_back(other.hook_data_list[i]);
|
|
|
|
}
|
2020-05-28 20:51:31 +02:00
|
|
|
for (size_t i = 0; i < other.function_data_list.size(); i++) {
|
2020-05-17 20:43:04 +02:00
|
|
|
function_data_list.push_back(other.function_data_list[i]);
|
|
|
|
}
|
2020-05-28 20:51:31 +02:00
|
|
|
for (size_t i = 0; i < other.relocation_data_list.size(); i++) {
|
2020-05-17 20:43:04 +02:00
|
|
|
relocation_data_list.push_back(other.relocation_data_list[i]);
|
|
|
|
}
|
|
|
|
section_info_list = other.section_info_list;
|
|
|
|
trampolinId = other.trampolinId;
|
|
|
|
allocatedTextMemoryAddress = other.allocatedTextMemoryAddress;
|
|
|
|
allocatedDataMemoryAddress = other.allocatedDataMemoryAddress;
|
|
|
|
}
|