Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

IDC Supported functions #1

Open
Maijin opened this issue Aug 13, 2015 · 3 comments
Open

IDC Supported functions #1

Maijin opened this issue Aug 13, 2015 · 3 comments

Comments

@Maijin
Copy link
Collaborator

Maijin commented Aug 13, 2015

https://www.hex-rays.com/products/ida/support/idadoc/162.shtml

  • AddAutoStkPnt2
  • AddUserStkPnt
  • AddBptEx
  • AddBpt
  • AddCodeXref
  • AddConstEx
  • AddEntryPoint
  • AddEnum
  • AddHotkey
  • AddSegEx
  • AddSourceFile
  • AddStrucEx
  • AddStrucMember
  • AltOp
  • Analysis
  • AnalyzeArea
  • Appcall
  • AppendFchunk
  • ApplySig
  • ApplyType
  • AskAddr
  • AskFile
  • AskIdent
  • AskSeg
  • AskSelector
  • AskStr
  • AskYN
  • AttachProcess
  • AutoMark2
  • AutoMark
  • AutoShow
  • Batch
  • BeginEA
  • BeginTypeUpdating
  • Byte
  • CanExceptionContinue
  • DelStkpnt
  • ChangeConfig
  • CheckBpt
  • CheckTraceFile
  • DiffTraceFile
  • ChooseFunction
  • CleanupAppcall
  • ClearTraceFile
  • CmtIndent
  • CommentEx
  • Comments
  • Compile
  • CompileEx
  • CreateArray
  • DalvikGetArrayElem
  • DalvikGetArraySize
  • DalvikGetInstanceFld
  • DalvikGetLocal
  • DelArrayElement
  • DbgByte
  • DbgWord
  • DbgDword
  • DbgQword
  • DbgRead
  • DbgWrite
  • DelBpt
  • DelCodeXref
  • DelConstEx
  • DelEnum
  • DelExtLnA
  • DelExtLnB
  • DelFixup
  • DelFunction
  • DelHashElement
  • DelHiddenArea
  • DefineException
  • DelHotkey
  • DelLineNumber
  • DelSeg
  • DelSelector
  • DelSourceFile
  • DelStrucMember
  • DelStruc
  • DeleteAll
  • DeleteArray
  • Demangle
  • DetachProcess
  • DfirstB
  • Dfirst
  • DnextB
  • Dnext
  • Dword
  • EnableBpt
  • EnableTracing
  • EndTypeUpdating
  • Eval
  • Exec
  • Exit
  • ExpandStruc
  • ExtLinA
  • ExtLinB
  • Fatal
  • FindBinary
  • FindCode
  • FindData
  • FindExplored
  • FindFuncEnd
  • FindImmediate
  • FindSelector
  • FindText
  • FindUnexplored
  • FindVoid
  • FirstFuncFchunk
  • FirstSeg
  • ForgetException
  • GenCallGdl
  • GenFuncGdl
  • GenerateFile
  • GetArrayElement
  • GetArrayId
  • GetBmaskCmt
  • GetBmaskName
  • GetMinSpd
  • GetBptAttr
  • GetBptEA
  • GetBptQty
  • GetBptTevEa
  • GetCharPrm
  • GetColor
  • GetConstBmask
  • GetConstByName
  • GetConstCmt
  • GetConstEnum
  • GetConstEx
  • GetConstName
  • GetConstValue
  • GetCurrentLine
  • GetCurrentThreadId
  • GetCustomDataType
  • GetCustomDataFormat
  • GetDebuggerEvent
  • GetDisasm
  • GetDisasmEx
  • GetEntryName
  • GetEntryOrdinal
  • GetEntryPointQty
  • GetEntryPoint
  • GetEnum
  • GetEnumCmt
  • GetEnumFlag
  • GetEnumIdx
  • GetEnumName
  • GetEnumQty
  • GetEnumSize
  • GetEnumWidth
  • GetEventBptHardwareEa
  • GetEventEa
  • GetEventExceptionCode
  • GetEventExceptionEa
  • GetEventExceptionInfo
  • GetEventExitCode
  • GetEventId
  • GetEventInfo
  • GetEventModuleBase
  • GetEventModuleName
  • GetEventModuleSize
  • GetEventPid
  • GetEventTid
  • GetExceptionCode
  • GetExceptionFlags
  • GetExceptionName
  • GetExceptionQty
  • GetFchunkAttr
  • GetFirstBmask
  • GetFirstConst
  • GetFirstHashKey
  • GetFirstIndex
  • GetFirstMember
  • GetFirstModule
  • GetFirstStrucIdx
  • GetFixupTgtDispl
  • GetFixupTgtOff
  • GetFixupTgtSel
  • GetFixupTgtType
  • GetFlags
  • GetFrameArgsSize
  • GetFrameLvarSize
  • GetFrameRegsSize
  • GetFrameSize
  • GetFrame
  • GetFuncOffset
  • GetFunctionAttr
  • GetFunctionCmt
  • GetFunctionFlags
  • GetFunctionName
  • GetHashLong
  • GetHashString
  • GetIdaDirectory
  • GetIdbPath
  • GetInputFilePath
  • GetInputFile
  • GetInputMD5
  • GetLastBmask
  • GetLastConst
  • GetLastHashKey
  • GetLastIndex
  • GetLastMember
  • GetLastStrucIdx
  • GetLineNumber
  • GetLocalTinfo
  • GetLocalTypeName
  • GetLongPrm
  • GetManyBytes
  • GetManualInsn
  • GetMarkComment
  • GetMarkedPos
  • GetMaxLocalType
  • GetMaxTev
  • GetMemberComment
  • GetMemberFlag
  • GetMemberId
  • GetMemberName
  • GetMemberOffset
  • GetMemberQty
  • GetMemberSize
  • GetMemberStrId
  • GetMnem
  • GetModuleName
  • GetModuleSize
  • GetNextBmask
  • GetNextConst
  • GetNextFixupEA
  • GetNextHashKey
  • GetNextIndex
  • GetNextModule
  • GetNextStrucIdx
  • GetOpType
  • GetOperandValue
  • GetOpnd
  • DecodeInstruction
  • GetOriginalByte
  • GetPrevBmask
  • GetPrevConst
  • GetPrevFixupEA
  • GetPrevHashKey
  • GetPrevIndex
  • GetPrevStrucIdx
  • GetProcessName
  • GetProcessPid
  • GetProcessQty
  • GetProcessState
  • GetRegValue
  • GetReg
  • GetSegmentAttr
  • GetStepTraceOptions
  • GetShortPrm
  • GetSourceFile
  • GetSpDiff
  • GetSpd
  • GetStringType
  • GetString
  • GetStrucComment
  • GetStrucIdByName
  • GetStrucId
  • GetStrucIdx
  • GetStrucName
  • GetStrucNextOff
  • GetStrucPrevOff
  • GetStrucQty
  • GetStrucSize
  • GetTevCallee
  • GetTevEa
  • GetTevRegVal
  • GetTevRegMemQty
  • GetTevRegMemEa
  • GetTevRegMem
  • GetTevReturn
  • GetTevTid
  • GetTevType
  • GetThreadId
  • GetThreadQty
  • GetTinfo
  • GetTraceDesc
  • GetTrueName
  • GetType
  • GetnEnum
  • GuessType
  • FormatCData
  • HideArea
  • HighVoids
  • IdbByte
  • Indent
  • IsBitfield
  • IsEventHandled
  • IsFloat
  • IsFunc
  • IsInt64
  • IsLong
  • IsObject
  • IsPvoid
  • IsString
  • IsUnion
  • ItemEnd
  • ItemHead
  • ItemSize
  • Jump
  • LineA
  • LineB
  • LoadDebugger
  • LoadTil
  • LoadTraceFile
  • LocByName
  • LowVoids
  • MK_FP
  • MakeAlign
  • MakeArray
  • MakeByte
  • MakeCode
  • MakeComm
  • MakeCustomData
  • MakeData
  • MakeDouble
  • MakeDword
  • MakeFloat
  • MakeFrame
  • MakeFunction
  • MakeLocal
  • MakeName
  • MakeNameEx
  • MakeOword
  • MakePackReal
  • MakeQword
  • MakeRptCmt
  • MakeStr
  • MakeStructEx
  • MakeTbyte
  • MakeUnkn
  • MakeUnknown
  • MakeVar
  • MakeWord
  • MakeYword
  • MarkPosition
  • MaxEA
  • Message
  • MinEA
  • MoveSegm
  • Name
  • NextAddr
  • NextFchunk
  • NextFuncFchunk
  • NextFunction
  • NextHead
  • NextNotTail
  • NextSeg
  • OpAlt
  • OpBinary
  • OpChr
  • OpDecimal
  • OpEnumEx
  • OpFloat
  • OpHex
  • OpHigh
  • OpNot
  • OpNumber
  • OpOctal
  • OpOffEx
  • OpOff
  • OpSeg
  • OpSign
  • OpStkvar
  • OpStroffEx
  • ParseTypes
  • PatchByte
  • PatchDbgByte
  • PatchDword
  • PatchWord
  • PauseProcess
  • PrevAddr
  • PrevFchunk
  • PrevFunction
  • PrevHead
  • PrevNotTail
  • ProcessUiAction
  • Qword
  • ReadMsr
  • RebaseProgram
  • RefreshDebuggerMemory
  • RefreshLists
  • Refresh
  • RemoveFchunk
  • RenameArray
  • RenameEntryPoint
  • RenameSeg
  • ResumeThread
  • Rfirst0
  • RfirstB0
  • RfirstB
  • Rfirst
  • Rnext0
  • RnextB0
  • RnextB
  • Rnext
  • RunPlugin
  • RunTo
  • SaveBase
  • SaveTraceFile
  • ScreenEA
  • SegAlign
  • SegByBase
  • SegByName
  • SegComb
  • SegEnd
  • SegName
  • SegStart
  • SelEnd
  • SelStart
  • SelectThread
  • SendDbgCommand
  • SetArrayFormat
  • SetArrayLong
  • SetArrayString
  • SetBmaskCmt
  • SetBmaskName
  • SetBptAttr
  • SetBptCnd
  • SetBptCndEx
  • SetCharPrm
  • SetColor
  • SetConstCmt
  • SetConstName
  • SetDebuggerOptions
  • SetEnumBf
  • SetEnumCmt
  • SetEnumFlag
  • SetEnumIdx
  • SetEnumName
  • SetEnumWidth
  • SetFchunkAttr
  • SetFchunkOwner
  • SetFixup
  • SetFlags
  • SetFunctionAttr
  • SetFunctionCmt
  • SetFunctionEnd
  • SetFunctionFlags
  • SetHashLong
  • SetHashString
  • SetHiddenArea
  • SetInputFilePath
  • SetLineNumber
  • SetLocalType
  • SetLongPrm
  • SetManualInsn
  • SetMemberComment
  • SetMemberName
  • SetMemberType
  • SetProcessorType
  • SetRegValue
  • SetReg
  • SetRegEx
  • SetRemoteDebugger
  • SetSegAddressing
  • SetSegBounds
  • SetSegClass
  • SetSegDefReg
  • SetSegmentAttr
  • SetSegmentType
  • SetSelector
  • SetShortPrm
  • RecalcSpd
  • SetSpDiff
  • SetStatus
  • SetStepTraceOptions
  • SetStorageType
  • SetStrucComment
  • SetStrucIdx
  • SetStrucName
  • SetTargetAssembler
  • SetTraceDesc
  • Sleep
  • StartDebugger
  • StepInto
  • StepOver
  • StepUntilRet
  • StopDebugger
  • StringStp
  • SuspendThread
  • Tabs
  • TailDepth
  • Til2Idb
  • Voids
  • Wait
  • Warning
  • Word
  • WriteMsr
  • XrefShow
  • XrefType
  • add_dref
  • atoa
  • atol
  • byteValue
  • delattr
  • del_dref
  • fclose
  • fgetc
  • filelength
  • firstattr
  • fopen
  • fprintf
  • fputc
  • fseek
  • ftell
  • get_field_ea
  • getattr
  • hasName
  • hasValue
  • hasattr
  • isBin0
  • isBin1
  • isChar0
  • isChar1
  • isCode
  • isData
  • isDec0
  • isDec1
  • isDefArg0
  • isDefArg1
  • isEnum0
  • isEnum1
  • isExtra
  • isFlow
  • isFop0
  • isFop1
  • isHead
  • isHex0
  • isHex1
  • isLoaded
  • isOct0
  • isOct1
  • isOff0
  • isOff1
  • isRef
  • isSeg0
  • isSeg1
  • isStkvar0
  • isStkvar1
  • isStroff0
  • isStroff1
  • isTail
  • isUnknown
  • isVar
  • lastattr
  • loader_input.close
  • loader_input.getc
  • loader_input.gets
  • loader_input.getz
  • loader_input.read
  • loader_input.readbytes
  • loader_input.seek
  • loader_input.size
  • loader_input.tell
  • loadfile
  • ltoa
  • mkdir
  • nextattr
  • open_loader_input
  • ord
  • prevattr
  • print
  • readlong
  • readshort
  • readstr
  • rename
  • rotate_left
  • savefile
  • setattr
  • set_start_cs
  • set_start_ip
  • sizeof
  • sprintf
  • strlen
  • strfill
  • strstr
  • substr
  • trim
  • unlink
  • writelong
  • writeshort
  • writestr
  • xtol
  • typeinfo.print
  • typeinfo.size

  • SetType
@Maijin Maijin changed the title Supported functions IDC Supported functions Aug 13, 2015
@radare
Copy link
Owner

radare commented Aug 13, 2015

What is the purpose of this issue? As far as I understand, the purpose of this is to implement a .py file that emulates the IDA api on top of r2 in order to allow IDA scripts to run in r2?

@Maijin
Copy link
Collaborator Author

Maijin commented Aug 13, 2015

@radare the script is taking .idc script in input and produce a set of r2 command that will emulate the .idc functionnality. At the moment, the capability of the script is focus on the database stuff for being able to get information from a ida database using .idc to radare2. But we should also take a look more into some other functions like the .idc that are used by script like https://www.hex-rays.com/products/ida/support/freefiles/vb.idc for example.

@Maijin
Copy link
Collaborator Author

Maijin commented Aug 13, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants