#development

1 messages · Page 4 of 1

primal perch
#

as a workaround though just put all your resources in a .c with (sadly) global variables and then import troll

#

or a global function with a local static

#

get_vertex_shader_001_bytes();

faint timber
#

TFW xcode 13 still lacks c++ 20 abis

misty cradle
#

Oh true

lime pivot
#

you'd think he'd prove his innocence by just removing the code and moving on with his life, shrug

#

now this is cool

gentle grove
#

am i doing java right

snow python
#

No, you are using an actual ide when you could be using vscode with 130+ plugins

silver rampart
#

project compile times in shambles

tepid olive
#

wow

tacit spade
#

does anyone know how that hello animation during setup works?

pearl sail
#

just gotta do a little rebuilding

#

rust linux kernel eta s0n

tepid olive
#

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

restive ether
#

the ios 16 prompt is awful whoever designed that should feel bad

turbid fjord
gentle grove
#

does that just get 4 random bytes

primal perch
primal perch
#

ya

gentle grove
lime pivot
#

can't believe I used to dev on a 1.1GHz dual-core i5 MacBook Air

silver rampart
#

is there even a reference for what "fast" is in this case

lime pivot
#

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

tepid olive
lime pivot
tepid olive
#

But why tf is an i7 dual core

#

Why intel, why

lime pivot
#

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

tepid olive
#

The sad truth 🥲

lime pivot
#

so you technically get 2 more cores, I guess

#

not actual cores of course

tepid olive
#

Isn’t threading slower than having 4 cores?

lime pivot
#

definitely

tepid olive
lime pivot
#

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

tepid olive
#

Obviously

#

I wonder what cores Vbox chooses troll

rocky token
#

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

lime pivot
#

I didn't notice a real difference between IntelliJ and Android Studio, shrug

plain python
lime pivot
chilly plover
#

How developers can make tweaks in ipa when we cant decompile/extract source code?

tepid olive
#

is there a way to make tweaks in swift

night rover
#

orion

tepid olive
#

ok!! thanks 🙂

lime pivot
zenith hatch
lime pivot
lime pivot
#

logical cores = physical cores * threads per physical core

lime pivot
# lime pivot 2013

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

hexed knot
#

Last night i had the strangest dream

#

I upgraded my macbooks cpu

lime pivot
#

wouldn't that be cool if you could still do that

silver rampart
#

@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

hexed knot
#

sbreload

silver rampart
#

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

lime pivot
#

alternative build system on the other jailbreak

indigo peak
#

@grave sparrow for stumble guys, did you decrypt the entire ipa for me

#

or just the binary

zenith hatch
#

fr

#

controversial opinion i hate objective c

hexed knot
#

Not really controversial

#

But also not right

rocky token
#

Man I hate learning UI. This class about android is kicking my ass.

#

Doesn’t help that it’s 2 am

indigo peak
#

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

zenith hatch
#

gm

hexed knot
#

Setter, but just do both thats what i used to do

twilit jungle
#

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.

misty cradle
primal perch
hasty ruin
rose wren
native dune
lime pivot
main apex
hexed knot
native dune
#

actually, how does the appstore uicache app store apps? im assuming it uses a tool similar to uicache?

hexed knot
#

It doesnt

#

They just show up

#

Because app store is how god intended you install apps

native dune
#

maybe installd does it

restive ether
#

(which is why it broke on 14)

#

there’s some research yet to be done to make uicache better on 14

plain python
#

I had documentation for it in 2019 but uh the docs never saw the light of day before I lost them

restive ether
#

so it could work better on 14 at least, could probably apply it to 15 also

native dune
#

yeah because i know anemone messed with uicache to get it to persist

#

which is pretty cool

plain python
primal perch
#

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

primal perch
#

you: pepega

restive ether
#

pepega

tepid olive
#

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??

restive ether
#

i want them to know it’s me

primal perch
vivid dew
#

ok.

vivid dew
#

aough ough ogh ogh ogh ogh

primal perch
lime pivot
#

🤨 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

lime pivot
#

oh loll

#

I didn’t catch onto that

tepid olive
#

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

misty cradle
#

where the fuck do i find ToS for digital products

#

i need a terms of service and privacy policy

crude swallow
#

did that happen

grim sparrow
#

No lol

crude swallow
#

wait you take that thing?

grim sparrow
#

Why are you reading very old chat

crude swallow
#

because it's entertaining

pearl sail
#

like when I do meth

crude swallow
#

nah

hexed knot
#

Why are you replying to years old chats

primal perch
#

if they cut objc they’ll have to cut every app store app

#

bc they all use uikit or foundation

pearl sail
#

swiftui supremacy tro

hexed knot
#

If they cut objc they’ll have to rewrite ios

hasty ruin
#

this is untrue

grim sparrow
#

Shut

hasty ruin
primal perch
weary heath
#

Hey

rigid gate
pearl sail
#

your mum gay

#

true

#

die.

lime pivot
#

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

tepid olive
#

@lime pivot since i have 2009 pc i tried win10 linuxmint lubuntu all was slow . anyway thanks

lime pivot
#

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

primal perch
#

false

tepid olive
#

anyway sideload ipa from win7?

tepid olive
lime pivot
#

I'd strongly recommend getting a used one

tepid olive
#

okay thanks they r a bit expensive but thanks

lime pivot
#

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

tepid olive
lime pivot
#

if you can't get Sideloadly or AltServer working then there's probably no good solution

tepid olive
#

sad

#

sideloadly errors and altstore win10+

lime pivot
#

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

tepid olive
#

let me install it maybe its gonna work

#

thanks bro

#

🙂

lime pivot
#

looks like 3.8 is actually the last version to support 7. it should work…

tepid olive
lime pivot
#

do you not have windows 7 SP1?

#

right click Computer --> Properties, that should tell you if it's SP1 or not

tepid olive
#

its sp1

lime pivot
#

might need to install a few more updates you're missing

#

check windows update, see if anything shows up

tepid olive
#

it says could not seach

#

anyway thanks bro. also i love your repo

lime pivot
#

ugh stupid Microsoft

tepid olive
#

it found one ,updating

lime pivot
tepid olive
#

better to update 8.1 lol

lime pivot
#

honestly, yeah you'll have less issues and it's still supported for a tiny bit longer

tepid olive
#

is wsl working on win 8.1?

tepid olive
#

damn

lilac juniper
#

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

rocky token
#

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 completelydistraught

hexed knot
#

Can u not simulate a shake on adb

hasty ruin
#

idiot

#

only time anyone was annoyed by cydia not being on their device tr

zenith hatch
rocky token
#

The sensor is null after initializing it

gentle grove
#

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

zenith hatch
#

manually

gentle grove
#

so it isn't sitting there "installed" but not actually installed

zenith hatch
#

idk

#

try making a file or directory at the path to make it happy

#

ez

gentle grove
#

just more errors

#

how do i create a file at /usr/bin/idea

#

it's not permitted

zenith hatch
#

idk

restive ether
gentle grove
#

idk who to ask

restive ether
#

also i think /usr/bin is locked

#

cause of ssv

#

can’t remember

rose wren
#

Brew users

zenith hatch
#

i have never had issues with brew

#

except it being slow as fuck

serene ridge
gentle grove
#

then how was the file ever there in the first place

#

or why is it looking there

restive ether
#

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

serene ridge
#

/usr/bin is ro anyways

#

cant even remount the rootfs anymore fr

gentle grove
#

im pretty sure i've updated it tons of times since big sur

serene ridge
gentle grove
wicked summit
#
import yulkhooker as yh

@yh.hook("UIView", "-layoutSubviews")
def layoutSubviewsHook(orig):
        print("message")
        orig()
#

now someone write yulkhooker

serene ridge
#

/var doesn't exist

wicked summit
#

how would that work

hasty ruin
#

or copy what objective script does (idk what)

indigo peak
wicked summit
#

How do you transpile something like print

#

Or achieve [[UIView alloc] init]

hasty ruin
#

write objc code within python comments

#

then remove the #

vivid dew
#

python is written in c

wicked summit
#

But it lacks C features compared to other languages like Swift

vivid dew
#

not true

wicked summit
#

Use function pointers in python

vivid dew
#

you can just write a c module and expose it to python

wicked summit
#

Sure

#

That's fair

vivid dew
#

you can just wrap your python function in a c function pointer

primal perch
#

use dn

lilac juniper
#

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

lime pivot
#

it uses /opt/Caskroom as its database, so you can delete the intellij-idea dir there

faint timber
#

imagine not knowing this....

lime pivot
#

I mean it’s not Linux but hey

surreal abyss
#

i wish freebsd worked with my wifi chip

#

oh wait nevermind it does i guess peepoclown

frank hedge
#

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?

celest quiver
#

You don’t need a mac to build for iOS

frank hedge
frank hedge
#

idk, cuz i cant install xcode

weary heath
#

If you want to start with tweaks you can use Theos

frank hedge
#

do most jb devs seriously start with tweaks?

weary heath
#

I don’t know

#

But if you don’t know any objective c I think jumping straight into jailbreak development could be difficult

hexed knot
surreal abyss
zenith hatch
#

its better to start with a language closer to english

surreal abyss
#

basic troll

zenith hatch
#

you’ll understand a lot of core programming concepts then

#

and then you can apply that knowledge to other langs

zenith hatch
#

or be like @grave sparrow and write in assembly

surreal abyss
#

i was just gonna say that

zenith hatch
#

true

surreal abyss
#

“if you wanted to be evil recommend assembly”

zenith hatch
#

true

#

wasm trol

surreal abyss
#

i need to learn how to do assembly

#

like i started but

#

never finished

#

or atleast tried to do it

hasty ruin
zenith hatch
hasty ruin
frank hedge
zenith hatch
#

how about you shut the fuck up

frank hedge
surreal abyss
zenith hatch
surreal abyss
#

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

zenith hatch
#

^

frank hedge
zenith hatch
#

ignore the opinion part

frank hedge
hasty ruin
#

You didn’t understand what he said

#

Though it was extremely obvious

frank hedge
#

sorry

surreal abyss
frank hedge
#

or should i say srry

#

to sound cute

hasty ruin
zenith hatch
#

WatchTube is a lot of fun

frank hedge
#

lets hope autocorrection doesnt turn srry into sorry

zenith hatch
#

wish i could add an eq

frank hedge
#

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

crude swallow
surreal abyss
crude swallow
zenith hatch
#

true

crude swallow
#

fr

#

then B

#

then C

#

then D

zenith hatch
#

basic

crude swallow
#

then F

zenith hatch
#

cobalt

#

uh

#

d?

#

idk

crude swallow
#

yeah

#

D exists

#

in fact

zenith hatch
#

8===D

crude swallow
#

an anisette server was recently written in it

zenith hatch
#

what lang

crude swallow
#

D

#

lang

zenith hatch
#

?

#

dart

crude swallow
zenith hatch
#

oh

gentle grove
hasty ruin
zenith hatch
#

dart

rose wren
#

Where is the J programming language

zenith hatch
#

java

rose wren
zenith hatch
zenith hatch
native dune
rose wren
zenith hatch
#

fr

vivid dew
#

tr

zenith hatch
#

i hate triangles

vivid dew
primal perch
#

trans?

hasty ruin
#

yes

wicked summit
#

gm

faint timber
#

why does mach_vm_read_overwrite return invalid address?

primal perch
#

data_in is a pointer

rocky token
#

Wait what’s wrong with Java

gentle grove
rocky token
gentle grove
#

mostly just meming

#

its actually a pretty good language

#

there are a lot of way worse languages

rocky token
#

I like it. Haven’t tried Kotlin tho

gentle grove
#

I haven't either

#

one thing is that modern java is a lot better than older versions

primal perch
#

same with modern C++

rocky token
#

Pisses me off when android tutorials are in Kotlin even though it’s a totally reasonable thing for the author to make lol

gentle grove
#

I need to try carbon

#

although its syntax is worse than rust

rocky token
#

Have you seen the job listings asking for 5+ years of experience with carbon? galaxybrain

gentle grove
#

where

rocky token
#

Saw someone share it on tiktok. I’ll try to find it

gentle grove
#

basically google's version of c++

primal perch
#

i think its dogshit personally

gentle grove
#

even though rust already exists and is pretty good

primal perch
#

rust is the only language that potentially has a future

gentle grove
#

yeah

primal perch
#

i wouldnt even say go does bc its basically solely held up by google

gentle grove
#

Despite all the points people make fun of it for

primal perch
#

once google stops caring (aka goes carbon) go is done

gentle grove
#

go is kinda just better Python in my eyes

primal perch
gentle grove
primal perch
#

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

primal perch
#

probably a satirical job desc ngl

gentle grove
#

yeah that's very obviously a joke lol

primal perch
#

i know just enough rust to be able to pick it up should the need arise

rocky token
#

Maybe but it was pretty funny. C++ doesn’t count

primal perch
#

otherwise i just let it wither and occasionally relearn it to the bare minimum as mentioned

gentle grove
#

even though carbon is supposed to be mostly c++

primal perch
#

let cock = {
34
};

#

cock

rocky token
#

Well I’m not good at picking up satire nezukoDance

primal perch
#

is now 34

#

win

gentle grove
#

@primal perch tell me if you ever need help with rust because I love rust thishowitis

primal perch
#

oke

gentle grove
#

I'm also in the rust server

#

there is an official one

primal perch
#

ig yea youre the only real rusthead here

gentle grove
#

trol

primal perch
#

theres that lucy person or something but they rarely stay long

gentle grove
#

rusthead

#

i might not know much but I know how to understand it when I look it up so

primal perch
#

same

#

i barely actuqally know shit i just know how to manipulate google

gentle grove
#

you should look at anyhow and thiserror

primal perch
#

which apparently is all you need

gentle grove
#

very good rustic error handling

primal perch
#

to blow peoples minds

gentle grove
#

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

primal perch
#

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

gentle grove
#

compile time wholesome

#

idk how to read macro source code

primal perch
#

just use templates

#

trole

gentle grove
#

what that

#

also idc how ugly it looks, thats why i use rust

primal perch
#
template <class T>
T add(T one, T two)
{
    return one + two;   
}```
gentle grove
#

so is that just compile time adding

#

rust has const fn

#

or you could probably write a macro for it

primal perch
#

its no different htan doing add manually just generic functions

#

idk i dont really know how to use templates anyway

gentle grove
#

oh

primal perch
#

ik theyre turing complete

gentle grove
#

why do you need templates for that

primal perch
#

and im tired anyway

#

maybe i should sleeep

gentle grove
#

do you have to use template to use generics

primal perch
#

idk

#

C++ is too complex for anyone to truly know

#

trole

gentle grove
#
const fn add<T: std::ops::Add>(one: T, two: T) {
    one + two
}
#

i think this works

#
  • is just syntactic sugar anyways
primal perch
#

you know what else works

gentle grove
#

one.add(two)

primal perch
#

dn

gentle grove
#

ok

primal perch
#

just use add and assembly

gentle grove
#

Implementing Add with generics

Here is an example of the same Point struct implementing the Add trait using generics.

primal perch
#

actually just use a microscope and a very small taser

gentle grove
primal perch
#

flip the bits manually in your storage device

#

or magnet if youre on spinning rust

gentle grove
#

in rust + is just one.add(two)

#

because overloading

primal perch
#

bloat

gentle grove
#

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

gentle grove
primal perch
#

true

#

meanwhile C you can pretty much master in a couple months

gentle grove
#

so the type youre adding defaults to self, but you can change it

#

what

#

thats a paradox

primal perch
#

that would be an emulator

#

and they are fun so go for it

gentle grove
#

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;
}
primal perch
#

n

gentle grove
#

trolling

primal perch
#

just not tryna get warned bc im at 550

#

so

#

yea

gentle grove
#

yeah

#

oh

primal perch
#

we did a lot of twerks

gentle grove
#

let me test it

primal perch
#

nfr

gentle grove
#

what did you say

primal perch
#

worth it but i need to be non r@rted now

gentle grove
#

.

primal perch
#

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

gentle grove
#

what the hell

primal perch
#

yea i cant get banned w

#

dw

#

even if i get banned i just pull a jynx and magically come back

gentle grove
#

ok i need an ide for this

quaint wigeon
#

happy birthday @rose wren

rose wren
#

do NOT ping me

rose wren
primal perch
#

coldplay

#

more like midplay

#

they got like 4 good songs

#

probably more i just dont feel like listening to their discography and absorbing it

gentle grove
#

@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);
}
gentle grove
gentle grove
primal perch
#

also mid

#

idk barely listen to them

rose wren
#

@primal perch what do you think of weezer

primal perch
#

barely listen to them

#

theyre aright

rose wren
#

imagine draging these

primal perch
#

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

gentle grove
#

@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

crude swallow
rose wren
#

rahhhh

lime pivot
gentle grove
#

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

gentle grove
#

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

vivid dew
gentle grove
#

I gtg sleep

last sierra
#

do anyone here know java or nah

zenith hatch
celest quiver
rain falcon
#

yes daddy

misty cradle
hexed knot
#

Un poco

tepid olive
#

fuck java 😠

hexed knot
#

Fact

zenith hatch
#

fact

last sierra
#

nvm im good

#

i appreciate it though 🙏

lethal kayak
crisp frost
#

does any1 know how to fix jbinit ramdisk not being able to mount rootfs, it keeps failing with err 1?

faint timber
#
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 woeis @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

rose wren
#

nice pointer

faint timber
#

@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

turbid fjord
#

void *fuck

#

So true

hexed knot
#

I am att

gentle grove
#

Clones are often compiled away. So, clone() away instead of fighting for too long to get the compiler to be happy about ownership!
wtf

vivid dew
#

me when i rely on compiler optimizations to get the behaviour i want:

indigo peak
hasty ruin
#

wtf piracy

indigo peak
#

nah wym

indigo peak
vivid dew
hasty ruin
#

these screenshots are leaking the entire series.

indigo peak
hasty ruin
#

based edge user tho

indigo peak
#

nah wym

#

chrome

hasty ruin
#

L

primal perch
#

based

turbid fjord
#

Clash Royale >

#

Fight me

primal perch
pearl sail
#

@indigo peak you are dumb as fuck

indigo peak
#

ok?

#

this is new info how?

pearl sail
#

Not new information just verifying

indigo peak
turbid fjord
primal perch
pearl sail
#

Being mean is easier

rose wren
hasty ruin
#

main pc: edge
this pc: trying out firefox
mac: edge

primal perch
#

shitfox

rose wren
serene ridge
zenith hatch
#

@hasty ruin gm

hasty ruin
zenith hatch
rose wren
#

British mfs

#

Hate them

hasty ruin
#

unhappy birthday joeAngry

rose wren
rose wren
hasty ruin
#

hop on rn then mf

indigo peak
#

I hate it on macOS

hasty ruin
#

i actually used to use safari on windows xp

rose wren
#

No

hasty ruin
zenith hatch
#

safari is nice

#

idk

vivid dew
#

stop using frameworks

zenith hatch
#

.

vivid dew
#

back in my day we statically linked entire apps

zenith hatch
#

bruh

#

sexually transmitted disease input output

restive ether
#

REAL paths

zenith hatch
#

cursed

restive ether
#

ewwwww

faint lionBOT
#
External iPod Controls

Use volume buttons to change tracks

Author

ipodtouchmaster

Version

2.0.1

Price

Paid

Repo
Bundle ID

com.iptm.externalipodcontrols

serene ridge
#

dog

#

why are you using the bot for it

lime pivot
# faint lion

wow ipod touch master isn’t exactly the best username

#

we were definitely more innocent back then huh

rose wren
#

@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

hasty ruin
restive ether
#

do you really think every single command is it’s own package

lime pivot
#

[[cctools]]

faint lionBOT
#
Darwin CC Tools

linker and assembler for the iPhone

Author

Hayden Seay

Version

949.0.1-2

Price

Free

Repo
Bundle ID

odcctools

serene ridge
#

"nice name"

native dune
#

is that phone zefram strapped 🙄

restive ether
#

bro made lipo in zefram

serene ridge
gentle grove
#

what is zefram

serene ridge
hasty ruin
#

Even malware!

lime pivot
gentle grove
#

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

lime pivot
#

ARM already wrote one why can't you

hasty ruin
#

To help find god 🙏

lime pivot
#

turns out god is an ARMv8.3 instruction set-based entity

hasty ruin
#

man god

#

when

#

wtf it exists??

primal perch
#

true

lone bronze
#

GNU FORCE 4 EVER

#

@grave sparrow

celest quiver
#

!?

#

alpine mfs insane

lone bronze
#

lul I just tried picking up rust for the first time and i might hate it tbh

lone bronze
#

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 😂

gentle grove
#

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

lone bronze
#

yeah that makes sense ... still trying to understand the whole borrowing thing too which is nifty

gentle grove
#

yeah

#

its very weird but makes sense because of the safety it gives

lone bronze
#

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

gentle grove
#

classes as in structs?

lone bronze
#

yeah structs/imp's

gentle grove
#

yeah

#

lifetimes are still kinda magic to me

lone bronze
#

it had to do with when I was playing around with vector things iirc

gentle grove
lone bronze
#

yeah that too ... still need to figure those out

#

'a something something

gentle grove
#

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

lone bronze
#

haha that's what i did sweet!

gentle grove
#

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

lone bronze
#

interesting ... did it complain about the lifetimes

gentle grove
#

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

lone bronze
#

hmm yeah i wonder if storing it gives it an indefinite lifetime 🤷‍♂️

lone bronze
#

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

gentle grove
#

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

lone bronze
#

oh i see that makes sense

#

i think 😅

gentle grove
#

especially the elision page

#

that one could be a bookmark

lone bronze
#

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```
gentle grove
#

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

lone bronze
#

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

gentle grove
#

that shouldnt compile

#

i think thats the goal

lone bronze
#

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

faint timber
#

@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

faint timber
#

I basically just need to save the one the rest are fine

faint timber
#

[] doesn't seem to work in c

#

oh its using att

#

tbh I should port everything to intel

faint timber
#

@grave sparrow ok all my problems are solved except for ret, now ret is broken

#

I saved all the registers to rbp Trolled

#

crashes on retq with EXC_I386_GPFLT

#

now I need to save that too

#

oh

faint timber
#

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

faint timber
#

compiler is braindead

primal perch
#

yea

#

lea is goated

trail niche
#

the absolute state of environment variables

faint timber
#

bad config

zenith hatch
#

true

naive kraken
#

it's released now just FYI

zenith hatch
#

its you

grim sparrow
naive kraken
#

alright

naive kraken
#

@lime pivot pls update StopCrashingPls to either remove MobileGestaltHelper from it's plist or whitelist "libSandySupport.dylib", thx

lime pivot
lime pivot
#

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

indigo peak
#

just add prefs

naive kraken
indigo peak
#

fair enough

naive kraken
lime pivot
#

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

naive kraken
#

yeah I will add that

tepid olive
#

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

grim sparrow
restive ether
naive kraken
#

also it doesn't hurt

faint timber
#

@grave sparrow got it working now no crashes, can you get what the big brain solution is? gigachad

indigo peak
#

@faint timber can you help me im being stupid

#

idk how to do something simple

faint timber
#

just ask

indigo peak
#

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

faint timber
#

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

indigo peak
#

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

trail niche
#

damn

indigo peak
#

shut

#

shut

#

shut

#

shut

#

shut

trail niche
#

lmao no namespaces

indigo peak
#

@grave sparrow if this code works ill drive to your house and kiss you

trail niche
#
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

hexed knot
#

@lethal snowort Gay

trail niche
trail niche
hexed knot
#

Who

trail niche
#

aint that the name of the judgement guy

hexed knot
#

Kaito

trail niche
#

ah

#

there we go

faint timber
#

Pretty genius I know, but I replaced rbp with a malloc ptr troll

faint timber
#

So my hook has its own fake stack

trail niche
#

I

#

wow

#

I never