Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 20, 2024
1 parent 08daf44 commit 8672449
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions bindings/gumjs/gumv8process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ static void gum_js_process_run_cb (const GumCpuContext * cpu_context,
static void gum_v8_flush_stalker (GumV8Process * self);
static gboolean gum_v8_flush_stalker_callback (GumV8Process * self);


const gchar * gum_v8_script_exception_type_to_string (GumExceptionType type);

static const GumV8Property gumjs_process_values[] =
Expand Down Expand Up @@ -570,7 +569,7 @@ GUMJS_DEFINE_FUNCTION (gumjs_process_run_on_thread)

static void
gum_js_process_run_cb (const GumCpuContext * cpu_context,
gpointer user_data)
gpointer user_data)
{
GumV8RunOnThreadContext * context = (GumV8RunOnThreadContext *) user_data;
auto core = context->core;
Expand Down
3 changes: 2 additions & 1 deletion gum/backend-arm64/gumstalker-arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -5967,7 +5967,8 @@ gum_stalker_do_run_on_thread (GumThreadId thread_id,

#ifdef HAVE_PTRAUTH
ctx->infect_body = GPOINTER_TO_SIZE (ptrauth_sign_unauthenticated (
GSIZE_TO_POINTER (ctx->infect_body), ptrauth_key_process_independent_code,
GSIZE_TO_POINTER (ctx->infect_body),
ptrauth_key_process_independent_code,
ptrauth_string_discriminator ("pc")));
#endif
gum_exec_ctx_write_prolog (ctx, GUM_PROLOG_MINIMAL, cw);
Expand Down
1 change: 0 additions & 1 deletion gum/gumstalker.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ gum_stalker_run_on_thread_sync (GumStalker * self,

return TRUE;
}

}

static void
Expand Down
1 change: 0 additions & 1 deletion tests/core/arch-arm/stalker-arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ static GThread * create_sleeping_dummy_thread_sync (volatile gboolean * done,
GumThreadId * thread_id);
static gpointer sleeping_dummy (gpointer data);


TESTCASE (trust_should_be_one_by_default)
{
g_assert_cmpuint (gum_stalker_get_trust_threshold (fixture->stalker), ==, 1);
Expand Down
1 change: 0 additions & 1 deletion tests/core/arch-x86/stalker-x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ static GThread * create_sleeping_dummy_thread_sync (volatile gboolean * done,
GumThreadId * thread_id);
static gpointer sleeping_dummy (gpointer data);


static const guint8 flat_code[] = {
0x33, 0xc0, /* xor eax, eax */
0xff, 0xc0, /* inc eax */
Expand Down

0 comments on commit 8672449

Please sign in to comment.