Questions tagged [stripping]

72 questions
56
votes
5 answers

What's the difference between DWARF and DWARF with dSYM file?

XCode supports those 2 values for this Build Setting: Build Settings > Build Options > Debug Information Format. Could anybody explain the differences?
Lio
  • 4,225
  • 4
  • 33
  • 40
40
votes
1 answer

Xcode 4 archive warning to skip copy phase

I have an app for the Mac that I am trying to archive. I have done this in the past with an earlier version of Xcode however when I archive with Xcode 4, I get the following warning: warning: skipping copy phase strip, binary is code signed:…
David
  • 14,205
  • 20
  • 97
  • 144
34
votes
2 answers

How to avoid stripping for native code symbols for android app

I'm getting sigsegv 11 in native code and i need to avoid stripping to understand what's wrong. The app uses library (aar) and i was able to avoid stripping for the aar with 'cmd-strip' hack. But in the apk stripped version of .so is used anyway so…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
34
votes
5 answers

Removing spaces from a variable input using PowerShell 4.0

I've tried a few things already but they don't seem to work for some reason. Basically what I'm attempting to do is have a user input a value using the "Read-host" cmdlet, then strip it of any spaces. I tried: $answer = read-host $answer.replace('…
cloudnyn3
  • 769
  • 4
  • 10
  • 15
27
votes
8 answers

Remove html tags except
or
tags with javascript

I want to remove all the html tags except
or
tags from a string using javascript. I have seen many questions like this but their answers will remove all the html tags including
and
tags. Does anyone knows a regex to do this?
cp100
  • 1,463
  • 6
  • 20
  • 35
21
votes
4 answers

How to strip headers/footers from Project Gutenberg texts?

I've tried various methods to strip the license from Project Gutenberg texts, for use as a corpus for a language learning project, but I can't seem to come up with an unsupervised, reliable approach. The best heuristic I've come up with so far is…
heartpunk
  • 2,235
  • 1
  • 21
  • 26
17
votes
1 answer

Using HTMLParser in Python 3.2

I have been using HTML Parser to scrapping data from websites and stripping html coding whilst doing so. I'm aware of various modules such as Beautiful Soup, but decided to go down the path of not depending on "outside" modules. There is a code code…
13
votes
8 answers

Xcode Instruments is stripping symbols despite all build settings to the contrary

Problem Instruments' Time Profiler is stripping all symbols except system libraries from my app, despite the fact that I have disabled this behavior in all relevant build settings in Xcode — but only on one development machine. The other dev machine…
jaredsinclair
  • 12,687
  • 5
  • 35
  • 56
6
votes
3 answers

Strip Linux kernel sources according to .config

Is there any efficient way (maybe by abusing the gcc preprocessor?) to get a set of stripped kernel sources where all code not needed according to .config is left out?
dronus
  • 10,774
  • 8
  • 54
  • 80
5
votes
3 answers

Stripping Commas and Periods

I am currently trying to input a text file, separate each word and organize them into a list. The current problem I'm having is getting rid of commas and periods from the text file. My code is below: #Process a '*.txt' file. def Process(): name…
Keyfer Mathewson
  • 1,035
  • 2
  • 16
  • 27
4
votes
1 answer

Binary Stripping in a Nutshell

Can someone explain binary stripping to me? How effective is it (How much does it reduce your binary)? How do you apply it?
theUser
  • 105
  • 1
  • 7
4
votes
1 answer

How to extract content from pdf file in react-native

I am working on a personal project where I want to have a functionality where I can pick up a pdf file from the file system and read the content of it by ANYHOW. I tried every possible library out there but nothing works and most of them no support…
3
votes
1 answer

Stripped symbols are not hidden from strings linux tool

I have a shared library with the symbols stripped. Using a known method/tool to get the symbol names (like nm -D, objdump, readelf, etc) I see that all the symbols are actually hidden. However, if I run the strings linux tool on my shared library, I…
sasfour
  • 399
  • 1
  • 3
  • 10
2
votes
2 answers

Wrapping up a BIG C++ project in an iOS static library: dependencies, stripping & hiding

We have a huge codebase with multiple dependencies (like tinyxml, fft stuff, etc), templates, ... in C/C++, all of which is wrapped neatly behind a very simple C interface. Building a dynamic library for OSX was just fine, because we could easily…
Bram de Jong
  • 2,063
  • 1
  • 13
  • 7
2
votes
1 answer

permissions error related to Stripping when Creating RPM on CentOS from source code

When building an RPM from existing source code, I'm getting the following error: /usr/bin/strip: unable to copy file '/home/vagrant/temp/BUILDROOT/python3-3.4.3-1.el6.x86_64/usr/lib/libpython3.4m.a'; reason: Permission denied When I look at…
Dan
  • 316
  • 2
  • 10
1
2 3 4 5