Skip to content

Commit

Permalink
some compilation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Jun 2, 2024
1 parent 2ae91d6 commit c8d1651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/convention/Windows64Convention.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace {

ThiscallConvention::~ThiscallConvention() {}

void ThiscallConvention::generateDefaultCleanup(BaseAssembler& a, AbstractFunction const& function) {
void ThiscallConvention::generateDefaultCleanup(BaseAssembler& a_, AbstractFunction const& function) {
size_t stackParamSize = getStackParamSize(function);
if (stackParamSize > 0) {
auto& a = static_cast<X64Assembler&>(a_);
Expand Down
7 changes: 1 addition & 6 deletions src/generator/ArmV7Generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,7 @@ std::vector<uint8_t> ArmV7HandlerGenerator::intervenerBytes(uint64_t address) {
return std::move(a.m_buffer);
}

std::vector<uint8_t> ArmV7HandlerGenerator::trampolineBytes(uint64_t address, size_t offset) {
// Dobby handles the creation of the trampoline
return {};
}

Result<> ArmV7HandlerGenerator::generateTrampoline(int64_t target) {
Result<> ArmV7HandlerGenerator::generateTrampoline(uint64_t target) {
auto origin = new CodeMemBlock((uint64_t)Target::get().getRealPtr(m_address), target);
auto relocated = new CodeMemBlock();
// idk about arm thumb stuff help me
Expand Down

0 comments on commit c8d1651

Please sign in to comment.