name 'SegByName' is not defined [macOS IDA]

修改如下文件

“/Applications/IDA\ Pro\ 7.4/ida.app/Contents/MacOS/cfg/idapython.cfg”

// Alert before loading automatic scripts found in current directory

// swig_runtime_dataN, sitecustomize and usercustomize

ALERT_AUTO_SCRIPTS = YES

 

// Remove current directory from import search path

REMOVE_CWD_SYS_PATH = YES

 

// Script timeout (in seconds)

// (A value of 0 disables the timeout)

SCRIPT_TIMEOUT = 3

 

// Should the plugin automatically load a backward-compatibility-providing

// 'idaapi' wrapper module?

AUTOIMPORT_COMPAT_IDAAPI = YES

 

// Should the plugin automatically load a 6.95 bw-compatibility layer?

AUTOIMPORT_COMPAT_IDA695 = YES         //此处改为yes

 

// Is IDAPython namespace-aware?

// If yes, then plugins, loaders & processor modules will each be loaded

// within their own namespace, preventing namespace pollution.

NAMESPACE_AWARE = YES

 

// Should results be printed by 'sys.displayhook'?

REPL_USE_SYS_DISPLAYHOOK = YES

你可能感兴趣的:(个人总结)