#development
1 messages · Page 4 of 1
as a workaround though just put all your resources in a .c with (sadly) global variables and then import 
or a global function with a local static
get_vertex_shader_001_bytes();

TFW xcode 13 still lacks c++ 20 abis
the true 10x programmer way
Oh true
you'd think he'd prove his innocence by just removing the code and moving on with his life, shrug
now this is cool
No, you are using an actual ide when you could be using vscode with 130+ plugins
project compile times in shambles
wow
does anyone know how that hello animation during setup works?
is there a way (when hooking a jailed app) to detect if the clipboard currently has text from the current app or a different one?
basically trying to make a tweak to stop pastes from other apps from happening automatically when not user initiated, which is super annoying especially on ios 16
looking at you chrome and spotify
chrome even tries to read your clipboard in the background while you’re using another app
the ios 16 prompt is awful whoever designed that should feel bad
Facts
The fact it comes to nearly every time I press paste is annoying too
Even to copy from my MacBook using handoff brings the pop up too
does that just get 4 random bytes
clang and gcc are slow as balls anyway so it probably wont be much different

are they though
ya
lies
are they though
we "fixed" them being slow by throwing more cores at the problem I guess
can't believe I used to dev on a 1.1GHz dual-core i5 MacBook Air
is there even a reference for what "fast" is in this case
cannot accept any less than an i9/Ryzen 9/Apple Silicon Pro/Max at this point
no clue where the slow thing comes from
not sure how you'd even benchmark that a compiler is slow, what would the reference of a fast C/C++ compiler be if they're supposedly all slow
Dw, I’m there rn
still a mighty machine for getting stuff done on 😉
back before AMD gave Intel the kick in the butt they needed, mobile i7 was actually pretty much a higher-binned i5 with hyperthreading enabled
The sad truth 🥲
Isn’t threading slower than having 4 cores?
definitely
It also idles at 1.11GHz
it's better than not having it, but still 2 CPUs pretending to be 4 CPUs will never be better than actually having 4 CPUs
Some of these IDEs are heavy af too
Even android studio takes a hot minute to load a new project on my desktop pc
I only have an AMD 5600X so there’s room for improvement
I didn't notice a real difference between IntelliJ and Android Studio, shrug
at one point I did iOS dev on a Celeron 2955U chromebook with 2 GB RAM and 16 GB SSD
you enjoyed torturing yourself 🙃
How developers can make tweaks in ipa when we cant decompile/extract source code?
is there a way to make tweaks in swift
orion
ok!! thanks 🙂
is that what macos calls logical cpu cores
what year?
2013
yep, well that's the general term for it
logical cores = physical cores * threads per physical core
I somewhat regret buying this because I got the 128GB/4GB RAM (!) base model, then only about 1-2 months later Apple released the 2014 which I think was the one that upgraded to Broadwell and bumped the base model to 8GB
2015 was a minor spec bump of that, staying in the Broadwell platform, and "2017" was really the 2015 with a slightly different CPU because Intel stopped making the specific models Apple were using
so I got pretty unlucky
but hey oh well, some old guy bought it from me and I'm sure it's having an easier life now than when I owned it
wouldn't that be cool if you could still do that
@lime pivot what's the tldr on current best way to respring?
I remember seeing a blog post from you somewhere but cant find it
it was in the channel pins please ignore me
sbreload
I've still had issues with it entirely breaking springboard for me
other bootstrap had? has? an issue with iirc triggering an sbreload during another sbreload
breaks all programs
like if you trigger one while it's still starting up and you can see lockscreen UI, but it's not actually done respringing yet
bc alternative build system is fast enough that you can build+install, notice a small issue, correct, then build+install a new fix before the last sbreload finishes properly
probably not difficult to repro on a properly set up theos either, just happened enough with mine i had to change the default behavior
alternative build system on the other jailbreak
@grave sparrow for stumble guys, did you decrypt the entire ipa for me
or just the binary
Man I hate learning UI. This class about android is kicking my ass.
Doesn’t help that it’s 2 am
now did you send me the whole ipa or just the binary
bc i can onyl find the binary
interesting
i tried
i didnt find
this banger tho
gm
Setter, but just do both thats what i used to do
Depends on situation. Mostly you can get away with getter, but there are odd cases where some classes use the underlying ivar in some methods and property to read in others.
Setter would be better in that case.
There are also cases where you may want to avoid setters, like cases where setters that store the data to permanent storage which would have side effects in non-jailbreak mode.
better to store permanently, tweaks while in jailed 💯







actually, how does the appstore uicache app store apps? im assuming it uses a tool similar to uicache?
maybe installd does it
pretty sure that’s how anemone works also
(which is why it broke on 14)
there’s some research yet to be done to make uicache better on 14
It does something similar to modern uicache /cc @restive ether
I had documentation for it in 2019 but uh the docs never saw the light of day before I lost them
but didn’t some stuff change in ios 14, hence why anemone doesn’t work
so it could work better on 14 at least, could probably apply it to 15 also
yeah because i know anemone messed with uicache to get it to persist
which is pretty cool
Yep and that’s how new uicache happened too
but didn’t some stuff change in ios 14, hence why anemone doesn’t work
so it could work better on 14 at least, could probably apply it to 15 also
you: 
you: 
pepega
Hey guys! I tethered downgrade my iPhone 7 using sunst0rm from iOS 15.6 to iOS 14.8 and after successfully downgrading I don’t boot to OS, but checkm8 exploit don’t working after downgrade. DFU mode not PWNed. Why??? I flashed latest signed iOS via iTunes for fix my device and DFU exploit not worked for me… Why?? Maybe USB driver issue? I use Windows for PWN DFU and guest VMware MacOS for use sunst0rm tool
Later I try using Ubuntu for PWN DFU and flash generated sunst0rm images. But this situation really interested, DFU PWNing worked before downgrading iOS…
And what different pwning DFU using gaster and default ipwndfu? Why pwning results for this two methods is different??
i would never use *67 for this
i want them to know it’s me

ok.

🤨 I didn’t realise that gets pushed into the feed lmao
nah intentional
I remembered github has followers so I looked at mine and followed people I recognised
nope
Rude.
/s
GM tho
how i can install wsl in win7
i see this
no theos for win7?
ya i tried
didnt
no more i guess support only old SDKs
i remember

where the fuck do i find ToS for digital products
i need a terms of service and privacy policy
did that happen
No lol
wait you take that thing?
Why are you reading very old chat
because it's entertaining
like when I do meth
nah
Why are you replying to years old chats
if they cut objc they’ll have to cut every app store app
bc they all use uikit or foundation

swiftui supremacy 
If they cut objc they’ll have to rewrite ios
this is untrue
Shut


Hey
hi
a lawyer
I’m sure you’ve already gone through this but if you need this, the Windows 10 upgrade is still free if you download and run setup.exe
otherwise if you’re looking for something newer than we support with Cygwin then consider dual booting a Linux distro, or running it in something like VirtualBox
@lime pivot since i have 2009 pc i tried win10 linuxmint lubuntu all was slow . anyway thanks
do you have an SSD in this machine?
if not that will bring some extra life to it and make it more usable for slightly longer
false
anyway sideload ipa from win7?
nope
I'd strongly recommend getting a used one
okay thanks they r a bit expensive but thanks
new would be better since they have limited life (wear cycles) but it's a 13 year old laptop, I wouldn't worry about lifespan so much heh
do u know abt this
if you can't get Sideloadly or AltServer working then there's probably no good solution
maybe an older version of Sideloadly could work, but it depends in the end whether it uses a Python version that's supposed to work on 7
I don't think Python 3.8 does and that's what it's trying to load
looks like 3.8 is actually the last version to support 7. it should work…
do you not have windows 7 SP1?
right click Computer --> Properties, that should tell you if it's SP1 or not
its sp1
might need to install a few more updates you're missing
check windows update, see if anything shows up
ugh stupid Microsoft
try installing this http://www.microsoft.com/download/details.aspx?familyid=42fdab9d-2513-46eb-9082-68ba98ba4647
it found one ,updating
here's the full list of updates you have to install actually https://www.reddit.com/r/windows7/comments/lnobhu/fix_update_error_80072efe_on_new_installations_of/
26 votes and 18 comments so far on Reddit
better to update 8.1 lol
honestly, yeah you'll have less issues and it's still supported for a tiny bit longer
is wsl working on win 8.1?
damn
hey does anyone know why I can't get MobileLoader to load anything into mediaserverd?
i assume its cus of get-task-allow: false but i really just have no idea
if i can get this to work i'm pretty sure I can get ffmpeg camera working
Man I spent way to much time making a simple pedometer app for android just to realize I can’t test it without a real device 
Can u not simulate a shake on adb
True
Only capt
anyway thanks bro. also i love your repo
You can but SENSOR_STEP_COUNT is never available
The sensor is null after initializing it
anyone know how i can fix this error?
any way i can force install without uninstalling
or something
or if i can just somehow force uninstall
this didnt work either
but then i'd like to get it removed from homebrew
so it isn't sitting there "installed" but not actually installed
doesnt work
just more errors
how do i create a file at /usr/bin/idea
it's not permitted
idk
brew experience
Brew users
yeah /usr/bin is off limits
that cask probably hasn’t been updated for big sur
or whenever they added SSV idk
or they didn’t patch said project to just use a different directory
im pretty sure i've updated it tons of times since big sur
import yulkhooker as yh
@yh.hook("UIView", "-layoutSubviews")
def layoutSubviewsHook(orig):
print("message")
orig()
now someone write yulkhooker
/var doesn't exist
PLEASEEE
transpile
or copy what objective script does (idk what)
transpile
python is written in c
But it lacks C features compared to other languages like Swift
not true
Use function pointers in python
you can just write a c module and expose it to python
use dn
lets goooo
ty for the advice! i think maybe i needed to do some filter changing?
my biggest issue was getting nothing out of the syslog so I ended up just logging to files
that’s protected by SIP, you want /usr/local/bin
it uses /opt/Caskroom as its database, so you can delete the intellij-idea dir there
imagine not knowing this....
@opal ridge remember when we talked about the newest distro I can run on my oldest pc? https://www.theregister.com/2022/08/10/netbsd_93/
I mean it’s not Linux but hey
i wish i had a macbook to develop ios jailbreaks, but i only have a laptop
ik i don't know how, but i can probably take courses for swift/objective-c
and i can't hackintosh cause my laptop is ryzen, so what can i do?
You don’t need a mac to build for iOS
your kernel was probably older, maybe thats why it didnt work
what can i use?
idk, cuz i cant install xcode
If you want to start with tweaks you can use Theos
wait a minute...
do most jb devs seriously start with tweaks?
I don’t know
But if you don’t know any objective c I think jumping straight into jailbreak development could be difficult
Hell no
doubt that’s the reason
can't find any courses

its better to start with a language closer to english
basic 
you’ll understand a lot of core programming concepts then
and then you can apply that knowledge to other langs
true 
or be like @grave sparrow and write in assembly
i was just gonna say that
“if you wanted to be evil recommend assembly”
i need to learn how to do assembly
like i started but
never finished
or atleast tried to do it

lua

what android version is this from actually 
english isnt a programming language, ppl speak it, they dont program with it
how about you shut the fuck up
idk
maybe 4-5
what did i do?
he didn’t mean to use english to program
give a shitty opinion also cant read
he meant look for a language that looks closely to english spelling
so you can get the hang of it
before diving into
whatever else you wanna try
^
whats that opinion? i didnt give ANY opinion whatsoever
ignore the opinion part
how can i not read though?
sorry
obsessed with this emoji
Yes
its a very common emotion to feel so like
WatchTube is a lot of fun
lets hope autocorrection doesnt turn srry into sorry
wish i could add an eq
checkra1n started development in... i think october 2019
they said it would release nov 8th, but they didnt want the release to end up saying it was for 12.3-13.2
so it released nov 10th instead
ermmm then what language are you programming in, spanish? 🤓
si empieza,
mueve a hasta b
otro
regresar 0
true, i wish i had a macbook to develop ios jailbreaks, but i only have a laptop
true
basic
then F
8===D
an anisette server was recently written in it
what lang

Its trying to read a file named /use/bin/idea though
Dart
dart
Where is the J programming language
java
Worst language
ikr
ikr

fr
tr
i hate triangles
trans?
yes
gm
why does mach_vm_read_overwrite return invalid address?
Wait what’s wrong with Java
Wdym
@gentle grove
mostly just meming
its actually a pretty good language
there are a lot of way worse languages
I like it. Haven’t tried Kotlin tho
Pisses me off when android tutorials are in Kotlin even though it’s a totally reasonable thing for the author to make lol
Carbon
I need to try carbon
although its syntax is worse than rust
Have you seen the job listings asking for 5+ years of experience with carbon? 
where
Saw someone share it on tiktok. I’ll try to find it
basically google's version of c++
far wrose
i think its dogshit personally
even though rust already exists and is pretty good
rust is the only language that potentially has a future
yeah
i wouldnt even say go does bc its basically solely held up by google
Despite all the points people make fun of it for
once google stops caring (aka goes carbon) go is done
go is kinda just better Python in my eyes
well lets not get too hasty

people here can say what they want but in total its pretty good
its not terrible ill say that about rust
which is already pretty good considering its age
i think all other new languages are pretty bad
go zig carbon
probably a satirical job desc ngl
yeah that's very obviously a joke lol
i know just enough rust to be able to pick it up should the need arise
Maybe but it was pretty funny. C++ doesn’t count
otherwise i just let it wither and occasionally relearn it to the bare minimum as mentioned
even though carbon is supposed to be mostly c++
Well I’m not good at picking up satire 
@primal perch tell me if you ever need help with rust because I love rust 
oke
ig yea youre the only real rusthead here
trol
theres that lucy person or something but they rarely stay long
rusthead
i might not know much but I know how to understand it when I look it up so
you should look at anyhow and thiserror
which apparently is all you need
very good rustic error handling
to blow peoples minds
rustic is a nice word
trolling
lets me auto-convert io errors, and number conversion errors into my error type
with the ? operator
basically its the right way to do error handling
you can manually implement that but thiserror gives you macros to generate the impl automatically
otherewise youd have to manually go like impl From<std::io::Error> for DrawError and so on
impl From<io::Error> for DrawError {
fn from(error: io::Error) -> Self {
Self::WriteError(error)
}
}
something like that i think
nfr
i mean its safer but the code looks like bung
would still rather use c++
theres so many hashtags shit looks like python
or twitter
because its macros
compile time 
idk how to read macro source code
so is that just compile time adding
rust has const fn
or you could probably write a macro for it
its no different htan doing add manually just generic functions
idk i dont really know how to use templates anyway
oh
ik theyre turing complete
why do you need templates for that
do you have to use template to use generics
const fn add<T: std::ops::Add>(one: T, two: T) {
one + two
}
i think this works
- is just syntactic sugar anyways
you know what else works
one.add(two)
dn
ok
Implementing Add with generics
Here is an example of the same Point struct implementing the Add trait using generics.
actually just use a microscope and a very small taser
bloat
fr
true
pub trait Add<Rhs = Self> {
type Output;
fn add(self, rhs: Rhs) -> Self::Output;
}
theres the trait definition for add
idk what rhs means but it's just the second number
Note that Rhs is Self by default, but this is not mandatory. For example, std::time::SystemTime implements Add<Duration>, which permits operations of the form SystemTime = SystemTime + Duration.
oh i know why this works
becuase = just means default
so the type youre adding defaults to self, but you can change it
what
thats a paradox
that doesnt work
i think this works but idk what type to put for dst
use std::ops::Add;
fn add<T: Add>(&mut dst: T::Output, x: T, y: T) {
*dst = x + y;
}
n
trolling
we did a lot of twerks
no clue if what i just did works
let me test it
nfr
what did you say
worth it but i need to be non r@rted now
.
yea lmao
actually one was using the f slur
even tho i was using it in the cigarettes context
well in reality i was just t rolling
so i deserved the warn
what the hell
yea i cant get banned w
dw
even if i get banned i just pull a jynx and magically come back
ok i need an ide for this
happy birthday @rose wren
do NOT ping me
thank you mother
coldplay
more like midplay

they got like 4 good songs
probably more i just dont feel like listening to their discography and absorbing it
@primal perch @grave sparrow how does this make you feel (it works)
use std::ops::Add;
fn add<T: Add>(dst: &mut T::Output, x: T, y: T) {
*dst = x + y;
}
fn main() {
let mut output = i32::default();
add(&mut output, 5, 10);
println!("{}", output);
}
HAPPY BIRTHDAY!!!!!!!!!!!!!!!!!!!!!
i could put 0 instead of i32::default() but its more cursed this way
@primal perch what do you think of weezer
imagine draging these
and yes i like them across my face
nfr
ya i mean its not like theyre bad
@restive ether imagine dragons is A tier
i do like a few of their songs
theyre in the same realm of coldplay for me
pret ty good ig i just dont care enough
to listen to more
bc its not really the genre most of my library is in
@primal perch do you know if you can even do that thing in python
because idk if you can pass a mutable reference or anyything
dragons
rahhhh
viva la vida the album is great as long as you skip the titular song
mutable reference isn't the correct way in rust either
in that scenario
obviously you should just return a value
that's not rust being bad that's just me trying to make it cursed
🤷♂️
A lot of it is down to preference
you should use a reference if you don't need to mutate it
What do you mean you "had to copy"
like .clone()?
probably want a mutable reference
do you have the code somewhere
where were you receiving the &Vec from
actually wait
what were you doing to the vec inside the loop
yeah I feel like something was probably designed wrong in your rust code
I can't think of any case in my minesweeper so far where I'm copying values needlessly
Definitely though everything about rust's design choices make a lot more sense the more I work with it
and I feel like I'm always learning something and it makes sense
oh yes absolutely do not learn rust as your first language
And it isn't until too recently where async in rust is actually ok
Probably past couple years or so
and we have good async-aware http libraries like reqwest and hyper
you were supposed to pass a reference to the variable
for print
println!("{}", &foo);
instead of just foo
Otherwise you move foo inside of the print
it makes sense a lot more later on
the ampersand I mean
since you passed the variable itself in instead of just a reference to the variable
and foo wasn't one of the types marked with the Copy trait (which means it can automatically just make a cheap bitwise copy of the value into the function)
so like numbers are Copy for example, since its cheap to make a copy of a number
although it might still complain about the move in that case idk
its besides the point
because each variable has to be owned by a specific scope, so it knows when to free the variable
idk how to explain better
its weird but necessarily
let's them get away with having memory management without needing reference counting or garabeg collector
not sure if any other language also does this
I think kinda
Well
idk c++ so I can't speak for them
like in python when you pass a variable, that function gets a reference to the same memory, but then if you try and change that variable inside the function then it makes a copy automatically
that's just one example
and Python uses reference counting to know when it can free variables
rust uses the scope the variable is "owned" by to know when to free variables
unless you wrap the variable in the Rc or Arc type which makes it reference counted, useful for multithreading
yeah because a lot of them are copying secretly, I think
depends on the scenario
there is a difference though because I don't think you can clone a Vec "cheaply"
since you have to allocate new heap memory and then copy all the values

I gtg sleep
do anyone here know java or nah
boba does
@gentle grove
yes daddy
ye somewhat
fuck java 😠
Fact
fact
yes
does any1 know how to fix jbinit ramdisk not being able to mount rootfs, it keeps failing with err 1?
hook.c:12:22: error: 32-bit absolute addressing is not supported in 64-bit mode
__asm__ volatile("mov %0, r11" : "=r" (r11));
@grave sparrow know x86? lol
I just want to save r11 to my local variable
this is x86_64 intel not armv7
printf broken
@grave sparrow
printf("hook called! (r11: 0x%llX r15: 0x%llX)\n", (uint64_t)r11, (uint64_t)r15);
it crashes for any variable
seems to be an issue with the hook lib
EXC_I386_GPFLT: is general protection fault
nice pointer
@grave sparrow the issue is the hook rbp is smashed?
I have no idea how to fix it
I was correct
I now hook using trampoline
I save rbp and restore it before I printf
not the only issue
@grave sparrow how do I get it not to use rax
well heres the thing....
I'm jumping back the original code
the original rax is needed
I can't have the original rax if rax is used to jump back
so... @grave sparrow
varadic has nothing to do with anything
there is no issue with any of my code
rax is irrelevant
like I said
the original rax is there
you gave me the 64bit reg read
I need the 64bit reg write now
att_syntax
I prefer intel
But whatever actually works
I am att
Clones are often compiled away. So, clone() away instead of fighting for too long to get the compiler to be happy about ownership!
wtf
im watching breakinmg bad rn\
fake screenshot


based edge user tho
L
based
@indigo peak you are dumb as fuck
Not new information just verifying

Lmfao
be more kind
I hate edge on windows but I use it on mscos
shitfox
You use windows shut up!!!
Real
@hasty ruin gm
gm true
true gm
unhappy birthday 
Wtf???
Give me 1 billion in gay 5
hop on rn then mf
I use safari on windows
I hate it on macOS
i actually used to use safari on windows xp

stop using frameworks
.
back in my day we statically linked entire apps

bruh
sexually transmitted disease input output
paths
cursed
ewwwww
Use volume buttons to change tracks
ipodtouchmaster
2.0.1
Paid
com.iptm.externalipodcontrols
wow ipod touch master isn’t exactly the best username
we were definitely more innocent back then huh
@grave sparrow
@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow@grave sparrow
do you really think every single command is it’s own package
"yes"
[[cctools]]
linker and assembler for the iPhone
"nice name"
is that phone zefram strapped 🙄
bro made lipo in zefram
capt: "if it exists, i try to make it in zefram"
what is zefram
idk
Even malware!
I don't think even @grave sparrow knows at this point
i mean like what even is it
Is it a tweak
or a book
or an organization
is it software
Is it a CPU architecutre
Ok
Thank god capt wasn't writing a bible called zefram
ARM already wrote one why can't you
To help find god 🙏
turns out god is an ARMv8.3 instruction set-based entity
true
lul I just tried picking up rust for the first time and i might hate it tbh
can i help
i like rust
haha i'm not on my comp now but ill prob play around with it some point tomorrow so i might ping you
i don't hate it ... i just hate that it yells at me all the time when i compile 😂
oke
yeah it yells at you a lot but you can be a lot more certain than other languages that it works as intended once it does compile
yeah that makes sense ... still trying to understand the whole borrowing thing too which is nifty
Making classes was interesting as well ... there were a few times i hit the "hey you dont own this ish, you cant return that gtfo" message lmao
classes as in structs?
yeah structs/imp's
it had to do with when I was playing around with vector things iirc
if youve seen anything about them
for now i kinda just put what the compiler tells me to because it knows what its doing
i thought it would be simple to store a reference in my struct
haha that's what i did sweet!
well acutlaly i eventually removed that and decided to not store a reference in the struct
i might swap what project im working on though
interesting ... did it complain about the lifetimes
just something something anonymous lifetime
<'_>
judging by the syntax it must be an inferred lifetime
but not sure why i have to mark it
i wlnder if i can find it in my commit history
i got rid of all the lifetimes now anyways
hmm yeah i wonder if storing it gives it an indefinite lifetime 🤷♂️
wdym
like wouldn't the lifetime of that ref be directly related to the lifetime of the object idk i am still trying to figure this out lol
wait like 'static?
its like basically you have to make sure your reference lasts as long as the lifetime of the object
so basically you cant have a reference to an object that was already freed since the scope it's owned in was freed
and then various crazy syntax in between to mark that
also the a in <'a> can be anything, but usually is just a single lowercase letter
its a name
i didnt realize that at first
maybe look at section 15.4 here (lifetimes) https://doc.rust-lang.org/rust-by-example/scope/lifetime.html
especially the elision page
that one could be a bookmark
yeah this is what i was getting at
Take, for example, the case where we borrow a variable via &. The borrow has a lifetime that is determined by where it is declared. As a result, the borrow is valid as long as it ends before the lender is destroyed```
yeah
i decided to ignore lifetimes for now since i dont really need them
except for 'static
ill have to write a web backend
ill try and make a new version for share.boba.best in rust
so if you were storing a ref of another object, in a different object and that first object is destroyed what happens to the stored ref of the object that was destroyed... right? i might just need to sleep lol
okay got it ... that is what i would expect
at least based on that definition
also thank you for the link
ok maybe i dont hate it as much as i thought
@grave sparrow so that code seems to work except the JMP R10 seems to break dyld
dyld[3675]: symbol not found in flat namespace (r10)
well I fixed it with *%r10
now I need to save stuff to stack properly
instead of overwriting my registers
is there a good resource for doing this
I basically just need to save the one the rest are fine
[] doesn't seem to work in c
oh its using att
tbh I should port everything to intel
@grave sparrow ok all my problems are solved except for ret, now ret is broken
I saved all the registers to rbp 
crashes on retq with EXC_I386_GPFLT
now I need to save that too
oh
if I try to save -20, EXC_BAD_ACCESS (code=1, address=0xfffffffffffffffb) @grave sparrow this is madness
0xfffffffffffffffb is no where which is even weirder
compiler is braindead
the absolute state of environment variables
bad config
true
it's released now just FYI
environment variables are fine
its you

already on the mirror
alright
@lime pivot pls update StopCrashingPls to either remove MobileGestaltHelper from it's plist or whitelist "libSandySupport.dylib", thx
it's not expanding ~, remove quotes if you used any
can do
the latter that is
I'm reluctant to remove gestalt helper since it's become critical to IPC, it's better that it allows only known IPC dylibs
so they're reliable
if you want prefs just use Choicy lol
fair enough
yeah that will work, you can install the new Safari Plus build from my repo https://opa334.github.io to make sure everything works, if libSandy isn't working it throws an error on starting Safari
yep perfect, thanks
I'd recommend adding Conflicts: ws.hbang.stopcrashingpls (<= 1.0.2) to Sandy
so it'll uninstall for now or upgrade later when I have 1.0.3 out
yeah I will add that
unsure if this is falls under dev but is it possible to view the logs of an app? unlike on macos i can't just run the executable via terminal
thought we moved past the need for this
I think so too but some users still have that installed
also it doesn't hurt
@grave sparrow got it working now no crashes, can you get what the big brain solution is? 
just ask
im trying to call bypass_sandbox_offsetless() from https://github.com/opa334/sandbox_extension_generator/ in exploitation_get_krw_with_arb_free(mach_port_t arb_free_holder, uint64_t *kernel_base) from https://github.com/potmdehex/multicast_bytecopy/
and idk how to "import" the bypass sandbox function from sandbox_extension_generator.m into exploit.c
and like, idk if i need to make sandbox_extension_generator into a subproject and compile it separately
objective-c still uses headers the only difference is for actually objective-c classes in the header it has the impl, but for raw c is just the same
so just add int bypass_sandbox_offsetless(void); in exploit.c
then make sure you add sandbox_extension_generator.m to build files
thats it?
no importing or anything?
bruh
that was really it
i quit
i give up
im now a liberal arts major
fuck comp sci
lmao that actually matters?
damn
objc also has modules
lmao no namespaces
@grave sparrow if this code works ill drive to your house and kiss you
import
```?
also lmao #import user
yeah, thats good
the C style #include sucks ass
I dont see the issue ngl
yep nvm
after trying it out
I realised how shitty this is
@lethal snowort Gay
you say that, but https://github.com/klange/taylor
Swift on bare metal. Explorations of compiling Swift code without a standard library. - GitHub - klange/taylor: Swift on bare metal. Explorations of compiling Swift code without a standard library.
funny saito man
Who
aint that the name of the judgement guy
Kaito
Pretty genius I know, but I replaced rbp with a malloc ptr 
what the fuck
So my hook has its own fake stack






