what glib-c verson does factorio use/what alocator does it use

Place to post guides, observations, things related to modding that are not mods themselves.
ilikehackinggames
Inserter
Inserter
Posts: 36
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

what glib-c verson does factorio use/what alocator does it use

Post by ilikehackinggames »

what glibc verson does factorio use on linux or if it doesnt use glibc what alocater does it use and what verson of it?
eugenekay
Filter Inserter
Filter Inserter
Posts: 619
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by eugenekay »

objdump -T /path/to/bin/factorio | grep GLIBC

Relevant StackOverflow

You may also be interested in ‘ldd’ and ‘readelf’.

Good Luck!
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 369
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by Sanqui »

Our build servers run Debian 11 and consequently we are currently using glibc 2.31. (https://packages.debian.org/source/bullseye/glibc)

We are committed to keep supporting this version for as long as possible.
ovo
ilikehackinggames
Inserter
Inserter
Posts: 36
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by ilikehackinggames »

yea ok then in that case my bug is just a dos due to the lack of a leak, just a (limited) overflow
Rseding91
Factorio Staff
Factorio Staff
Posts: 15985
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by Rseding91 »

ilikehackinggames wrote: Mon Aug 04, 2025 6:34 pm yea ok then in that case my bug is just a dos due to the lack of a leak, just a (limited) overflow
... What?
If you want to get ahold of me I'm almost always on Discord.
eugenekay
Filter Inserter
Filter Inserter
Posts: 619
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by eugenekay »

It sounds like there is a (possible) Memory Leak, specific to Linux?

I am curious if this is inside the “Game Sandbox”, or if it is one of the pre-authentication Network functions for when a client is joining a Multiplayer game? I only disassembled the Windows binaries myself, and they seemed to handle everything correctly (ie, free-ing memory after rejecting a Client) at least as far back as 1.0.
ilikehackinggames
Inserter
Inserter
Posts: 36
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by ilikehackinggames »

not a memory leak but a heap based buffer overflow. namely the lua stack.
ilikehackinggames
Inserter
Inserter
Posts: 36
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by ilikehackinggames »

by a leak i ment a info leak to defeat alsr. its only posable to trigger from lua and if you can do this you can already dos by causing a infanent loop
ilikehackinggames
Inserter
Inserter
Posts: 36
Joined: Thu Apr 24, 2025 11:51 pm
Contact:

Re: what glib-c verson does factorio use/what alocator does it use

Post by ilikehackinggames »

so simply put. its useless for a attacker. at least on its own.
Post Reply

Return to “Modding discussion”