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


Groups > comp.lang.python > #3404

Re: An unusual question...

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wisecracker@tesco.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'wrapper': 0.07; 'python': 0.07; 'received:81.103': 0.09; 'received:81.103.221': 0.09; 'received:81.103.221.35': 0.09; 'received:ispmail.ntl.com': 0.09; 'received:ntl.com': 0.09; 'extension': 0.14; 'assumed,': 0.16; 'install.': 0.16; 'received:aamtaout04-winn.ispmail.ntl.com': 0.16; 'memory': 0.24; 'calling': 0.25; 'thanks': 0.29; 'good.': 0.29; 'to:addr:python-list': 0.32; 'using': 0.34; 'hoping': 0.36; 'think': 0.36; 'either': 0.37; 'run': 0.37; 'current': 0.38; 'to:addr:python.org': 0.39; 'would': 0.40; 'from:no real name:2**0': 0.60; 'url:net': 0.62; 'url:search': 0.64
Date Sun, 17 Apr 2011 16:27:36 +0100
From <wisecracker@tesco.net>
To Python <python-list@python.org>
Subject Re: An unusual question...
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Priority 3 (Normal)
Sensitivity Normal
X-Originating-IP from 217.39.32.97 by mail.tesco.net; Sun, 17 Apr 2011 16:27:36 +0100
X-Mailer 4.2.7
X-Cloudmark-Analysis v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=W5MoBzYaD9EA:10 a=VGi4Nqwp24wA:10 a=IkcTkHD0fZMA:10 a=uVhb0EPuAAAA:8 a=nWwrNhkoAAAA:8 a=6bQkU-fnAAAA:8 a=R5qnLUmHAzoT1qvFrCoA:9 a=QEXdDO2ut3YA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.464.1303054065.9059.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 82.94.164.166
X-Trace 1303054065 news.xs4all.nl 81478 [::ffff:82.94.164.166]:56727
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3404

Show key headers only | View raw


Hi Miki...

>> os.system("/full//path/to/Jump <address_of_binary_in_ascii>")

> This is calling a different *program* outside of the current Python process. I don't think
> it'll do what you want (different memory segments). 

That is what I assumed, that an os.system() call would run in a subshell. 

> I'd start with either using ctypes/libffi or writing my own C extension wrapper around your good.

Hmm, I was hoping to stay inside a standard Python install.

Thanks a lot...



--
73...

Bazza, G0LCU...

Team AMIGA...

http://homepages.tesco.net/wisecracker/

http://main.aminet.net/search?readme=wisecracker

http://mikeos.berlios.de/

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: An unusual question... <wisecracker@tesco.net> - 2011-04-17 16:27 +0100

csiph-web