Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] api-resolver: Add Swift API resolver #750

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion gum/gumapiresolver.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2016-2022 Ole André Vadla Ravnås <[email protected]>
* Copyright (C) 2016-2023 Ole André Vadla Ravnås <[email protected]>
* Copyright (C) 2023 Håvard Sørbø <[email protected]>
*
* Licence: wxWindows Library Licence, Version 3.1
*/
Expand Down Expand Up @@ -73,6 +74,7 @@
#include "gumapiresolver.h"

#include "gummoduleapiresolver.h"
#include "gumswiftapiresolver.h"
#ifdef HAVE_DARWIN
# include "backend-darwin/gumobjcapiresolver.h"
#endif
Expand Down Expand Up @@ -114,6 +116,9 @@ gum_api_resolver_make (const gchar * type)
if (strcmp (type, "module") == 0)
return gum_module_api_resolver_new ();

if (strcmp (type, "swift") == 0)
return gum_swift_api_resolver_new ();

#ifdef HAVE_DARWIN
if (strcmp (type, "objc") == 0)
return gum_objc_api_resolver_new ();
Expand Down
Loading