Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #148325

Re: Discarding unneeded object files

From David Brown <david.brown@hesbynett.no>
Newsgroups comp.lang.c
Subject Re: Discarding unneeded object files
Date 2019-12-01 17:17 +0100
Organization A noiseless patient Spider
Message-ID <qs0p20$lc0$1@dont-email.me> (permalink)
References <bf115892-5d89-4b5a-91c7-7ef091a433b9@googlegroups.com> <ykeEF.243203$Wl6.227595@fx17.am4> <d7db9b30-1aa5-4369-8978-96a7aa9b385d@googlegroups.com> <qs0k3g$jm5$2@news.xmission.com>

Show all headers | View raw


On 01/12/2019 15:52, Kenny McCormack wrote:
> In article <d7db9b30-1aa5-4369-8978-96a7aa9b385d@googlegroups.com>,
> Frederick Gotham  <cauldwell.thomas@gmail.com> wrote:
>> "Wasn't your intention to make it hard to hack? Then having redundant
>> modules could make it harder for a hacker."
>>
>>
>> I understand your rationale here, but I don't want to manually go through a
>> hundred source files to mark every function "always_inline" and "flatten". So
>> first I remove the redundant files to reduce 100 to 10.
>>
>> After I've marked the necessary functions as "always_inline" and "flatten", I can
>> then later add in redundant code.
> 
> Can't you write a script to do this - whatever it is you're doing?
> 
> Surely, that's the way to go - and then it won't matter how many times you
> have to do it.
> 

Of course that would be a better idea.

An even better idea would be to listen to the advice he gets on the 
newsgroups he posts to.  A few gcc options are all he needs to handle 
everything automatically.  However, he is convinced that his plan is 
good no matter what anyone else says.  I just hope he is joking about 
the need for security or secrecy in his code - or that someone else 
involved realises what whatever the question might be, this guy's 
approach is not the answer.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Discarding unneeded object files Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-11-29 10:36 -0800
  Re: Discarding unneeded object files Bart <bc@freeuk.com> - 2019-11-29 19:29 +0000
    Re: Discarding unneeded object files Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-12-01 05:13 -0800
      Re: Discarding unneeded object files gazelle@shell.xmission.com (Kenny McCormack) - 2019-12-01 14:52 +0000
        Re: Discarding unneeded object files Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-12-01 07:01 -0800
          Re: Discarding unneeded object files gazelle@shell.xmission.com (Kenny McCormack) - 2019-12-01 15:06 +0000
          Re: Discarding unneeded object files Richard Damon <Richard@Damon-Family.org> - 2019-12-01 19:32 -0500
            Re: Discarding unneeded object files Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-12-02 00:00 -0800
        Re: Discarding unneeded object files David Brown <david.brown@hesbynett.no> - 2019-12-01 17:17 +0100
  Re: Discarding unneeded object files Richard Damon <Richard@Damon-Family.org> - 2019-11-29 14:30 -0500
  Re: Discarding unneeded object files jacobnavia <jacob@jacob.remcomp.fr> - 2019-11-30 23:44 +0100
  Re: Discarding unneeded object files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2019-12-01 08:42 +0000
    Re: Discarding unneeded object files Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-12-01 05:10 -0800
      Re: Discarding unneeded object files gazelle@shell.xmission.com (Kenny McCormack) - 2019-12-01 14:51 +0000
      Re: Discarding unneeded object files Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-12-01 17:26 +0000
        Re: Discarding unneeded object files gazelle@shell.xmission.com (Kenny McCormack) - 2019-12-01 17:43 +0000
          Re: Discarding unneeded object files Richard Damon <Richard@Damon-Family.org> - 2019-12-01 20:04 -0500
    Re: Discarding unneeded object files Tim Rentsch <tr.17687@z991.linuxsc.com> - 2019-12-01 09:39 -0800
      Re: Discarding unneeded object files gazelle@shell.xmission.com (Kenny McCormack) - 2019-12-01 17:45 +0000
      Re: Discarding unneeded object files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2019-12-02 13:15 +0000
        Re: Discarding unneeded object files Tim Rentsch <tr.17687@z991.linuxsc.com> - 2019-12-06 22:05 -0800

csiph-web