#development
1 messages · Page 517 of 1

you’re precious
stfu
@misty cradle youre also precious
thank you





error messages like that go to stderr, not stdout, you'd need to redirect using which ssh 2>&1 to do that
though you shouldn't rely on exact error messages typically
if ! hash ssh 2>/dev/null; then
echo 'get some ssh bro'
exit 1
fi``` cleaner approach
did dicsord not reply to the message
was replying to this
I do not know what you just realised
std meaning the c++ stdlib though in this case
too many standard things can we just like have less standards
just dont have standards
tap the relevant xkcd comic

Hey guys, I’m having a weird issue with my tweak Selenium, specifically the last update on Dynastic repo (v1.2.0).
Basically devices on Taurine can install it without any problems, but devices on Unc0ver are getting a dpkg error saying that there’s a preinst script but it is not found (see screenshot), and I could not find anything online about that.
Is it a problem with the dpkg version itself (as it is different between those 2 jailbreaks)? Or is it a problem on my end?
The full source code is available on https://www.github.com/lgariv/Selenium
wheres the screenshot
@unkempt seal try to comment everything out in postinst and preinst or have a simple echo command
and try on unc0ver
The thing is that those scripts are needed for a proper behavior of the tweak
Yea but most likely it could be the contents of the scripts that are causing this issue
I’ll try it when I’ll get home, but it looks to me as if dpkg doesn’t even read those scripts according to the error
Anyone know why this isn’t working?
downgrade make
you have #!/usr/bin/bash, that should be #!/bin/bash
How to downgrade on Sileo
long press modify button
Thank you
you should also have Pre-Depends: bash because bash won't be installed by default on procursus soon (or it already changed? idk)
Thank
however, the things you're doing in the maintenance scripts are a little icky, you shouldn't need those scripts at all
at minimum, you shouldn't need to fix permissions in postinst. you should be fixing the perms in your source theos project
at maximum, don't patch system files 😬
also that's a lot of unnecessary boilerplate code there
you're constantly assigning a variable and then only using it once
UX is my passion
at least that one was long before your time so I can't blame you

int**
now you're correcting a typo
that’s a pretty long haul change i doubt you’ll see any time soon
i do agree having 3 shells is bleh
but sh should definitely be dash and zsh is a way better user shell so
how did you manage that
that looks different
Procursus moment
I updated like 12 packages
And it broke
what’s your libiosexec version number
there it’s fixed
alias ugh = 'rm -rf ~/Library/Developer/Xcode/DerivedData'
what's that
if you're having a bad time with xcode just run ugh
all your issues will be fixed instantly
interesting
ratio
counter ratio
counter counter ratio
Could live text be ported to A11, once there is a public jailbreak for iOS 15? Or does it really require the extra transistors of the A12?
it could be
there's NotLiveText but maybe something closer to the original can be done?
apparently A11 Neural Engine only has like 1 or 2 cores
Yes
It’s one bool
It could be ported to any device in theory
It would just be slow
Hmm notlivetext is a paid tweak right?
And isn’t really livetext (just ocr, without the Apple magic I need lol)
I think so
Might be worth it, don’t think it would be that slow.
Poomsmart looked into it when the beta first launched
intel macs don’t have the ml engine but it’s still pretty fast
Im sure its fast as fuck on my dual core i5
ur macbook isn’t supported by monterey 
isn’t it a 2014
2015
ah
if it wasn't I'd be very confused because its been running monterey since June
it has been for years
i hope they don’t drop support for my 5k iMac
it runs monterey better than my 2020 pro
All macs are obsolete now, please upgrade to iPadOS for latest software.
When is it gonna release officially, beta launch feels like a decade ago
either october/november, my bets on a release date being confirmed after the mac event next week
Oh alright, makes sense, because they might launch the new macs with the new os
i don’t think software should be released until it’s ready
true
i dont think
therefore you’re not
I'm not alive
biased
you mean based
no he’s biased
how am i supposed to compile altdaemon on iOS
got swiftc cctools iPhoneOS.sdk MacOSX.sdk and ld64
willing to bet you run make at some point
yes
nya :3
imagine not uninstalling the tips app
it was unironically useful to me once
i was fighting with auto switching airpods and it popped and told me how to turn it off

copypaste developer here
copypasta developer here (i am nepeta's alt)
Bet
@misty cradle
Gm
How did you guys learn how to make tweaks?
Is there a way I can see what a hooked method returns?
@bright hornet happy birthday
ty 
@bright hornet happy birthday big man

Anyone here ever present a UIAlertViewController from cli?
no
I do that all the time, literally violate saurik and sbingner's GPL everyday
You have mastered reading spaghetti code so quickly
One would think that, but instead I just piss off saurik 
as they say sucks to suck
If anyone can help me with this lmk in procursus server, I'm leaving

Mf you never fixed ldid for a15 don’t leave
gone
NSLog(@"%@", %orig); 
This approach is arguably not ideal
You will call orig again when you presumably return it at the end
And calling it twice can cause issues in certain functions
you’re better doing id orig = %orig;
Thanks :)
Or wherever type you’re playing with
And then return orig right
Yep
Gm
id orig = %orig;
NSLog(@“[YourTweak] functionName = %@“, orig);
return orig;
Is my go to
Gm
on mobile, sorry for sucky formatting
does this mean the function is rly empty??
I mean all it does is return, but why would there be an empty function
So that subclass can override it to have custom behavior
ooh true I forgot abt that
@grave sparrow ported my rust to c++ finally
need to transfer the rest of the instructions now
gtg

🥑 ✨
Avocado is widget
Way to ruin the fun

Could not attach to pid : “58274”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: lost connection
User Info: {
DVTRadarComponentKey = 855031;
RawUnderlyingErrorMessage = "lost connection";
}
Literally what
Xcode mac app
how do you learn objective c?
uroboro was kind enough to create a guide
i made a guide too
also can you learn and code it on windows?
called learning objc through not
inspirational
my sip is compeltely off rn
also
well
its bc some libraries just
dont work
Anybody knows a tweak that can repack existing ipa on device?
depends on the ios version
13, why?
only one i know of for that version is slightly dubious
thats not what a tweak is sir
Which means?
Everything is a tweak 
noob
I tried that but it’s throwing “failed to open info.plist” file when I try to install
Probably doing something wrong
because the app is not the root...
What do you mean? The app is inside the payload
Tree:
appname.ipa:
-> Payload
-> appname.app
@peak quartz
the .app is not the root of the zip
It is
it should never be...
Payload -> .app
wouldnt be cracked
weird
so you couldnt install it on other devices
@tepid olive well
which i assume is the whole point
you basically just package it by hand, then replace the encrypted with the decrypted binary
if its in the correct structure then the issue is your entitlements probably or your Info.plist is somehow corrupt
checking this out
https://medium.com/@lucideus/extracting-the-ipa-file-and-local-data-storage-of-an-ios-application-be637745624d tried to follow these command lines, got the ipa, still error. there are wrong steps here?
wait i think i got it
i needed to change the bundle identifier inside that plist because i did some nasty hack with injecting a dylib and signing on my device, seems to be solved ill verify this
Hey I was hoping to know how can I detect when an app is in foreground (is opened) while developing in theos...
Just like the shortcut app does with it’s automation andd how activator does detect app launches..
Are you injected into Springboard?
it’s okay father Steve
clang-format for logos
what alacritty?
i am going to try to run my implementation on mac and see if it works next
i just hate using tmux along with neovim since it causes color/speed issues
I figured it out, ok bye
gameseagull with da clang
finally decided to fuck with clang-format and make it usable with logos
nice
its like a formatter paired along with clang-format. it is mainly built for that type of use
so it should be easy to configure with vscode and vim,etc
so you can actually format your logos files

and i rewrite gameseagull in pure objc
the thing about clang format is that you got alot of options to choose from so this could actually make your life easier
allign block syntax
it doesn’t have formatting. its just a syntax plugin iirc
its like using vim with syntax formatting and snippets
primarily now yeah
i use wsl and open the tweak.x/m files in vscode
but when im at school i dont have that luxury, so i use an online code editor thing and then i email my phone the changed code
yea i am pretty sure you can configure custom formatters on vscode
its just providing bin and args
like two lines
theres more of a chance that it would work
2 lines is 2 lines
oh you mean like a vscode plugin
interesting
then you can use chromium style
or something else
make a .clang-format file in your project and BasedOnStyle: Chromium
and boom
very interesting
thats a lot of options
that i dont think i will ever need to touch
besides like 3 of them
you can use a style which already has all preconfigured. and change default values
poor little i
if you got llvm installed, you can try it out rq 
alright next project logos lsp server
Yess
Then you can pull the front most application from SBApplication
@faint timber happy birthday big man
thats rude
bored as fuck gonna rewrite my cydia repo downloader
white













@grave sparrow

ok
it's true
Praying for the ban
you have been fr'd, stop resisting
Why must you do this
To be fair, JS is a weird language
And I have spent the last 2 years doing nothing but TS/JS
Like the fact that undefined is an object
Though there are a lot of things I really like about JS
wtf is that
nice, a broken ssl cert
that's worse than it being 1
honestly it's not
^
imo
ideally "11" + 1 should refuse to compile
well C is simple
you get a warning in literally any linter
YARN + a NUMBR in lolcode uses integer math
yeah
clang does though
strings are const char pointers which are arrays
what
can you show what code it's saying should be there instead
if i wanted to append it
also yaml > toml
so that would output "1"?
yes
i thought it was saying how to concatenate the string lmao
lol
KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED
Ok foundation
shut the fuck up
anyone have the ios 5.0 sdk
refer to this: #development message
ignore him.. follow this: #development message
ignore him. follow this: #development message
based mister
depends, TOML can be nice if you just need flat INI-like configs and don't need null values, but when it gets more complicated with nesting and all, YAML is cleaner
yeah\
i still need to convert my config.toml to config.yaml in hugo
and theme.toml maybe, but it doesnt have much nesting
idk how that's based he's just being an ass
TOML syntax gets weird in cases like this:
[[foo]]
a = 42
[foo.x]
b = 69
c = 34
[[foo]]
d = 123
[foo.y]
e = 987
f = 666
in YAML:
foo:
- a: 42
x:
b: 69
c: 34
- d: 123
y:
e: 987
f: 666
ignore him, please refer to this: #development message
wtf
YAML also has some bruh moments though:
>>> yaml.safe_load("""
... countries:
... - ES
... - HU
... - NO
... """)
{'countries': ['ES', 'HU', False]}
avoidable by quoting strings (or using strictyaml but then you fully lose automatic int/bool conversion unless you specify a schema)
Anyone here know what to do when dealing with __NSCFType in Swift
wth
Yeah don't use swift 
thats literally what I've done
make this one lonely file
only objc code in the whole project
it'll be to not conflict with objc
-[WiFiNetwork initWith:]

@grim sparrow I believe that’s a memory leak
I think it should be self.passkey = (__bridge_transfer NSString *) WiFiNetworkCopyPassword(reference);



@grim sparrow And I also think you need to call CFRelease(self.manager); in the dealloc
but it’s good practice, no?
I don't support good practice
lol
Also why not, are you only hooking into one process?
its an app and a shared instance is made somewhere else
so its held for the life cycle of the app
Well you better hope getNetworks is called only once as well, otherwise RIP memory
Why does something else own the shared instance instead of itself?
I put everything ndef in one place

@tepid olive unironically most of my data storage uses yaml instead of json

if not a db ofc
why do you need it
thanks
What is the arm64 syscall ABI?
daily reminder to use atnt syntax, thanks
i do
agree
what's that
why are you all so rude
put the syscall number in x16, arguments are just like a regular function call, then execute svc #0x80
alright
svc immediate doesn't really matter it's ignored but 0x80 is c standard
thanks
Is there a work around for cannot link directly with dylib/framework, your binary is not an allowed client when linking with SpringBoard? I realise I could do runtime lookup, but I'm trying to use swift where possible

swift 
Thats not a swift issue
swift is the issue
how far does that go @twilit jungle
heres the history behind atnt syntax, sorry for being rude #development message
Why
Why what?
How far does what go?
the chain of discord links
4/20 nice
idk what you talking about
nvm
the day dgh0st gives a straight answer is the day the world ends

i think i remember him giving a straight answer at least once
has the world ended already?
according to the mayans yea
is this what the afterlife looks like.
since @misty cradle is here it can't be heaven
F
time to convert my x86_64 assembly code to arm
F
:uhhw:
found fiores daily driver
#import <UserNotifications/UserNotifications.h>
@interface UNUserNotificationCenter
-(id)initWithBundleIdentifier:(id)arg1 ;
@end
int main() {
UNMutableNotificationContent *content = [[UNMutableNotificationContent alloc] init];
content.title = @"uinotification test";
content.body = @"nothing ever works";
UNUserNotificationCenter *center = [[UNUserNotificationCenter alloc] initWithBundleIdentifier:@"us.procurs.uinotification"];
[center requestAuthorizationWithOptions:UNAuthorizationOptionAlert completionHandler:^(BOOL success, NSError *error) {
if (!success) {
NSLog(@"uinotification: requestAuthorizationWithOptions: %@", error.localizedDescription);
exit(1);
}
}];
UNNotificationCategory *category = [UNNotificationCategory categoryWithIdentifier:@"us.procurs.uinotification" actions:@[/*action*/]
intentIdentifiers:@[] options:UNNotificationCategoryOptionHiddenPreviewsShowTitle;
[center setNotificationCategories:[NSSet setWithObject:category]];
content.threadIdentifier = @"us.procurs.uinotification";
UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:@"us.procurs.uinotification" content:content trigger:nil];
[center addNotificationRequest:request withCompletionHandler:^(NSError *error){
if (error) {
NSLog(@"uinotification: addNotificationRequest: %@", error.localizedDescription);
exit(1);
}
}];
}
what am I doing wrong?
I'm using the same ents as notificationd in libnotifications
bro your runloop?
why run in a loop when you can exit
does it work if you use NSNotificationCenter

@faint timber happy birthday big man
@vivid dew happy birthday big man
stfu
@vivid dew happy birthday big man
@lethal ice happy birthday big woman
@vivid dew happy birthday big man
go ahead give me the birthday role
L
blue name tri` >>>>>>>>>>>>>
my balls and my nuts
don't exist
proof
jules said otherwise
isn't he trying to send a notification
yes
Jules only likes lolis so...
nsnotificationcenter can do that
iirc
wait nvm
i am r
i got the wrong class name
im so tired

cat girls smh
what is r
dm me for more info

can you stop like posting about development in the shitposting channel

i think i'm stupid
but i can't get my icon to work
system literally refuses to load it
can you fking explain this
i have no idea, all sizes are fking correct
windows moment
is there an autotool actually on macOS for this?
i have an source 500x500 png from canva
i think your windows font is messed up

mf you almost went to heaven



I mean technically JSON is valid YAML but
I use JSON for anything that needs to be automatically updated by a script rather than human-readable
if it's not complex enough to need a DB of course
have been using TOML lately for configs since most of my programs don't need overly complex configuration, but I use YAML for one of them now
I mean technically JSON is valid YAML but
I use JSON for anything that needs to be automatically updated by a script rather than human-readable
if it's not complex enough to need a DB of course
have been using TOML lately for configs since most of my programs don't need overly complex configuration, but I use YAML for one of them now

man, there has got to be an entitlement to skip notificiation authorization requesting
why can't we just do
<key>*</key>
<true/>


maybe u could make some sort of headless app
I think there is
im looking now
ok
i cant code or play guitar well troll
i cant do either of these, help
I wonder if it would be easier to use Bulletin instead of UserNotification...
@tepid olive i use yaml for configs and yaml for really simple data storage just because sometimes i need it to be readable
I still use JSON5 for my "all-in-one" Telegram bot that's written in node.js because I've been too lazy to migrate it over to anything else
plus it has a facility to enable/disable configs by modifying the config file, and I'd probably need to write a custom dumper for YAML to be satisfied with the format it outputs in when modifying the config file
f
https://github.com/elihwyma/DiscordTokenGrab i put this into a tweak but i have no devices rn, anyone wanna test it for me?
ok, make sure you're logged in and don't change your password after for a few hours please
that's fine, i added that to conflict so you'll have to uninstall anyway 
Ok send the deb
Yeah I realised the problem
It’s fucking stupid
Discord can suck an egg
It depends on a fucking feature flag
That I don’t have
But some people do
maybe you should ask zoey
/s
wait you can just remove the token from the plist, Discord doesn't even make use of it?
still waiting for you to swallow that raw egg
That’s why it works for some and not others
would love to know who the hell decided they had to write out the token in plaintext but only for one specific feature
how did that pass code review
thats the thing they dont lmao
yeah works fine without the token for everything except sharing from an exterior app
worst idea ever
time to figure out why i am getting invalid mach-o error
Your MachO is invalid, obviously
funny
Anyone here have iOS 12 and 13 devices that can test something for me?
sure they do, discord just have no clue what they’re doing apparently
Does anyone know what would cause this error?
yes of course
send me a deb
i'm running an iphone 14 pro max sigma on ios 18
apparently decided they’d rather fix the problem by storing a copy of the unrestricted full account access token in plaintext than, say, generating another token that can only list channels and send messages and nothing else
and storing that separate from the main token in a less restricted keychain item
No
they’re dysfunctional if they’re at their size and don’t have processes like code review
iPhone 14 has a Sigma lens bro??
is the camera bump like 4 inches now
interchangeable???
3 new ones to capture the beauty of your micropenis
compatible with my Sony mirrorless lenses?
yes but you need to buy a dongle

I tried to create a simple executable
#include <dlfcn.h>
#include <stdio.h>
int main() {
int *i = dlopen("/var/root/bin2", RTLD_LAZY);
char *e = dlerror();
printf(e);
}
it won't work

it either does:
Killed: 9
or error: process exited with status -1 (no such process.)
you need to give your process the get-task-allow entitlement so lldb is allowed to attach to it
alright
if you already have an entitlements plist just add xml <key>get-task-allow</key> <true/> then clean and rebuild
I don't
No, I'm just compiling with clang
just to make sure you’re aware, you need to fake-sign the binary with ldid for it to run at all
discord has had a bot problem for months and has yet to do anything. i really just don’t think they care about anything
after compiling
yeah I tried that, nothing happened
they’re just hoping bot devs can make a semi working way of blocking them from raiding servers
hmmm ok one moment
I’m good with my risk of token stealing being limited to Discord’s incompetence
ok I tried ldid on another thing and got ../ldid.cpp(1455): _assert(): end >= size - 0x10
How do I fix this?
what was the command?
ldid -S bin2
could be an old version of ldid? don’t know any reason that could fail on a current build
you didn’t give it an entitlement xml to sign with
also gotta love the ldid error logging
super great
#StanProcursusLdid
oh ok i found what causes the error
if (symtab != NULL) {
auto end(mach_header.Swap(symtab->stroff) + mach_header.Swap(symtab->strsize));
if (symtab->stroff != 0 || symtab->strsize != 0) {
_assert(end <= size);
_assert(end >= size - 0x10);
size = end;
}
}
im confused how this is possible
not required, it’ll still work without one
oh is it
wild
ldid’s functions are pretty undocumented it’s pretty annoying
i’m happy cam took the time to do it at least
documentation definitely not saurik’s strong suit
some of the options are interesting to say the least
and i’m not quite sure why they were ever added
yeah
took him like two days to write it
because some of the options had no info at all
and saurik’s code is not the best to read...
groff
you should not be surprised something described as “looks disgusting” starts with the letter g
once for each arch in the binary
I feel like that could have been a nice feature if it were general purpose
so do i need to recompile ldid
not specifically hardcoded to uikit
macOS but I was using ldid on the iOS device itself
if so you can get the latest on brew
ok on iOS should also be current
just use the link i sent
idk it’s fine
it’s never not worked for me
oh great
Gm Repo Man
I wonder when someone was going to tell me this
15.1 at least i don’t know about 15.0
not like the tool everyone builds with needs to be prepared or anything
pro’s has a patch for it
does it work? maybe
kinda hard to test when no one has a 15 jailbreak i suppose
but in theory it works
I mean I hope that’s not why @proper reef’s ldid is broken
it's not
it's this weird thing with ldid
for some reason
it doesn't like my binary
I have no idea what _assert(end >= size - 0x10); is for
epic error logging
I don't know why ldid doesn't work on binaries that have the data offset larger than the symbol table offset + size
easiest way to check is to just follow altstore
if theirs breaks saurik’s is def broke
So why can't I launch ```C
#include <dlfcn.h>
#include <stdio.h>
int main() {
int *ien = dlopen("/var/root/bine2", RTLD_LAZY);
char *e = dlerror();
printf(e);
}
Hack fix for iOS 15.1 beta
iOS 15.1+ requires either hash agility or sha256 to be before sha1.
that’s so dumb lol
is he still using ldid in violation of the license
does he have proprietary changes?
i saw he had a repo
but i don’t know if he releases builds of ldid included in altstore with changes not on the repo
riley and respecting licenses seem to go hand in hand
Is there any problem with this code that makes it not work on compilation?

(This is the best way I've found to get error info on the other thing I'm trying to compile and execute)
there’s a chinese one also for all our international friends
but if I can't even get that to execute...
I tried signing it with ldid, it didn't say anything, but also just didn't run
Killed: 9
error: process exited with status -1 (no such process.) in lldb
what entitlements did you sign it with
you usually don’t need platform-application but it’s dependent on the jb injecting the entitlement for you
ok i added get-task-allow and platform-application, tried it again, and nothing, killed:9
what does this even do
it executes the other binary and tells me what's wrong with it
I have no idea why it won't allow me to execute it
yes
yes
it doesn't really matter the name of the other binary
why did i name it bine2? no idea
THANKS
dlopen(/var/root/bine2, 1): no suitable image found. Did find:
/var/root/bine2: code signature in (/var/root/bine2) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
I have to sign that somehow though
what ios is this
that's the one with ../ldid.cpp(1455): _assert(): end >= size - 0x10
14.4
but yeah that next binary is a problem because of the ldid error
<key>platform-application</key>
<true/>
<key>com.apple.private.skip-library-validation</key>
<true/>
<key>com.apple.private.security.no-container</key>
<true/>
do you have all three
codesign is not my specialty
alright thanks i had to add that libraary vvalidation one
dlopen(/var/root/bine2, 1): no suitable image found. Did find:
/var/root/bine2: can't map segments into 16KB pages
/private/var/root/bine2: can't map segments into 16KB pages hmmmm
you might need more entitlements, i also don’t suggest putting your binary in /var/root/
should just be in whatever /usr/ directory it’s applicable too
thankfully dyld is open source so I can see the root of that error
not fully
pretty sure it differs a little in iOS but you should get what you need
awesome bug
You can’t even put a bin in /var, iOS won’t execute it
doubt
Nope, I wrote this is mdoc, which technically is a subset of roff
heres a formatted one https://man.cameronkatri.com/ldid/ldid
pretty sure c1 bypasses that
not really, it's quite easy to understand and write
c1?
checkra1n
it’ll work it’s just not a very portable solution lol
can someone help me figure out why the attachments are just showing the path, and not a thumbnail? https://github.com/ProcursusTeam/uikittools-ng/blob/uinotif/uinotif.m
I could have sworn at one point the sandbox prevented execs either within var or external of var , just don’t remember which and this phones not jailbroken to check
as cam said pretty sure check will bypass that
that was my understanding also
but yeah /var/root still a bad idea even if it is possible
dlopen(/var/root/bine2, 1): no suitable image found. Did find:
/var/root/bine2: can't map segments into 16KB pages
/private/var/root/bine2: can't map segments into 16KB pages still
it'd be nice if it told me which segment is the problem
dlopen(/var/root/bine2, 1): no suitable image found. Did find:
/var/root/bine2: out of address space
/private/var/root/bine2: out of address space
what in the world is that supposed to mean
is that on iOS?
yes
maybe it's a jetsam thing?
kern_return_t r = vm_alloc(&addr, size, VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_DYLIB));
if ( r != KERN_SUCCESS )
throw "out of address space";
``` also good job apple
but like
how am i supposed to fix this
also yes this is a weird binary
I don’t know why it’s saying this or how to fix it
@tepid olive any idea

it is
false
arm v7 
Lol
go ahead write x86 and use 16 byte instructions
not as bad as booleans being 1 byte
bruh
I'm not trying to access anything
I'm just trying to get it to execute
I was just rewording the error
dlopen(/var/root/bine2, 1): no suitable image found. Did find:
/var/root/bine2: out of address space
/private/var/root/bine2: out of address space
huh ok
kern_return_t r = vm_alloc(&addr, size, VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_DYLIB));
if ( r != KERN_SUCCESS )
throw "out of address space";
``` this is the code where the error is thrown in dyld
it's very smart that apple did it this way
since there's no chance that it'll fail for any other reason
How am I supposed to figure out what is wrong
i would assume by figuring out what is wrong

I have achieved one of the worlds greatest achievements: Segfault swiftc
that’s not in the app bundle
<- this arrow points to json addicts
Of all the things to be addicted to, that is one of the stranger options
what about meth
i use it everywhere even where i really shouldnt lol
Yeah I got no teeth what about it?
have you tried writing nocode https://github.com/kelseyhightower/nocode
I'm sticking to meth
is there such thing as too much ascii

too bad
@rancid dome if you're still interested, i updated my repo downloader to be natively compatible with linux and macOS https://github.com/kawaiizenbo/RepoFullDownloader-Core
Hello does anyone know why the vm_alloc could fail when launching a program with dlopen
It’s not from loading from wrong location
unless vm_alloc checks binary location which it doesn’t
tell me if you have any issues with it :)
so uhhhhh what could cause vm_alloc to fail like that
Whats the best way to override the compilers framework search path? Lets say I want to modify the SpringBoard.tdb to not be limited by what binary it links against, and store that elsewhere. How would I tell the compiler that I want to link against that version of the framework
-F
-F -R
-F -R -

what good fortunes
my terminal tells me to kill myself
Why doesn't [[UIScreen mainScreen] setBrightness:] work?
Is it an entitlement issue?

how would i put something like this into a tweak
also dgh0st, i dont want any bruh comments from you
literally copy paste
im learning


Thats c code 
c m or x would all work

all 3 of them errored 

its pseudocode
then "literally copy paste" is not the move
literally copy paste and move the function definition out of the constructor

i don’t understand please explain it in brazilian portuguese
no hablo espanol
no hablo c errors initializer element is not a compile-time constant
io non comprendo c
trolled
it uses NSString u need objc
lol
is it just TWEAK_LIBRARIES = objc in the Makefile?

#include <objc/objc.h> 
why are u writing this in objc it's literally
%hook
%new
-(int)count
{
return 0;
}
%end```
Oh I was looking at the wrong header


that makes me wonder
cause i literally know an app on the appstore that can control brightness
hi. does anyone know what could cause dlopen(/var/root/bine2, 1): no suitable image found. Did find: /var/root/bine2: out of address space /private/var/root/bine2: out of address space
?
wouldn't that be not page aligned
It’s only temporary
if u respring it’ll reset
what did u even change to get this to happen
oh i had to extend the segment by like, 16k to get it to stop complaining about invalid page size
putting your bin in the var 
it was 4k on x86_64 but for some reason arm64 wants 16k
you're trying to transpile x64 to arm64?
the segment extender thing i originally wrote for x64
now i need it to work on arm64
i only did it on x86_64 because it's easier to test there
yea idk
smh you are not the assembly king we thought you were
ok then i'll ask you about the asm part of it
Is there a permanent one?








