Custom libc

Can I run a binary using pwntools with a custom libc? (Not with the system libc)

Thanks :smiley:

Custom libc ? What do you mean, can you explain what do you wanna do ?

try:
r = process([‘./command_name’], env={“LD_PRELOAD”:“./libc.so.6”})

@davidlightman said:
try:
r = process([‘./command_name’], env={“LD_PRELOAD”:“./libc.so.6”})

Thanks!! :smiley: