This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make GRR build on macOS. grrshot itself is not usable on macOS, though.
- Loading branch information
Showing
18 changed files
with
309 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
/* Copyright 2015 Peter Goodman, all rights reserved. */ | ||
|
||
#ifdef __APPLE__ | ||
# define SYMBOL(x) _ ## x | ||
#else | ||
# define SYMBOL(x) x | ||
#endif | ||
|
||
.file "granary/arch/x86/syscall.S" | ||
.intel_syntax noprefix | ||
.text | ||
|
||
// NextAppPC32 cache::Call(os::Process32 *process, CachePC block); | ||
.align 16 | ||
.globl sys_sigreturn; | ||
.type sys_sigreturn, @function | ||
sys_sigreturn: | ||
.globl SYMBOL(sys_sigreturn); | ||
SYMBOL(sys_sigreturn): | ||
.cfi_startproc | ||
mov eax, 15 // `__NR_rt_sigreturn`. | ||
syscall | ||
.cfi_endproc | ||
.size sigreturn, .-sigreturn | ||
ud2 |
Oops, something went wrong.