Comments (13)
this would be pretty interesting and I think useful overall. (My only concern is the increasing complexity in loading the two modules)
it would probably help with getting community involvement as well, as I expect most people are put off by the foreign python way of doing lldb stuff
from chisel.
I like this idea a lot.
Huge +1 from me.
from chisel.
My only concern is the increasing complexity in loading the two modules
Yep, that's my concern too. The good thing is there will be feedback sooner than later when attempting to implement this.
from chisel.
help with getting community involvement as well, as I expect most people are put off by the foreign python way of doing lldb stuff
Yep, this too!
from chisel.
Great idea! Although I had fun figuring out how to use objective-c via python, it wasn't the most productive process.
I don't think the slowness of the commands is that big of a deal, but I bet developers would be more inclined to contribute if it wasn't so painful to develop for.
from chisel.
@alloy raised a good (and obvious, yet missed) point on Twitter: this approach will be troublesome on device.
from chisel.
for iOS 7 and 8 or is this just a 7 problem?
I wonder if there's some way to hack it in
On 12 Dec 2014, at 18:00, Dave Lee [email protected] wrote:
@alloy raised a good (and obvious) point on Twitter: this approach will be troublesome on device.
—
Reply to this email directly or view it on GitHub.
from chisel.
Some experimentation will be required. First hurdle is getting the library from the computer loaded into the process on the device.
from chisel.
I wonder if Zack L (at FB) would be a good person to speak to about loading onto a device.
from chisel.
Yeah you'll probably run into a copy issues loading onto a device. lldb in general would make it very easy, but that assumes you can have write+execute pages, so that method is probably out. The next method would be to save the library onto the device and then dlopen it (easiest way is probably have some code on the client side that knows how to download it from an endpoint). Or just always ship it as part of your debugging app.
But you'll have to sign the library with the same key that the main app was signed. The best way to do that is probably have a little script that looks at the key used to sign the main app, and try to sign the library with the same key.
from chisel.
sounds like way too much effort for a brittle mechanism that would run on every lldb start up.
could we fake this with lldb expressions and blocks to create the stuff at runtime/first use? (maybe only in the case of on device?)
On 12 Dec 2014, at 23:49, Zachary P. Landau [email protected] wrote:
Yeah you'll probably run into a copy issues loading onto a device. lldb in general would make it very easy, but that assumes you can have write+execute pages, so that method is probably out. The next method would be to save the library onto the device and then dlopen it (easiest way is probably have some code on the client side that knows how to download it from an endpoint). Or just always ship it as part of your debugging app.
But you'll have to sign the library with the same key that the main app was signed. The best way to do that is probably have a little script that looks at the key used to sign the main app, and try to sign the library with the same key.
—
Reply to this email directly or view it on GitHub.
from chisel.
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.
from chisel.
This did happen in #197
from chisel.
Related Issues (20)
- pviews AttributeError: 'NoneType' object has no attribute 'split' ? HOT 1
- pjson not show Chinese HOT 8
- chisel load failed HOT 8
- install fail HOT 1
- error
- 'pvc' is not a valid command.
- error: (lldb) command script import /usr/local/opt/chisel/libexec/fblldb.py HOT 4
- error: module importing failed: invalid pathname HOT 11
- taplog error in ios14 HOT 5
- bmessage cause a error message
- visualize is not woking on Mac App
- Xcode 12.3 NameError: name 'lldb' is not defined HOT 1
- Not work in xcode 13
- CG_CONTEXT_SHOW_BACKTRACE required?
- [Xcode 13] LLDB RPC server has crashed HOT 1
- Failed applying an ad-hoc signature to xxx HOT 1
- do you want to support python3??
- There is no fbobjclldb.py module which is mentioned in the README.md HOT 1
- it's very slow when using visualize command
- IOS development
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chisel.