Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Officeyutong committed Nov 22, 2023
1 parent c1cd832 commit 9cdfedd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runtime/src/attach/attach_manager/frida_attach_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int frida_attach_manager::attach_at(void *func_addr, callback_variant &&cb)
.first;
inner_attach->user_attaches.push_back(
inserted_attach_entry->second.get());
inserted_attach_entry->second->internal_attache = inner_attach.get();
inserted_attach_entry->second->internal_attach = inner_attach.get();
return result;
}

Expand Down Expand Up @@ -141,7 +141,7 @@ int frida_attach_manager::destroy_attach(int id)
{
void *drop_func_addr = nullptr;
if (auto itr = attaches.find(id); itr != attaches.end()) {
auto p = itr->second->internal_attache;
auto p = itr->second->internal_attach;

auto &user_attaches = p->user_attaches;
auto tail =
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/attach/attach_manager/frida_attach_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class frida_attach_entry {
base_attach_manager::callback_variant cb;
void *function;

class frida_internal_attach_entry *internal_attache;
class frida_internal_attach_entry *internal_attach;
friend class frida_attach_manager;
friend class frida_internal_attach_entry;

Expand Down

0 comments on commit 9cdfedd

Please sign in to comment.