Anonymous
8/10/2025, 4:55:06 AM
No.106207989
>>106207573
>what I meant is whether there are any functions that hook into as(1) directly, without having to start an entire new process
That's impossible because as(1) in an executable file, you have to launch a process to execute it. I guess what you're looking is access to the internal library of as/gas (GNU assembler) but I don't know if this software provides a library. as/gas is part of binutils so look at what they've got, also maybe gcc has something.
If they don't have a library, which would be pathetic, you can use NASM. It has a C library.
>what I meant is whether there are any functions that hook into as(1) directly, without having to start an entire new process
That's impossible because as(1) in an executable file, you have to launch a process to execute it. I guess what you're looking is access to the internal library of as/gas (GNU assembler) but I don't know if this software provides a library. as/gas is part of binutils so look at what they've got, also maybe gcc has something.
If they don't have a library, which would be pathetic, you can use NASM. It has a C library.