assembly - execv example is segfaulting -


हैलो मुझे निम्नलिखित execv उदाहरण के साथ एक समस्या है:

jmp कम callit

doit:

pop esi
xor eax, eax
mov बाइट [esi + 7], अल
ली एबिक्स, [esi]
mov long [ एएसआई +8], ईबीएक्स
मोम लम्बी [एससी +12], एएक्स
एमएपी बाइट अल, 0x0 बी
एमवीएच ईबीएक्स, एएसआई
लीए एक्सएक्स, [एसआई +8]
लीए एडीएक्स, [एएसआई +12]
इंट 0 एक्स 80

कॉलिट: कॉल डॉट # डीबी / / बिन / एसएच # एएएएएएबीबीबीबी '

कोड को सीगफ्ल्टिंग क्यों है? मुझे यह पता चला है:

आप हमें यह बताने के लिए भूल गए हैं कि आप इस कोड को कैसे चला रहे हैं और जहां यह दोष है ।

यदि आप इसे स्टॉक में निष्पादन योग्य बनाने की कोशिश करते हैं तो यह संभवतः पठन-केवल पाठ अनुभाग में समाप्त हो गया है, इसलिए गलती।

यदि आप इसे स्टैक से करने की कोशिश की है, तो वह निष्पादन योग्य नहीं होगा, इसलिए गलती।

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -