交互界面相关函数

idc

http://www.cnblogs.com/fply/p/8505348.html

 

 AskStr(defval, prompt)
    """
    Ask the user to enter a string

    @param defval: the default string value. This value will appear
             in the dialog box.
    @param prompt: 对话框中的提示信息

    @return: the entered string or None.
    """

 

AskStr("11","222")

 

 

AskFile(forsave, mask, prompt)
    """
    Ask the user to choose a file

    @param forsave: 0: "Open" dialog box, 1: "Save" dialog box
    @param mask: the input file mask as "*.*" or the default file name.
    @param prompt: the prompt to display in the dialog box

    @return: the selected file or None.

 

print AskFile(0,"*.exe","2222")

 

 

AskAddr(defval, prompt)
    """
    Ask the user to enter an address

    @param defval: an ea_t designating the default address value. This value
             will appear in the dialog box.
    @param prompt: the prompt to display in the dialog box

    @return: the entered address or BADADDR.

 

 

print AskAddr(ea,"222")

 

输入long

AskLong(defval, prompt)

 

 

AskSeg(defval, prompt)

AskYN(defval, prompt)

 

输出信息到控制台

Message(msg)

utf-8形式输出

UMessage(msg)

 

弹出窗口

Warning(msg)

 

 

Refresh()
"""
Refresh all disassembly views

 

RefreshLists()
"""
Refresh all list views (names, functions, etc)

 

转载于:https://www.cnblogs.com/fply/p/8505348.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值