* Strip Command Inquiry
@ 2021-02-23 18:18 Kim, Calvin
2021-03-12 15:14 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Kim, Calvin @ 2021-02-23 18:18 UTC (permalink / raw)
To: binutils
Hello,
I am not sure who exactly to ask so I am sending this email an inquiry
about the Strip Command. I am conducting research on Anti-Debugging and I
would like to figure out how the Strip Command works. I took a look at the
source code, but am having trouble pinpointing exactly how 'strip' is
implemented and how strip removes static symbols from binaries. Do you have
any guidance on this or can you point me to another professional who may be
familiar with this? Thank you so much.
v/r
Calvin Kim
The College of New Jersey '21
Computer Science Major
cell: (201) 739-8214
email: kimc16@tcnj.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Strip Command Inquiry
2021-02-23 18:18 Strip Command Inquiry Kim, Calvin
@ 2021-03-12 15:14 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2021-03-12 15:14 UTC (permalink / raw)
To: Kim, Calvin, binutils
Hi Kim,
> I would like to figure out how the Strip Command works. I took a look at the
> source code, but am having trouble pinpointing exactly how 'strip' is
> implemented and how strip removes static symbols from binaries.
Take a look at the filter_symbols() function in binutils/objcopy.c. The
function contains a heuristic to complute the value of the local variable
'keep'. If it decides that keep is true then the symbol is copied from
the input symbol table to the output symbol table, otherwise it is
discarded.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-12 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 18:18 Strip Command Inquiry Kim, Calvin
2021-03-12 15:14 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).