This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

help needed! need to symbols from my .lib file.

hello everyone. im quite new to this.. and to "embedded" in general.. so please help.

i got to do an integration between a costumer code and our algorithem code. im working on a ST board.
i have included our librery to their project, and it works well. i need to send them the code. but , i can see that in the .lib file which i included (the only one they will get) you can see our code .. and for reverse engineering reasons...that sould not be there!

i know there must be a way to hide all the symbols and source code from the .lib file.

i tried using the options for target->linker-> misc control .. trying different flags.. but none seems to work, also tried reading about "scatter files" and "HIDE *" command from Keil's user manuel.

so how its done?

thank's

Parents
  • Back when I last had cause to do this, I wrote an app to sanitize ELF objects and libraries, so the only thing in plain text was the function names the customer could bind too, and the library functions it imported. General rule of thumb is to understand the object formats at least as well as the people you expect to analyze them.

    Unchecking "Debug Information" when creating the objects will kill some of the noise.

Reply
  • Back when I last had cause to do this, I wrote an app to sanitize ELF objects and libraries, so the only thing in plain text was the function names the customer could bind too, and the library functions it imported. General rule of thumb is to understand the object formats at least as well as the people you expect to analyze them.

    Unchecking "Debug Information" when creating the objects will kill some of the noise.

Children
No data