[ / / / / / / / / / / / / / ] [ dir / 1cc / asmr / fp / htg / leftpol / monarchy / new / vore ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 1f5b69a08373e2b⋯.jpg (52.8 KB, 700x383, 700:383, specialoffer.jpg) (h) (u)

[–]

 No.828244>>828315 [Watch Thread][Show All Posts]

Hello

Today I'd like to present a library to help you deal with these pesky segfaults. Production ready `asegv` not only will stop users of your software from complaining about your crappy programming skills but will also make them enjoy these moments when your software decides to misbehave. `asegv` was made with ease of use in mind. All you have to do is link it with your software and voila! For the situations when you don't have the source code or are too lazy to compile it is possible to add this amazing library with LD_PRELOAD, no problem!

Just remember to decompress it first with `xz -d`

https://a.uguu.se/ehKyn4hdPnNm_libasegv.so.xz

 No.828256>>828260 >>829866

>corporations will unironically adopt this methodology within the next 5 years, into games, browsers, smart phones, smart TVs, routers, and ECUs


 No.828260

>>828256

That would be our DOOM


 No.828273>>828275

Does it also solve UB?


 No.828274

What the fuck


 No.828275

>>828273

Also cures software cancer


 No.828286

I'll just sick to gdb + valgrind


 No.828295>>828314

File (hide): 17713a2eb899800⋯.png (233.88 KB, 1182x652, 591:326, the best thing about tilin….png) (h) (u)

File (hide): 7586ea137b0adb3⋯.png (29.16 KB, 408x389, 408:389, abblaus :DDD.png) (h) (u)

For everyone who doesn't feel like running a dynamically linked shared object which through an oversight still has a dependencies on SDL2 (and also zlib, libjpeg etc.) left…

Good one, OP.


 No.828314>>828332

>>828295

>unironically running a blob from random anon

you've missed the 'sudo' part though


 No.828315>>828319

>>828244 (OP)

Where is the source code?

Do you think people will simply run your botnet blob?

And what exactly does it do? It magically turns compiled C code into PHP or something?


 No.828319>>828320 >>828332 >>828334

>>828315

It seems to be gzdoom but with a few extra functions to set up a signal handler. Unfortunately gzdoom is under a cuck license and is not fully compatible with the GPL. Quick RE:

void handle(int signal) {
int argc = 1;
char argv[][] = {"gzdoom"};
if (signal != SIGSEGV) {
return;
}
fprintf(stderr, "Caught SIGSEGV: Starting DOOM\n");
run(argc, argv);
}

void init() {
signal(SIGSEGV, handle);
}

This is bundled along with gzdoom. The run function is actually the main function from https://github.com/coelckers/gzdoom/blob/master/src/posix/sdl/i_main.cpp but renamed to run. It also looks like OP didn't properly create argv so that the array terminated with a NULL element, though this could be a side effect from the compiler / my reverse engineering.

I didn't check if OP did anything else with the binary, so you should still be weary about running it.


 No.828320

>>828319

*by bundled, I mean that OP bundled it


 No.828326

Hey, OP here. Tomorrow I'll try to provide diff of the gzdoom repo just to show how big of a botnet I created.


 No.828332

>>828314

I've known OP for some time through IRC now and did some static analysis like >>828319 before running it on reduced privileges. Just wanted to provide a screenshot for the rest before he never eventually delivers his source patch.


 No.828334>>828335

>>828319

gzdoom is fully gpl


 No.828335>>828343

>>828334

Whoops, my bad. I was looking at zdoom which didn't look to be GPL.


 No.828343

>>828335

We forgive you. x


 No.828663

Here's the diff against the gzdoom repo containing headers with gzdoom.pk3 and doom1.wad

https://a.uguu.se/DEji8BtEVgHm_asegv.diff.xz


 No.828713>>829025

I'm working on a better tool. Whenever there's a segfault, it deletes your OS and programs and replaces them with new ones written in Rust.


 No.829025

>>828713

redox liveinstaller?


 No.829866

>>828256

They won't. Corporate inertia knows no bounds.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
20 replies | 1 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / 1cc / asmr / fp / htg / leftpol / monarchy / new / vore ][ watchlist ]