#development
1 messages · Page 459 of 1
Why is that a callback handler? can't you just pass everything in first time around?
@twilit jungle callback would be used in a tweak to ask permission from the user to allow automatic email of crashreports.
So tweak is responsible for displaying the UI?
I like this, but it really does need to have some kind of privacy policy system figured out
emailing crash reports is kinda getting away with it because the user is specifically doing that action
though probably a "can we send a crash report? yes/no" alert would work fine
dev makes shitty tweak
thousands of people install shitty tweak
shitty tweaks causes rapid, repeated crashes
my life story
log of each crash sent to dev's server
dev's server is as shitty as tweak and can't handle all requests
congrats, shitty dev just ddos'ed themself
????
Actually I think thats a perfect way to get devs to realize how shit their tweak is
Lmao.
i wouldnt say crashes are exactly the devs fault. i mean sorta but ios and apps are unpredictable cuz some methods exists on some versions and sometimes not on others.
Anyways, I created a daemon that sends emails programmatically. Will probably come in handy for some devs that want to send emails without showing the compose view
logs don’t mean anything, troll.
inb4 i cannot reproduce, not my issue

i have never crashed therefore it’s not my bug

it leaks memory? are you sure
shitty tweaks cause rapid, reliable snapchat bans
t
L
best tweaks are the ones that load into snapchat and are marketed as 0% chance of getting banned
true
it's not misleading, because you don't get banned, only locked bro
What's Snapchat?
find out who leaked your nudes
hswidgets


Procursus users 
society if we all used rust
rust is the one and only lesbian language

i say jason
who names their kid jasin
wtf
yes

No you are not the minority, you are the only one


nifr


I think this is the norm
yeah I also say it with a long O not like sun or sin
Man was j was n ewww fi off es es oh hmmm raw in q gn
sus!
just learned some people pronounce gif as gif

Does this work for setProperty too ?
Like specifier.properties[@"iconImage"] = [self imageSystemFromDict:specifier.properties[@"iconImageSystem"];
instead of [specifier setProperty:[self imageSystemFromDict:specifier.properties[@"iconImageSystem"]] forKey:@"iconImage"];
@lime pivot
Why not add the second project as a dependency to the first project in Xcode 
Yes it would
How’s your Makefile setup
What’s it doing
Aye
Whatever is compiling project one
Oh interesting
Any reason you’re not just using xcodeproj.mk
what do u say
the way i pronounce it is like jay-sawn
Just drag project 2 into project 1 inside Xcode and it will add it as a dependency
Basically, drag it in, and then in the target add the framework from the project (if that makes sense)
Oh yeah btw
Discord being dumb, you only need to compile apps for arm64
aps
You were doing arm64 and arm64e
this is how i say it
Eeeerrrrrrrrr
I think so
In the project of CheatManager
Add CheatKit.framework in the bundled framework thing
I’m in class so can’t show you
lol
@tepid olive you need to bundle it
that’s just link
null
jason
Jayson

Kirb ima do the PR for Cephei SFSymbols we talked about in 2 minutes, don't know if you will like the result I came up with

go for it, we can discuss if I want to be nitpicky 😛
@vivid dew
It Open on GitHub 😄 From one of the snippet you sent, looking for UISymbolWeight is a lot of If, don’t like a lot to see this if Forrest. If you have a cleaner way to do it, feel free to teach me 😅
yeah it is, hah, just had the same thought
I don’t work with enum a lot, and I’m unable to test things bc 14.4.2 so I left it like this atm 🤷
Maybe translate those enum in array and just look for array[@"thin"] or something idk, I wanted to use switch but objc dont support it for NSString so rip
yep, annoying
Mapping enum to switch over equivalent integer value could be done too, but didn't want to send u something that I wasn't sure about it since I can't test. Anyway, good luck with that lol, glad that you liked the idea and some of the implementation 😄
I left a review for your curiosity, I can take over from here though
Yeah I wasn’t sure you could use subscripting to also set the value (#development message)
It is indeed, I’m for that syntax too now that I know it can be used that way
thank you pixelomer very cool
ew
I forgot he's banned from here for reasons that continue to be silly
Mhm
True
Ban deserved Ngl
Got many chances
¯_(ツ)_/¯
Not really but let's not get into that

rip pixel
rip pixelmator
i did tell him tbf
lol yeah
he asked if he would get banned for fucking with the bot and i said yeah someone probably will
bless his soul man

apparently it destroyed their backend lol

thank you packix very cool
we need more sections of 1 tweak
Tweaks updated for arm64e that work on iOS 13 and 14 and modify the home screen
it’s my favorite
make sure to make a category for every kind of tweak that has extensions too
it's amusing that literally any package can invent its own section
Terminal Support used to have a bunch of packages in it on telesphoreo, nowadays it literally only contains NewTerm lmao
it is better that way
lol
ok discord
the best part is this is a tweak called “iTheosMaker” so i don’t know what the fuck base is supposed to be mean in the context
oh yeah there's also the other like 5 forks of mobileterminal that are full of mostly the same bugs because it's just a rebuild of code from 2011, procursus shell packages, and 2 packages I made in 2011 and never updated
do people still use mterm i don’t really see a point
maybe it doesn’t blow up when you type yes 😳
well pown twenty told everyone to use it because newterm(2) is literally broken and nobody knows why it's even still available
mterminal makes bugs in a buggy top build magically disappear!
Nostalgia™️
Don’t use Unc0ver(6) — It is buggy as hell and literally broken. Not sure why it’s still even downloadable.
true literally everyone uses yes smh stupid terminal devs writing shit code
top can never be broken
we’ve moved past the use of yes, i am now a ye user
Wait, wasnt it just a wink bc of you telling to not use u0 ? Or did he post it first ?
he posted like two years earlier lol
@mattp_12 Don’t use NewTerm(2) — It is buggy as hell and literally broken. Not sure why it’s still even downloadable.
classic
@pwn20wnd
Oh didnt knew that, thought it was the opposite, saw it wihtout looking for the date
come back babe
see I probably should have posted context under it lmao
i think it’s established at this point
about 80% of the replies didn't bother to read the thread and see that someone provided the context
lmao maybe yeah, I saw yours first then pwnd one, didnt bother looking for the date 

but the cool people do it doesn't that make it ok?
papa pwn said yes
@lofty echo nice and tidy 😉
u dont like objc dont u
Why don't you make those dict NSInteger tho ?
Oh cause you can't, nevermind

Looks way better indeed, static inline will make things faster too, nice one
yep, unfortunately
swift definitely makes life so much easier there
Does the compiler understand when returning NSInteger in a return Enum func ?
I've read It doesn't, thats why I returned NSInteger originally instead of UIImageSymbolEnum
you could though iirc, only if you’d use the macro NS_ENUM though for defining your type
me when code in headers
clang format your mother

does anyone know if there is syntax to do this
extension Preference where Value == Array<Element>, Element: RawRepresentable {}
i can extend preferences where value is an array of some specific type
but how can i put a generic constraint within this generic constraint
where i extend preferences where value is an array of anything that conforms to rawrepresentable



extension Preference where Value: ExpressibleByArrayLiteral, Value.Element: RawRepresentable
i was able to do it with ExpressibleByArrayLiteral
That’s a custom emoji I would support
yes

Maybe try calling it
iOS doesnt have it
as far as i can tell

crashed when i tried calling it

not unknown selector
mhmmm
i feel like no tho
uhh
@interface NSTask: NSObject
- (void)setArguments:(nullable NSArray *)arguments;
- (void)setLaunchPath:(nullable NSString *)launchPath;
- (NSInteger)terminationStatus;
- (void)launch;
- (void)waitUntilExit;
@end
public func shell(_ launchPath: String, args: [String] = []) {
let task = NSTask()
task.setLaunchPath(launchPath)
task.setArguments(args)
task.launch()
task.waitUntilExit()
}
Button(":fr:") {
shell("/usr/bin/ls")
}
swift 
:fruhh:
SIGABRT
dyld got mad

rip
but like
i feel like that isnt the problem
bruh
swift moment
i dont even need this
so i dont feel like doing in objc
if it existed
why isnt it in any headers anywhere
no
arguments is nonnullable
they check
eta now
so true
if we ever set into an argument, ill spawn your process to make it better 😍
if we ever set into an argument, i'd throw an NSInvalidArgumentException 
since NSTask is public on macOS and probably used internally on iOS anyway I would doubt they’d break it
actually yeah using NSTask directly from swift may bypass some bridging magic it does
exactly my thoughts like why would they remove this

but why doesn't classdump work for it

methdump
mf does not exist
why tf
does mf not exist

why is this like this
call craig federighi
thanks
just set the termination handler
^^^ runtimebrowser is so underrated tbh
sync is gross
@interface Craig (fr)
@naive pollen
tho I really need to make a fork and clean up some shit cause that app hasn’t been touched since like iOS 7
uhh 

🪝
I learned the way the dev made https://git.io/iosrth was by literally running a wget mirror of the http server 🥴
webdab 🌍
when will apple provide NSHook so i don't need MSHook


send me the thing
thanks

hook lua scripts how?????

// do stuff
that is literally objc code

time to go back to zsh
time to find who asked
BRO WTF
i hate java
@primal perch i think youd enjoy this site http://cat-v.org/about
they hate just about everything
public class Program {
public static void main(String[] args) {
// yay, now i can write some code
// printing output should only be a few characters
// right...?
System.out.println(":fr:");
// :fr:
}
}
true
french program
jemapelle(yulky)
seeing any french in code hurts my brain
oui == TRUE
there’s a chinese c pretty sure
everybody read this
answer
in qemu sure
natively
it's x86 only so very hard
it only has hardware support for x86_64 in vmware/virtualbox basically
french sad
man i got A11 just for checkra1n and now i'm stuck with semi-untethers 

do u not like security
either security or iOS 14
why the fuck did cargo compile my arm64 executable for x86_64
all debs names from c_down tool extracted by a python script I wrote... search for your deb if you want, dunno what you can do with this info tho 
it has 19,618 entries
just abandon computers
no more shitty software


No Phoenix you hen hen

Anyone here good at SQL? Not jailbreak related, just have a question
they touch butts on tuesdays
fair
https://dontasktoask.com 😛 I'd consider myself fairly proficient, what do you need?
I'll buy you a month of nitro if you help me get through this
actually hold up I'll dm you if I have questions, thanks
Sounds good
why tf did Apple make Setup.app to be com.apple.purplebuddy
do they want Setup.app to look like a virus
lol i tried using ‘open com.apple.purplebuddy’ and had to open photos from the lock screen to get past the “Software upgraded” screen
and anyone here using a bingner/elucubratus jailbreak
could you not ssh and respring
didn’t have anything else at the ready, too lazy to get my hackintosh back out unless it was that serious
gotcha gotcha
hey do you use u0/checkra1n?
i'm on odysseyra1n
oh cool, i use ora1n as well but need to see if something is included with b/e
what do you need to see
it is
it doesn’t like you
damn
whatever this is good job bro
my alcohol doesn’t allow me to understand
probably wouldn’t have understood either way
it all worked out really well, I had to do some tricks to make it all nice and happy and fall back properly pre-iOS 13
also added in a tintColor param so you can custom tint individual icons
hi drunk cameren
nice github
how's life
thank you Nathan Quesseveur very cool
if that’s his last name that’s a cool fucking last name
this is looking like a good cephei release, mostly bugfixes I should have released 5 months ago but also hot af SF symbols support
who cares about bug fixes, sexy SF
New York Symbols
sorry sir i don’t know what symbols you’re talking about
reminds me of the wingdings 9/11 conspiracy
unless you mean the twin towers and a heart i know no other symbols
in case yall thought conspiracy theories only started recently, in 2001 people were sharing around a fake email saying wingdings predicted 9/11 because typing the flight number resulted in an airplane and two towers
too bad it wasn't the flight number
obv
shoutout trump saying brown people in new jersey were celebrating during 9/11
good times
miss that guy
the dude is literally the embodiment of new york culture /s
interesting why not?
i’m not interested in Technocrats who forcibly pander to minority groups
Lol yangs an idiot
that’s most politicians but he’s pushing that envelope too far
he offered to speak at a black lives matter rally and when they said no he just straight left instead of staying
Yangs actually stupid or just a liar, in which case the people who vote for him are stupid
he cares to stay if it scores politician points in speech
anything he’s promised is 100% not possible no matter what office he lands
Classic “i just turned 18 so im gonna vote for the guy who cant accomplish anything hes saying” moment
wtf
he just got rolled today over his comments with the gay community
like he just said the most awkward shit ever for political points
is this AI generated
yea there's really no way any of his out there ideas were going to work, even making a little progress would probably be decades of working very hard to turn the needle just enough in his favor

like bro just say you’ll fight to ensure equality regardless of identity or race
We have you all
i don’t need the semantics
if there's any proof of that it's Bernie being well beyond retirement age still trying to push what he was pushing in the 70s
the only thing he’s ever been right on is UBI
he’s 100% right, automation will and is destroying hundreds of thousands of jobs yearly and we aren’t even close to offsetting it
Ubi is not the solution to that
is this the development channel or political science 
Ubi is a problem
there’s not much else you can do
It’s for developers to talk about pwhat they want
you make the jobs but that assumes they’re fit to cover the people who lost their jobs in the first place
lmao
people def still need a way to find jobs to do when their jobs become redundant, ideally not bullshit ones
Deal with the consequences, dont offset the problem by doing something that will inevitably cause more problems
nearly all jobs are replaceable, unless you’re in trade
mathematics is getting rolled by AI
but I don't see much progress happening there considering how much pushback there is on raising minimum wage
Im a mechanic 
the computers will take over half the low-wage jobs before minimum wage is actually something people can live on 🤷♀️
anything that involves the assembly line will be 99% automated by the end of the decade likely
Objectively humans arent going to invent anything else major except for a true AI, in which case we will have invented our last thing
it basically is now
in america certainly lol
Because something smarter than us with the ability to exponentially improve itself will inevitably think of anything new before we do
Our next and last revolution will be AI
when watching factory tour videos (like gamers nexus's series) it's actually surprising how much of it isn't automated
even though you can tell it's painfully manual and sometimes intricate
in due time that will soon be automated also
one of their videos showed a USB-C cable being made, some dude literally sits there and perfectly splays out all the different 30 wires inside the cable
legitimately that seemed like the most painful factory job, and also one a computer could absolutely do better
yep
automation taxes will be the only way to survive
You should all quit complaining and just support the ripping apart of modern civilization instead
how they spend that money is important
Nothing about it is good and nothing about it will get better
problem I see though is when you throw more cost on manufacturing, it'll just move to China where they don't give two fucks how you treat your workers
Regressing is the only path to happiness
that's already been the case over the past few decades
regression at some point will ironically be progression
a universal bottom line is essential
honestly don’t see china lasting as is for another 20 years
they're definitely trying to show the world how much they can get away with but yeah true, idk how long that will last
the youth is foolish
when they grow up they will teach their children the same, and if they don’t they will find out themselves
it has to give out at some point, question will be how
you can’t exactly kill your civilians for fun these days
so they’d probably just have to concede
then again it’s china
too many cameras lmao
yeah exactly
we knew about tank man, what about other incidents
where’s there’s cameras there’s issues
who knows what else happened
considering how Taiwan citizens revolted against China going "lol cool we can take over your country now" and China just silenced them, I at least have a tiny shred of hope for them not destroying everything they control
only a tiny shred
they can try but China likes to remind them they're powerless and wasting their time
lol supreme court when they vote to maintain the standard of allowing minors to spend life in prison without chance of parole
wonderful place
thanks donald for those 3 wonderful judges
sometimes I ponder if life sentences are just a convenient way of sentencing someone to torture until death without actually saying that
basically is
and without just straight up killing them
still waiting for the US to federally ban the death penalty
i’m assuming you mean Hong Kong, not Taiwan
like idk I feel like if I were guilty of something super bad I'd rather someone just end my life so I don't need to suffer for possibly up to 70 years
oops yeah HK*
I mean Taiwan is something else entirely, they insist they're independent, China insists they own them
i think it’s preferable to let the person decide if they’d rather just get lethal injection instead of life
i don’t think the state should decide that
citizens of either country get offended if you use the wrong term to refer to the country
both are equally expensive for the tax payer
China says hey apple remove the Taiwan emoji and Apple says yep sounds good!
god bless america
pretty sure the 3 biggest users are Virginia, Ohio, and Texas
virginia just banned it this year
The Federal Death Penalty Abolition Act of 2021 is a bill pending before Congress that would abolish the death penalty for all federal crimes and all military crimes. If enacted, this act would mark the first time since 1988 where no federal crimes carry a sentence of death.
This bill would repeal capital punishment on the federal level however,...
oh nice didn’t know this was a thing again
wtf

well at least it's almost reaching 50/50 I guess 😐
every state where it’s happening does not surprise me
except Idaho, that seems a little off for them
capital punishment for swift haters
government sponsored euthanasia

already a thing
die with dignity laws exist in a few states
i wish new york would step up
what is the criteria
still would probably cost more taxpayer dollars because logic
just like the death penalty rn
wen eta someone goes to court making the argument their depression is terminal
i don’t think that’ll ever happen
does the death penalty cost more than say a 50+ year sentence?
not sure
personally i don’t care, pick your poison bro

you’re not getting away either way

damn

solo prom kinda sad tho
POV: scoob gets zero (0) pussy on prom
my prom was good
went, got out went up to a cabin on the lake, got wasted with a bunch of people, threw up a lot. many sex died from a hangover the next day had a good time
which one
wtf
i'm going with my other loser friends
one has a date, one is a girl, and two have no date
threesom with the no dates
that would be a foursome
and the other guys are kinda crusty
just have a lot of sex at the vacation spot man
your dad?
so it worked out for me
yeah sure
not rape or anything
ok
the modifier for me was being able to have sex until my cock fell off 4 hours later
cam is now nonbinary
i did not have a good morning the next day
i had to drink a lot more
because cameren did not feel good
bro just get some taco bell
i almost threw up in a ben and jerry’s
ew
because of some fucking shop next door
the smells in there were just too much
wait no i did throw up in the bushes in front of ben and jerrys lol
forgot about that
you’re ballin bro?

true
i had a red bull today
its both good and disgusting at the same time
like the kelpshakes in spongebob
true
Try again
FreeBSD 14.0-CURRENT claims to be compatible with Linux 4.4.0
checkra1n needs Linux 4.0
11 => 2.6.32
12 => 3.2.0
13 => 3.17.0 so those versions won't work
the i
@lethal ice oi
@cloud sundial
@lethal ice
gm
Please don’t contact @primal perch, as he is very busy at the moment.
@grave sparrow im taking a shit and i kid u not the cieling is leaking on me
Im going to scream
contact your local roll of duct tape
Check snap @restive ether
your kind isn’t allowed here
gn
define my kind
.replace(l, w).replace(r, w)
then why do we think alike

i'm eating rice rn
this shit so good
rice
Probably gon get bullied but is swift or obj c better for tweak dev
well
objc is really your only choice
lol
there's a few things out there for swift tweak dev but they're in a private beta afaik
yes
damn
!t tweakdev
HOW TO GET INTO TWEAK DEVELOPMENT
This has been asked countless times so it's time that there is a long message that explains this.
One of the first things you want to do is reach a "baseline" before you can even think about getting started.
What this means is that you need to be familiar with Object Oriented Programming and how to use Objective C.
uroboro was kind enough to create a guide that you can find here: https://uroboro.github.io/Learn-Objective-C-in-24-Days-Clone/
Additionally, you should also learn a little bit about how iOS works, learn some basic frameworks/stuff you will need to work with.
Stuff like how to use UIKit, Foundation, etc. Once you have a pretty good understanding of these, then you can proceed.
The next step is to actually start making tweaks. Install a tool called Theos for your appropriate device.
The installation wiki can be found here: https://github.com/theos/theos/wiki, please make sure to follow the appropriate platform instructions.
After that, you are ready to start making tweaks, please follow a tweak development guide. (Here's one if you're lazy: https://kodeycodesstuff.tech/guide)
Ty billy

you only need objc for writing hooks
and i'm not even fully sure about that but passing c function pointers in swift is 
well
i'm sure you could write a tweak in swift
but it would probably be way more trouble than it's worth
Better to learn obj c since there are barely any open source swift tweaks if any
Lmao

@tepid olive https://www.youtube.com/watch?v=I5PC9uKCPMw
#SHORTS
All rights go to Viacom...
Watch the full show: https://www.nick.com/shows/spongebob-squarepants
Subscribe ▶ http://bit.ly/THANKS4SUBBING

it’s not that bad. you’ll never get kicked out but you do owe money. this applies to life threatening instances
you can pay it back 1$ a month and they can’t do shit tho

LMAO
Too true
gnu + linux
just don't get hurt smh
wild
here in Hungary, you only have to pay like €20/month for basic government health insurance, but you gotta pay it even if you never go to the doctor
they used to be more relaxed about it but now if you miss 3 months of payments you gotta pay up the next time you need medical care
if you're employed or a student it's paid for you though
thats the concept of insurance
yeah but this is a mandatory thing, not just "enter into an insurance contract if you want"
we got da space heater
intel moment

Intel(R) Cringe(TM) i9-9900k
No Phoenix u hen hen
Hey @lapis vessel, what would be my best course of action for hooking Cr4shed to get the crash report? I suppose I could i could hook "writeStringToFile" in cr4shedmach, but eh, I wish i didnt have to parse the whole string to get the culprit, process & such. I know you dont wanna support automatic emails which is why im just gonna write a tweak that does it separately. https://github.com/Muirey03/Cr4shed/blob/115a84282850d4d49a92e50f4f9fd9e78cfc5103/cr4shedmach/TweakMach.xm#L238
@midnight leaf wouldn't it be better to look at the tableView's dataSource?
it'll probably have an array of all the logs and the necessary UIKit notifications to detect when it was updated
@gaunt mesa well, I'm creating a tweak that sends crashlogs automatically if the developer of a tweak registers to get them from another library. I've already created a library that sends emails in the background, so I just need to set up a method of getting the crashreports now.
yeah so u can check when the dataSource gets updated and pull the newest log right?
or maybe i'm thinking of something else

I want to avoid having to open the cr4shed app at all so getting from the data source wouldnt really be helpful. since the user would have to open cr4shed for it to start sending. & based on how many crashes a user would have queued, that might be alot of emails sending at once
I've never hooked a tweak so im confused how to hook a function in a one. Anyone know of any examples?
Its the same, you just dlopen first so that the symbol is loaded when your hooks are initialized.
@twilit jungle I'm guessing I would have to hook ReportCrash since thats where Cr4shed hooks & then im lost from there.
Would i have to dlopen cr4shedmach.dylib in the constructor?
If that is what contains the function symbol you are trying to hook then yeah.
Oh okay. Havent hooked a function in a long time, this will be fun!
how does theos install work?
like i just want to take a deb file and run commands to install it on a device
how do i extract deb file on windows?
7 zip
oh lemme try it
Okay I lied, hooking functions isnt fun
Only took an hour, lol
@tepid olive Well im confused what I should actually be hooking haha.
cr4shed is open source why dont you just try doing it from the source first
then hook after if you really need to
Do I need to be hooking symbol _Z17writeStringToFileP8NSStringS0
im gonna ignore the reasons but theres a better way to get that address
returns the raw pointer to the implementation you can hook
well I thought MSFindSymbol(ref, "_writeStringToFile") would do the job but it returns nil so I'm confused.
@primal perch do i need ida pro license to mess around with tweak?
& MSFindSymbol(ref, "_Z17writeStringToFileP8NSStringS0") returns the object but the hook is never called. so again confused

no
just get ghidra or pirate it
https://pastebin.com/VYPWABMM See anything wrong with this?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
i wanna mess around with snapbreak i buy tweaks smh
why
other than everything, not really
what class is write to file on
that dude couldn’t even use the right shell for a postinst
i don’t think he’s the best dev
tryna see if i can update it to latest snapchat version
mhmm
@primal perch how is everything wrong haha. Thats how I'm seeing everyone hook functions in tweak.xm files.
so do i need ida pro license for it?
not really everything i just feel like theres a way better place to get said data than by hooking a file operation
is the "Found " log being called
@primal perch Yea found is being called, but the hook isnt being called when a crash happens
is your filter plist correct
Yea, hooking ReportCrash
I wish there was a better way of getting what i need but I have to get it from the string since generatecrashreport does it all and im not rewriting his entire method in my tweak. https://github.com/Muirey03/Cr4shed/blob/115a84282850d4d49a92e50f4f9fd9e78cfc5103/cr4shedmach/TweakMach.xm#L238
Also, I'm ldrestarting each time i make changes to make sure the tweak is loaded. so at a loss here.
I would just ask muirey to accept code changes since its open source but he doesnt want to maintain it since it would be "more work" so i have to make a separate tweak for an automatic crash reporter
how would you get out of this
reboot ig
Why not call specific method that deterimes the culprit? it'll be slow but should be faster than parsing the entire log.
@twilit jungle well I do need the entire crash report as well.
but i suppose i can hook [manager createFileAtPath:path contents:contentsData attributes:attributes]; and look for ips extenstion and parse the data from that as well. but i was hoping i could hook that function for easy breezyness since idk what else calls that method in reportcrash.

Wait why can't you hook generateCr4shedReport?
ig if you are parsing the whole thing then writeStringToFile would work too.
r/me_irl
@midnight leaf you don’t need to ldrestart just restart the service you’re injecting to? Can’t you just hook something he does and catch the output from it?
whats the best way to learn how to decompile stuff?
@proud geyser i recommend asking Jiang Ying for help
who dhat?
no lol
well
kinda
anyways just learn how to read asm or pseudocode, use google, and use Ghidra or Hopper unless you wanna go pirate IDA
ofc you can pay 4k$ for IDA if you want
i downloaded ghidra
well its downloading
@tepid olive whats the diff between asm or pseudocode
Asm is assembly language eg mov x0, #5 and pseudocode is what the decompiler decides could have assembled to that asm code eg _QWORD foo = 5;
^ @proud geyser
long_night is the best theme
not macOS native though
i mean id rather have windows if any of the 3
macOS IDA never seems to work as well as windows IDA to me
since theres WINE but not really anything good if it was a linux binary for example
or macos
linux ida
sidenote i hate that those are the types it uses
that being said you can probably change it in a config
Hit Y to make it whatever you want? But yeah it’s be nice if it defaulted to int64_t or something
But it’s probably better this way because you know if it’s set correctly or guessed
gm(e)
@upbeat wyvern I ldrestart because I'm hooking ReportCrash. I think it requires that since he requires a reboot or ldrestart everytime cr4shed is installed/updated.
Nah
launchctl stop com.apple.crashReporter or whatever
com.apple.CrashReporter?
That’s all you’d need
no
i mean its possible i dont know for sure but i highly doubt
but they’re doing it
does anyone have drm that copies the dylib from code in the dynamiclibraries folder after installing
stop using that garbage
write it manually

i did this in sex drm and early checkra1n versions were broken and crashed
use mshookmemory
prom tomorrow
true
scoop got the suit
is it possible to hook a static function?
yea
How do i find it in hopper?
tfw hardware debugging iBoot
awesooome. I got automated crash reports working for Cr4shed. Should be useful to you devs since alot of jailbreak users dont send their crashreports.
everyone’s inbox is about to get spammed

how does it determine who to send the email to
another alternative i think would just be to have everyones repo respond to a http request on /crashreport
because you can identify the repo the package came from
ignores piracy mfers too
then again i dont think github pages likes that
and thats like 90% of repositories
my dumbass back again is theos working fine on taurine
ofc
just install the theos package
ok
Thought it wouldn’t as documentation said it needed sam binger
so there are two different places that logs are created from: cr4shedd if it's a nsexception report and ReportCrash if it's a mach report. Neither place really has access to the culprit information so I would definitely suggest parsing the string. It's very easy to parse: https://github.com/Muirey03/Cr4shed/blob/115a84282850d4d49a92e50f4f9fd9e78cfc5103/Shared/sharedutils.mm#L234
@restive ether in a tweak you’ll have to call something like “registerautoCrashlogsWithTweakname:authorized” then when a users selects yes, you register what process you want crashlog from or if you want crashlogs if your tweak dylib name is the culprit. So devs will have to dlopen my library to register the tweak for automatic logs to start coming. I could prolly parse the status file to get dev emails but a lot of them I sure don’t want crashlogs. I’m setting up a email strictly for logs when I release & implement it.
@lapis vessel I couldnt really find a great place for getting the crashlog for exceptions so I hooked the Cr4shedServer writeString code. As for Mach, I hooked the writetostring function but couldn’t replicate a crash to trigger it so I haven’t really tried it much.
@lapis vessel so far it’s working. (Ignore the subject)
Coke
It was sorta fun reversing the mail frameworks, not sure if anyone’s really done it but programmatically sending them is pretty cool but maybe “dangerous”
CrashReporter did this (still does), just literally nobody used it
see Theos has the problem that the docs are poor but its users are resourceful in finding what they need. when you look at stuff like CrashReporter there's super cool poorly documented functionality that literally nobody is using
Anyone know where this is:
# include <ApplicationServices/ApplicationServices.h>
That could've been dumped from an app
This collection of documents provides the API reference for the Application Services framework, which includes several services that are essential to Carbon applications. The Application Services framework also includes support for a number of legacy technologies—such as QuickDraw and the Font Manager—that have been superseded with newer technologies like Quartz 2D and ATSUI.
it's macOS Carbon specific, and probably doesn't exist there any more either
you definitely won't find it on iOS
what are you trying to do?
Port cups
hm. it won't be straightforward, you would need to do patching of at least that one file to not use Carbon APIs
Thank you for your time
or find whatever build flag is making it use Carbon and disable it, that may or may not be possible
likely it would then start trying to depend on other packages to use in place of the Carbon APIs
Does anyone know of any program to copy the entire interior of the iphone by usb? EX mobile / var folder
scp or rsync
rsync ftw
Yo, so I got a tweak request from someone and I need to put a UILabel on top of everything no matter where you are on the phone. My first thought was to just slap the text on top of all UIWindows, which works great! My issue though, is that I need the touches to pass through the text, since the text is not meant to be interacted with. I haven’t been able to successfully do that... so :/ any advice would be greatly appreciated
At first I tried overriding the different methods having to do with touch. But none of that seemed to work
userInteractionEnabled = NO is what you want. may be best to set that on the window itself, or whatever other parent view is suitable inside the window
I’ve tried that... I’m not sure what I’m missing. Thanks tho! I’ll try it again and make sure I didn’t miss anything
is tweak development on a hackintosh an alright experience
it's the same as a normal mac
k
No
they are fun

meth is fun, that doesn’t mean you should do it (do it)

czechra1n
omg wtf, i can't believe you're dababy
this song is so fucking good
:meth;
lol mediabar14 causes random resprings for me
cc @boreal bramble
no crash logs though?
including when i wasn’t playing anything
looking like jetsam
:meth:
.
there's a tag btw it's called tweakdev
fr guide is much better
leviathan guide
















ra1n

