author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
718,770 | 28.03.2017 00:03:50 | 14,400 | 47fc710c01880306bbe6535995b4f6836e032c74 | cleanup old ways of Opcode mnemonic modification for SIMD. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -3848,80 +3848,6 @@ class ArmOpcode(envi.Opcode):\nmnem += 'id'\nif self.simdflags:\n- '''\n- if self.simdflags & IFS_S32_F64:\n- mnem += '.s32.f64'\n- elif self.simdflags & IFS_S32... | Python | Apache License 2.0 | vivisect/vivisect | cleanup old ways of Opcode mnemonic modification for SIMD. |
718,770 | 28.03.2017 00:18:31 | 14,400 | a7f96b3a0c43943e7fd1757794b7f238c536dd85 | emulator bugfixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -3795,7 +3795,7 @@ class ArmOpcode(envi.Opcode):\nif self.opcode in (INS_BLX, INS_BX):\nif operval & 3:\n- flags |= envi.ARCH_THUMB16\n+ flags |= envi.ARCH_THUMB\noperval &= -2\nels... | Python | Apache License 2.0 | vivisect/vivisect | emulator bugfixes |
718,770 | 28.03.2017 10:14:30 | 14,400 | c3f5e72e12fb023216080953f7aedf414672bcf1 | disasm and emu of branches: bugfixes and consistency | [
{
"change_type": "MODIFY",
"old_path": "envi/memory.py",
"new_path": "envi/memory.py",
"diff": "@@ -295,8 +295,8 @@ class IMemory:\nExample: op = m.parseOpcode(0x7c773803)\n'''\n- b = self.readMemory(va, 16)\n- return self.imem_archs[ arch >> 16 ].archParseOpcode(b, 0, va)\n+ off, b = self.getByteDe... | Python | Apache License 2.0 | vivisect/vivisect | disasm and emu of branches: bugfixes and consistency |
718,770 | 28.03.2017 10:15:15 | 14,400 | 4359ff4e31cc94808100e487961b490852702544 | disasm and emu of branches: bugfixes and consistency (reverted from commit 0b3b98487aeed40b38226de6fa45f090b8ade124) | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -172,7 +172,7 @@ COND_PL = 0x5 # n==0 (plus/positive or zero)\nCOND_VS = 0x6 # v==1 (overflow)\nCOND_VC = 0x7 # v==0 (no overflow)\nCOND_HI = 0x8 # c==1 and z==0 (unsigned higher)\n-C... | Python | Apache License 2.0 | vivisect/vivisect | disasm and emu of branches: bugfixes and consistency (reverted from commit 0b3b98487aeed40b38226de6fa45f090b8ade124) |
718,770 | 28.03.2017 10:18:49 | 14,400 | 4461b563874f7533db7b6c3e278d520dd7025495 | continued improvement: arm emulation | [
{
"change_type": "MODIFY",
"old_path": "vivisect/impemu/platarch/arm.py",
"new_path": "vivisect/impemu/platarch/arm.py",
"diff": "@@ -14,6 +14,21 @@ class ArmWorkspaceEmulator(v_i_emulator.WorkspaceEmulator, e_arm.ArmEmulator):\nv_i_emulator.WorkspaceEmulator.__init__(self, vw, logwrite=logwrite, lo... | Python | Apache License 2.0 | vivisect/vivisect | continued improvement: arm emulation |
718,770 | 28.03.2017 11:01:25 | 14,400 | 474684a53f6e588395ce1a082c30590970d24267 | debugging changes. remove me. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -3809,7 +3809,7 @@ class ArmOpcode(envi.Opcode):\nif self.iflags & envi.IF_CALL:\nflags |= envi.BR_PROC\nret.append((operval, flags))\n- print \"getBranches: add 0x%x %x\"% (operval... | Python | Apache License 2.0 | vivisect/vivisect | debugging changes. remove me. |
718,770 | 06.04.2017 23:26:19 | 14,400 | 0cc7b6007674129d85d2c90a1a51c58be536be46 | envi and vivisect main mods. | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -78,7 +78,7 @@ class ArchitectureModule:\nself._arch_id = getArchByName(archname)\nself._arch_name = archname\nself._arch_maxinst = maxinst\n- self._arch_badopbytes = ['\\x00\\x00\\x00\\x00\\x00']\... | Python | Apache License 2.0 | vivisect/vivisect | envi and vivisect main mods. |
718,770 | 21.05.2017 14:55:49 | 14,400 | 5476289c3766dde6f2a6f3ac23b077c68a210a02 | updates to arm emu | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -749,6 +749,8 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nval = self.getOperValue(op, 0)\nself.setOperValue(op, 1, val)\n+ i_strh = i_str\n+\ndef i_add(self, op):\nif len(op... | Python | Apache License 2.0 | vivisect/vivisect | updates to arm emu |
718,770 | 26.05.2017 10:41:46 | 14,400 | b51f8c2ad2e823f8b297cbcb4339a4897cd47fcc | default calls plumbed through parsers | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/blob.py",
"new_path": "vivisect/parsers/blob.py",
"diff": "@@ -3,6 +3,13 @@ import vivisect\nimport vivisect.parsers as v_parsers\nfrom vivisect.const import *\n+\n+archcalls = {\n+ 'i386':'cdecl',\n+ 'amd64':'sysvamd64call',\n+ 'arm':'armcall... | Python | Apache License 2.0 | vivisect/vivisect | default calls plumbed through parsers |
718,770 | 26.05.2017 10:53:07 | 14,400 | 58595381465d24dd2b695b721f1854ea7e38361f | make armcall the right answer. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -133,7 +133,7 @@ class ArmEmulator(ArmModule, ArmRegisterContext, envi.Emulator):\nArmRegisterContext.__init__(self)\n- self.addCallingConvention(\"Arm Arch Procedure Call\", aapcs)\n+ se... | Python | Apache License 2.0 | vivisect/vivisect | make armcall the right answer. |
718,770 | 26.05.2017 11:28:01 | 14,400 | e5459264364abe0e2933f34e6805429b955f902f | clean up. this is remnant from an earlier commit. this was replaced by implementing in MemoryObject (per other branch/PR) | [
{
"change_type": "MODIFY",
"old_path": "envi/memory.py",
"new_path": "envi/memory.py",
"diff": "@@ -295,8 +295,8 @@ class IMemory:\nExample: op = m.parseOpcode(0x7c773803)\n'''\n- off, b = self.getByteDef(va)\n- return self.imem_archs[ (arch & envi.ARCH_MASK) >> 16 ].archParseOpcode(b, off, va)\n+ b... | Python | Apache License 2.0 | vivisect/vivisect | clean up. this is remnant from an earlier commit. this was replaced by implementing in MemoryObject (per other branch/PR) |
718,770 | 26.05.2017 11:31:11 | 14,400 | 55b817c763653591140ac4331feedba56576947a | codeflow needs to hand flags/arch information around to correctly handle switches in architecture (like ARM/THUMB, etc...) | [
{
"change_type": "MODIFY",
"old_path": "envi/codeflow.py",
"new_path": "envi/codeflow.py",
"diff": "@@ -224,9 +224,9 @@ class CodeFlowContext(object):\n# the function that we want to make prodcedural\n# called us so we can't call to make it procedural\n# until its done\n- cf_eps.add(bva)\n+ cf_eps.a... | Python | Apache License 2.0 | vivisect/vivisect | codeflow needs to hand flags/arch information around to correctly handle switches in architecture (like ARM/THUMB, etc...) |
718,770 | 26.05.2017 12:03:30 | 14,400 | 56ade94f4a9002914c9714df78f7276568dce66e | allow architectures to modify Xref and Function parameters *before* Xrefs and Functions are created. | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -156,6 +156,26 @@ class ArchitectureModule:\nallr = [rname for rname in regctx.getRegisterNames()]\nreturn [ ('all', allr), ]\n+ def archModifyFuncAddr(self, va, arch):\n+ '''\n+ Returns a potentia... | Python | Apache License 2.0 | vivisect/vivisect | allow architectures to modify Xref and Function parameters *before* Xrefs and Functions are created. |
718,770 | 26.05.2017 12:10:38 | 14,400 | 175f7066b485cf42e36041b160d7de550fa87a5a | moving to using envi.codeflow version | [
{
"change_type": "MODIFY",
"old_path": "vivisect/base.py",
"new_path": "vivisect/base.py",
"diff": "@@ -706,6 +706,7 @@ class VivCodeFlowContext(e_codeflow.CodeFlowContext):\nreturn True\n+ \"\"\"\ndef addEntryPoint(self, va, arch=envi.ARCH_DEFAULT):\n'''\nAnalyze the given procedure entry point and... | Python | Apache License 2.0 | vivisect/vivisect | moving to using envi.codeflow version |
718,770 | 26.05.2017 12:12:39 | 14,400 | 73044ae98a95b5d82f7f72779884fbeb6ec0c00b | why mess with a good thing. | [
{
"change_type": "MODIFY",
"old_path": "envi/bits.py",
"new_path": "envi/bits.py",
"diff": "@@ -140,11 +140,16 @@ def is_aux_carry_sub(src, dst):\n# set of format lists which make size, endianness, and signedness fast and easy\nle_fmt_chars = (None,\"B\",\"<H\",None,\"<I\",None,None,None,\"<Q\")\nbe... | Python | Apache License 2.0 | vivisect/vivisect | why mess with a good thing. |
718,770 | 26.05.2017 12:18:48 | 14,400 | e31e73359e507e2ad896465f0e59bcb83d7089f4 | writeMemValue() should truncate the value to fit within the specified size. | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -781,7 +781,8 @@ class Emulator(e_reg.RegisterContext, e_mem.MemoryObject):\ndef writeMemValue(self, addr, value, size):\n#FIXME change this (and all uses of it) to passing in format...\n#FIXME: Re... | Python | Apache License 2.0 | vivisect/vivisect | writeMemValue() should truncate the value to fit within the specified size. |
718,770 | 26.05.2017 12:27:08 | 14,400 | af722b4e08f7d0ba588e3f62c25d0fe604e9a4a9 | graphcore gets delEdgeProps() | [
{
"change_type": "MODIFY",
"old_path": "visgraph/graphcore.py",
"new_path": "visgraph/graphcore.py",
"diff": "@@ -452,6 +452,17 @@ class Graph:\nself.edgeprops[prop].pop(v,None)\nreturn v\n+ def delEdgesProps(self, props):\n+ '''\n+ Delete all listed properties from all edges in the graph.\n+\n+ Exa... | Python | Apache License 2.0 | vivisect/vivisect | graphcore gets delEdgeProps() |
718,770 | 26.05.2017 12:39:41 | 14,400 | 291103aed71ed04c4ebd2b864d38ee9a0ad3f111 | watchdog reuses the same thread instead of creating a new thread every time watchdog() is called. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -691,6 +691,7 @@ class PathGenerator:\n__steplock = threading.Lock()\ndef __init__(self, graph):\n+ self.wdt = None\nself.graph = graph\ndef stop(self):\n@@ -700,31 +701,36 @@... | Python | Apache License 2.0 | vivisect/vivisect | watchdog reuses the same thread instead of creating a new thread every time watchdog() is called. |
718,770 | 26.05.2017 14:27:25 | 14,400 | 080f0a1b16f5d39e54263b503d4e3f753888537c | make walkSymbolikPaths also allow for loops. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/analysis.py",
"new_path": "vivisect/symboliks/analysis.py",
"diff": "@@ -467,7 +467,7 @@ class SymbolikAnalysisContext:\neffs.extend(emu.applyEffects(seffs[:idx+1]))\nyield emu,effs\n- def walkSymbolikPaths(self, fva, graph=None, maxpath=100... | Python | Apache License 2.0 | vivisect/vivisect | make walkSymbolikPaths also allow for loops. |
718,770 | 26.05.2017 14:28:52 | 14,400 | ef0cbc696b0b07887ec9dbd46c7cdeeb8fc0bfb4 | atlas, put that api down, you're going to break it. good boy. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -330,7 +330,7 @@ def getCodePaths(fgraph, loopcnt=0, maxpath=None):\ntonode = fgraph.getNode(toid)\ntodo.append((tonode,npath))\n-def walkCodePaths(fgraph, callback, maxpath=N... | Python | Apache License 2.0 | vivisect/vivisect | atlas, put that api down, you're going to break it. good boy. |
718,770 | 26.05.2017 15:01:59 | 14,400 | 2239ca3b128f189ac2a395e428ac6a5315648489 | enhancements for routed graph pathing | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -341,6 +341,7 @@ def walkCodePaths(fgraph, callback, loopcnt=0, maxpath=None):\nFor root nodes, the current path and edge will be None types.\n'''\npathcnt = 0\n+ routed = fgr... | Python | Apache License 2.0 | vivisect/vivisect | enhancements for routed graph pathing |
718,770 | 02.06.2017 10:56:47 | 14,400 | b6760894aa15bf91f319b0ebc84be014cf6b0fe2 | updated locking mechanisms and added a killswitch to PathGenerator | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -687,12 +687,14 @@ class PathForceQuitException(Exception):\neventually, routing will include the ability to 'source-route', picking N specific points a path must go through\n... | Python | Apache License 2.0 | vivisect/vivisect | updated locking mechanisms and added a killswitch to PathGenerator |
718,770 | 02.06.2017 11:22:39 | 14,400 | b54fdc866ab1b7502f6f46cdff298dc927057f01 | enhance api to allow dictionary instead of arch to be handed along. | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -156,15 +156,15 @@ class ArchitectureModule:\nallr = [rname for rname in regctx.getRegisterNames()]\nreturn [ ('all', allr), ]\n- def archModifyFuncAddr(self, va, arch):\n+ def archModifyFuncAddr(s... | Python | Apache License 2.0 | vivisect/vivisect | enhance api to allow dictionary instead of arch to be handed along. |
718,770 | 02.06.2017 11:41:08 | 14,400 | f1e60f766aa7d3468a3b21e6bfd8fbd11391c437 | and then we test it. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "@@ -54,7 +54,7 @@ class ArmModule(envi.ArchitectureModule):\ndef archModifyFuncAddr(self, va, info):\nif va & 1:\n- info['arch'] = envi.ARCH_THUMB\n+ info['arch'] = envi.ARCH_THUMB... | Python | Apache License 2.0 | vivisect/vivisect | and then we test it. |
718,770 | 02.06.2017 14:52:25 | 14,400 | 7cbd24249b22385e280da7e077cfdcb0453dd045 | remove threading/locking from PathGenerator. simply have the timeout be counted within the path generators. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -689,60 +689,15 @@ eventually, routing will include the ability to 'source-route', picking N specif\nclass PathGenerator:\ndef __init__(self, graph):\n- self.wdt = None\nself.... | Python | Apache License 2.0 | vivisect/vivisect | remove threading/locking from PathGenerator. simply have the timeout be counted within the path generators. |
718,770 | 08.06.2017 13:30:57 | 14,400 | 699ba72e4cf269ced1f55c938f196ef3695aa6e4 | create copy of info dict if changes are made. otherwise, pass through. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "@@ -54,8 +54,9 @@ class ArmModule(envi.ArchitectureModule):\ndef archModifyFuncAddr(self, va, info):\nif va & 1:\n- info['arch'] = envi.ARCH_THUMB2\n- return va & -2, info\n+ retva... | Python | Apache License 2.0 | vivisect/vivisect | create copy of info dict if changes are made. otherwise, pass through. |
718,770 | 08.06.2017 13:43:50 | 14,400 | 2a13b7452f65578675c91bf5a2f3a26ab308d9c7 | renaming and reworking to reduce tight-loop math. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -698,7 +698,7 @@ class PathGenerator:\n'''\nself.__go__ = False\n- def getFuncCbRoutedPaths_genback(self, fromva, tova, loopcnt=0, maxpath=None, maxsec=None):\n+ def getFuncCb... | Python | Apache License 2.0 | vivisect/vivisect | renaming and reworking to reduce tight-loop math. |
718,770 | 08.06.2017 14:04:32 | 14,400 | 26613fac2dbacaf2ae2e021f190a750befeb5ace | archModifyFuncAddr() now returns (va, {}) by default | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -164,7 +164,7 @@ class ArchitectureModule:\nThis hook allows an architecture to correct VA and Architecture, such\nas is necessary for ARM/Thumb.\n'''\n- return va, info\n+ return va, {}\ndef archM... | Python | Apache License 2.0 | vivisect/vivisect | archModifyFuncAddr() now returns (va, {}) by default |
718,770 | 08.06.2017 14:17:40 | 14,400 | ec20b6a52371022aab75d23f0f1726dacb678976 | archModifyFuncAddr() now returns (va, {}) by default (ARM as well) | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "@@ -54,10 +54,8 @@ class ArmModule(envi.ArchitectureModule):\ndef archModifyFuncAddr(self, va, info):\nif va & 1:\n- retval = dict(info)\n- retval['arch'] = envi.ARCH_THUMB2\n- ret... | Python | Apache License 2.0 | vivisect/vivisect | archModifyFuncAddr() now returns (va, {}) by default (ARM as well) |
718,770 | 08.06.2017 15:04:00 | 14,400 | 1ec886e66835bf2d9e2950f4b9a42902441637ba | a little bit of docs. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -687,6 +687,15 @@ class PathForceQuitException(Exception):\neventually, routing will include the ability to 'source-route', picking N specific points a path must go through\n'... | Python | Apache License 2.0 | vivisect/vivisect | a little bit of docs. |
718,770 | 08.06.2017 23:00:51 | 14,400 | 2a198b3bcb0294924de1f1c38ba8e1df24b42e29 | unit test minor updates | [
{
"change_type": "MODIFY",
"old_path": "envi/tests/test_arch_arm.py",
"new_path": "envi/tests/test_arch_arm.py",
"diff": "@@ -1968,6 +1968,7 @@ def genTestsObjdump(abytez, tbytez):\nimport subprocess\nfrom subprocess import PIPE\n+ if len(abytes:\nfile('/tmp/armbytez', 'wb').write(''.join(abytez))\n... | Python | Apache License 2.0 | vivisect/vivisect | unit test minor updates |
718,770 | 08.06.2017 23:12:14 | 14,400 | fdf5794700ded0242ac9f75f5219a7219626cb31 | FPSCR register | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/regs.py",
"new_path": "envi/archs/arm/regs.py",
"diff": "@@ -94,6 +94,8 @@ for simdreg in range(VFP_QWORD_REG_COUNT):\narm_metas.append((\"d%d\" % (d), simd_idx, 0, 64))\narm_metas.append((\"d%d\" % (d+1), simd_idx, 32, 64))\n+REG_FPSCR = len(re... | Python | Apache License 2.0 | vivisect/vivisect | FPSCR register |
718,770 | 20.06.2017 14:20:03 | 14,400 | aebb498b767b68fdee2afd0bcad937ff33f2609a | update to permit ELF loading of AARCH64 binaries. | [
{
"change_type": "MODIFY",
"old_path": "Elf/elf_lookup.py",
"new_path": "Elf/elf_lookup.py",
"diff": "@@ -75,6 +75,7 @@ EM_ARC_A5 = 93\nEM_XTENSA = 94\nEM_NUM = 95\nEM_MSP430 = 105\n+EM_ARM_AARCH64 = 183\nEM_ALPHA = 0x9026\n# There are plenty more of these to\n@@ -88,7 +89,8 @@ e_machine_32 = (\ne_m... | Python | Apache License 2.0 | vivisect/vivisect | update to permit ELF loading of AARCH64 binaries. |
718,770 | 22.08.2017 13:36:45 | 14,400 | 8624c9dc69041261f78eef940a11f6e9e1fa36ba | bugfix: mov pc, lr wasn't being flagged as a RETURN | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -220,6 +220,8 @@ def p_dp_imm_shift(opval, va):\nif (shtype==3) & (shval ==0): # is it an rrx?\nshtype = 4\nmnem, opcode = dp_mnem[ocode]\n+\n+ iflags = 0\nif ocode in dp_noRn:# FIX... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: mov pc, lr wasn't being flagged as a RETURN |
718,770 | 23.08.2017 18:26:14 | 14,400 | 2f90c1eb8604158860e1d7ad388c9552f9805821 | ARM emu bug fixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -460,7 +460,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nres = src1 & src2\n- if op.iflags & IF_S:\n+ if op.iflags & IF_PSR_S:\nself.setFlag(PSR_N_bit, 0)\nself.setFlag(PSR... | Python | Apache License 2.0 | vivisect/vivisect | ARM emu bug fixes |
718,770 | 23.08.2017 18:35:13 | 14,400 | 5854429130e3e7899eacbfecf700c549df67579d | performance improvement for DP with S flags. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -187,7 +187,12 @@ dp_shift_mnem = (\n# FIXME: THIS IS FUGLY but sadly it works\ndp_noRn = (13,15)\ndp_noRd = (8,9,10,11)\n-dp_silS = (8,9,10,11)\n+dp_silS = dp_noRd\n+\n+# IF_PSR_S_... | Python | Apache License 2.0 | vivisect/vivisect | performance improvement for DP with S flags. |
718,770 | 23.08.2017 18:38:22 | 14,400 | cd30142f2cf993c9c0cfb2f42cb8367ccb19a7ae | update for reg-thunks: don't emulate past function-end! | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/arm/thunk_reg.py",
"new_path": "vivisect/analysis/arm/thunk_reg.py",
"diff": "import sys\n+import envi\nimport vivisect\nimport vivisect.impemu.monitor as viv_monitor\n@@ -84,6 +85,10 @@ def analyzeFunction(vw, fva, prepend=False):\nfor x in ... | Python | Apache License 2.0 | vivisect/vivisect | update for reg-thunks: don't emulate past function-end! |
718,770 | 23.08.2017 19:05:16 | 14,400 | b7aec2cc45b8f4d1368b177138633e4086ad5a42 | arm function emulation analysis module. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/arm/emulation.py",
"new_path": "vivisect/analysis/arm/emulation.py",
"diff": "@@ -15,20 +15,38 @@ from vivisect.const import *\nclass AnalysisMonitor(viv_monitor.AnalysisMonitor):\n- def __init__(self, vw, fva):\n+ def __init__(self, vw, fva,... | Python | Apache License 2.0 | vivisect/vivisect | arm function emulation analysis module. |
718,770 | 23.08.2017 19:07:34 | 14,400 | e2c504eb73613011c6e76718bd05240be18867ae | arm emu cleanup | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -556,40 +556,6 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\ni_stmia = i_stm\ni_push = i_stmia\n- '''\n- def i_push(self, op):\n- srcreg = op.opers[0].reg\n- addr = self.getOp... | Python | Apache License 2.0 | vivisect/vivisect | arm emu cleanup |
718,770 | 23.08.2017 19:11:37 | 14,400 | bc47acde6fdeda48fafebf0ad28505a024179f28 | arm workspace emulator cleanup ad troubleshooting | [
{
"change_type": "MODIFY",
"old_path": "vivisect/impemu/platarch/arm.py",
"new_path": "vivisect/impemu/platarch/arm.py",
"diff": "import envi\nimport envi.archs.arm as e_arm\n+\n+import vivisect\nimport vivisect.impemu.emulator as v_i_emulator\nimport visgraph.pathcore as vg_path\nfrom envi.archs.ar... | Python | Apache License 2.0 | vivisect/vivisect | arm workspace emulator cleanup ad troubleshooting |
718,770 | 23.08.2017 23:53:03 | 14,400 | 106ffc1fd0fff3d703cf70dea470975039908b0a | emu conditionals mods. don't shift, and use the PSR_*_bit constants. (bugfix) | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -61,47 +61,55 @@ def _getRegIdx(idx, mode):\nridx = reg_table[ridx] # magic pointers allowing overlapping banks of registers\nreturn ridx\n-def c0000(flags):\n- return flags & 4\n-def c00... | Python | Apache License 2.0 | vivisect/vivisect | emu conditionals mods. don't shift, and use the PSR_*_bit constants. (bugfix) |
718,770 | 25.08.2017 15:20:26 | 14,400 | 367b5139c2009b9b1d914072ffbed5e71d292102 | fixing several GUI things: 0-based files should now work appropriately, "view" menu shouldn't be shown twice in function graphs. | [
{
"change_type": "MODIFY",
"old_path": "envi/qt/memcanvas.py",
"new_path": "envi/qt/memcanvas.py",
"diff": "@@ -190,7 +190,7 @@ class VQMemoryCanvas(QtWebKit.QWebView, e_memcanvas.MemoryCanvas):\nva = self._canv_curva\nmenu = QtGui.QMenu()\n- if self._canv_curva:\n+ if self._canv_curva != None:\nsel... | Python | Apache License 2.0 | vivisect/vivisect | fixing several GUI things: 0-based files should now work appropriately, "view" menu shouldn't be shown twice in function graphs. |
718,770 | 25.08.2017 15:11:27 | 14,400 | 4540604c39900d340263f766bcb1788c9b722701 | ARM emu fixes (primarily, Post-Indexing should work now) | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -746,7 +746,7 @@ def p_dp_imm(opval, va):\n)\nif sflag > 0:\n- iflags |= DP_PSR_S[ocode]\n+ iflags = DP_PSR_S[ocode]\nelse:\niflags = 0\n@@ -4275,7 +4275,7 @@ class ArmScaledOffsetO... | Python | Apache License 2.0 | vivisect/vivisect | ARM emu fixes (primarily, Post-Indexing should work now) |
718,770 | 25.08.2017 15:50:12 | 14,400 | 99bf5c6d0b1c7602ec60ede02f9fce8ff0f9b763 | missed a couple. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/funcgraph.py",
"new_path": "vivisect/qt/funcgraph.py",
"diff": "@@ -84,7 +84,7 @@ class VQVivFuncgraphCanvas(vq_memory.VivCanvasBase):\nreturn ret\ndef contextMenuEvent(self, event):\n- if self._canv_curva:\n+ if self._canv_curva != None:\nmenu = v... | Python | Apache License 2.0 | vivisect/vivisect | missed a couple. |
718,770 | 23.09.2017 12:41:46 | 14,400 | dee136a243404c94296067998ae3d8db1bdf6821 | fix vivisect addEntryPoint to properly handle the default return from archModifyFuncVa() | [
{
"change_type": "MODIFY",
"old_path": "envi/codeflow.py",
"new_path": "envi/codeflow.py",
"diff": "@@ -264,7 +264,7 @@ class CodeFlowContext(object):\n# Architecture gets to decide on actual final VA and Architecture (ARM/THUMB/etc...)\ninfo = { 'arch' : arch }\nva, info = self._mem.arch.archModify... | Python | Apache License 2.0 | vivisect/vivisect | fix vivisect addEntryPoint to properly handle the default return from archModifyFuncVa() |
718,770 | 26.09.2017 23:08:41 | 14,400 | 8c95c7ff0f1b89038944dc0d5764e9775c81ce92 | fixing mvn decoding | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -113,7 +113,7 @@ def rd_pc_imm8(va, value): # add\ndef rt_pc_imm8(va, value): # ldr\nrt = shmaskval(value, 8, 0x7)\n- imm = e_bits.signed((value & 0xff), 1) << 2\n+ imm = e_... | Python | Apache License 2.0 | vivisect/vivisect | fixing mvn decoding |
718,770 | 27.09.2017 11:27:19 | 14,400 | 1e8223859e9c9098d8eb6dc88a3d730a584717c7 | bugfixes: ThumbExpandImm_C, shifters, dp_secondaries (Rn or Rd are 0xF).. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -523,8 +523,9 @@ def imm5_rm_rd(va, value):\nstype = value >> 11\noper0 = ArmRegOper(rd, va)\n- oper1 = ArmRegShiftImmOper(rm, stype, imm5, va)\n- return COND_AL,(oper0, ope... | Python | Apache License 2.0 | vivisect/vivisect | bugfixes: ThumbExpandImm_C, shifters, dp_secondaries (Rn or Rd are 0xF).. |
718,770 | 27.09.2017 11:39:52 | 14,400 | 629ba39fe313fd997d6dbc2c063dfed73a7e02e4 | str.w immoff bugfix (imm8 should be imm12, meaning different decoder) | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -1947,7 +1947,7 @@ thumb2_extension = [\n#('111110001001', (INS_LDRB, 'ldrb', ldr_32, IF_THUMB32)),\n('111110001010', (INS_STR, 'str', ldr_32, IF_H | IF_THUMB32)),\n('111110... | Python | Apache License 2.0 | vivisect/vivisect | str.w immoff bugfix (imm8 should be imm12, meaning different decoder) |
718,770 | 27.09.2017 11:40:15 | 14,400 | 593ec931984965e7fec3ad278852d8deb41fa800 | rearranging a few lines. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -1936,21 +1936,22 @@ thumb2_extension = [\n('11110111101', (85,'usat', dp_bin_imm_32, IF_THUMB32)), # usat16 if val2=0000xxxx00xxxxxx\n('11110111110', (85,'ubfx', ubfx_32, I... | Python | Apache License 2.0 | vivisect/vivisect | rearranging a few lines. |
718,770 | 29.09.2017 22:49:24 | 14,400 | 7cb8d640d1bfdde806e841de5d93c24de55b15b0 | tracking bugs (including va) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/impemu/platarch/arm.py",
"new_path": "vivisect/impemu/platarch/arm.py",
"diff": "@@ -191,7 +191,7 @@ class ArmWorkspaceEmulator(v_i_emulator.WorkspaceEmulator, e_arm.ArmEmulator):\nif self.emumon != None:\nself.emumon.logAnomaly(self, starteip, str(e)... | Python | Apache License 2.0 | vivisect/vivisect | tracking bugs (including va) |
718,770 | 29.09.2017 22:49:59 | 14,400 | f36f317cabcc6ecc7a2727eec00873f8567eb070 | arm canvas updates | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -4151,7 +4151,8 @@ class ArmImmOper(ArmOperand):\ndef render(self, mcanv, op, idx):\nval = self.getOperValue(op)\n- mcanv.addNameText('#0x%.2x' % (val))\n+ mcanv.addText('#')\n+ mca... | Python | Apache License 2.0 | vivisect/vivisect | arm canvas updates |
718,770 | 29.09.2017 22:51:44 | 14,400 | 0d500304f9347bc47dc1ac705574dc5ac1ad2927 | thumb decoding bugfixes: mcr/mrc, dp, etc... | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -437,7 +437,7 @@ def branch_misc(va, val, val2): # bl and misc control\nbytez=struct.pack(\"<H\", val)+struct.pack(\"<H\", val2), va=va-4)\nelif op1 & 0b100:\n- # bl/lx\n+ #... | Python | Apache License 2.0 | vivisect/vivisect | thumb decoding bugfixes: mcr/mrc, dp, etc... |
718,770 | 29.09.2017 23:13:22 | 14,400 | d055d7289ac77a3c5c3b4c8c0e0635ec55b91294 | ArmImmOffsetOper render bugfix | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -4558,7 +4558,7 @@ class ArmImmOffsetOper(ArmOperand):\nif idxing == 0x10:\nmcanv.addText(']')\n- elif idxing != 0:\n+ elif idxing &0x10 != 0:\nmcanv.addText(']!')\ndef repr(self, o... | Python | Apache License 2.0 | vivisect/vivisect | ArmImmOffsetOper render bugfix |
718,770 | 09.12.2017 10:21:01 | 18,000 | 31443d585f35d6b4ab7cd32f3be40a8db8a796ca | minor tweaks, about to get serious about finding the funcgraph bugs | [
{
"change_type": "MODIFY",
"old_path": "envi/qt/memcanvas.py",
"new_path": "envi/qt/memcanvas.py",
"diff": "@@ -203,8 +203,8 @@ class VQMemoryCanvas(e_memcanvas.MemoryCanvas, QtWebKitWidgets.QWebView):\ninitMemSendtoMenu('0x%.8x' % va, menu)\ndef _menuSaveToHtml(self):\n- fname = QtWidgets.QFileDial... | Python | Apache License 2.0 | vivisect/vivisect | minor tweaks, about to get serious about finding the funcgraph bugs |
718,770 | 09.12.2017 10:44:55 | 18,000 | 6bd3cc8ec0b1276a4f5b1fdb508c2c0f88189057 | funcgraph works again. stupid me, turning the isNull() to ==None for the one time it's a problem. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/funcgraph.py",
"new_path": "vivisect/qt/funcgraph.py",
"diff": "import vqt.hotkeys as vq_hotkey\n-from PyQt5.QtWidgets import *\nimport vqt.saveable as vq_save\nimport envi.qt.memory as e_mem_qt\nimport envi.memcanvas as e_memcanvas\n@@ -72,7 +71,7... | Python | Apache License 2.0 | vivisect/vivisect | funcgraph works again. stupid me, turning the isNull() to ==None for the one time it's a problem. |
718,770 | 30.12.2017 19:41:09 | 18,000 | 13f31b16b56cb6b7f769d0238871f4064715ccbf | bugfix: thumb32 blx offset | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -449,13 +449,19 @@ def branch_misc(va, val, val2): # bl and misc control\nj2 = not ((val2>>11)&1 ^ s)\nimm = (s<<24) | (j1<<23) | (j2<<22) | ((val&0x3ff) << 12) | ((val2&0x7... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: thumb32 blx offset |
718,770 | 02.02.2018 13:02:48 | 18,000 | c3fa6d37de60b8b47dc8cbaa2b18cfe5e80c5adb | walkTree depth correction, and plumbing 'once' through constraints and effects | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/common.py",
"new_path": "vivisect/symboliks/common.py",
"diff": "@@ -319,6 +319,7 @@ class SymbolikBase:\n# let's get into the minds of our kids...\ncur = kid\nidx = 0\n+ continue\n#else:\n# sys.stdout.write('.')\n"
},
{
"change_type... | Python | Apache License 2.0 | vivisect/vivisect | walkTree depth correction, and plumbing 'once' through constraints and effects |
718,770 | 04.02.2018 23:24:28 | 18,000 | f840d21b1abfa9c89238bb36863bb44d933ee0af | modified for correct disassembly. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/crypto/constants.py",
"new_path": "vivisect/analysis/crypto/constants.py",
"diff": "@@ -34,7 +34,14 @@ def analyze(vw):\nfor va, size, funcva in vw.getFunctionBlocks(fva):\nmaxva = va+size\nwhile va < maxva:\n- op = vw.parseOpcode(va)\n+ loct... | Python | Apache License 2.0 | vivisect/vivisect | modified for correct disassembly. |
718,770 | 05.02.2018 00:15:37 | 18,000 | ba69ec4cb8a075377ae6faa6fa9eaaeb788be674 | bunch of gui fixes | [
{
"change_type": "MODIFY",
"old_path": "envi/qt/memcanvas.py",
"new_path": "envi/qt/memcanvas.py",
"diff": "@@ -191,7 +191,7 @@ class VQMemoryCanvas(e_memcanvas.MemoryCanvas, QtWebKitWidgets.QWebView):\nva = self._canv_curva\nmenu = QtWidgets.QMenu()\n- if self._canv_curva:\n+ if self._canv_curva !=... | Python | Apache License 2.0 | vivisect/vivisect | bunch of gui fixes |
718,770 | 14.02.2018 19:51:03 | 18,000 | 180a3628369ab0cfdafb607e6932b4e4f8710909 | improved logging of errors in crypto constant analysis module | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/crypto/constants.py",
"new_path": "vivisect/analysis/crypto/constants.py",
"diff": "import envi\n+import logging\n+logger = logging.getLogger(__name__)\n+#logger.setLevel(logging.DEBUG)\n+\nfrom vivisect.const import *\n\"\"\"Locate the basic... | Python | Apache License 2.0 | vivisect/vivisect | improved logging of errors in crypto constant analysis module |
718,770 | 08.03.2018 14:41:31 | 18,000 | d7544ea230d6dad4566b8aa18d3f50353da4cf3f | handle exceptions raised within GUI ACTivities. | [
{
"change_type": "MODIFY",
"old_path": "vqt/common.py",
"new_path": "vqt/common.py",
"diff": "+import sys\n+import logging\n+import traceback\n+\n# Some common GUI helpers\nfrom PyQt5 import QtCore, QtGui, QtWidgets\n+logger = logging.getLogger(__name__)\n+#logger.setLevel(logging.DEBUG)\n+if not le... | Python | Apache License 2.0 | vivisect/vivisect | handle exceptions raised within GUI ACTivities. |
718,770 | 09.03.2018 08:23:06 | 18,000 | 24cf4282dd7855032b3c638c58cb69ea7f98aed8 | arm/thumb decoding bug-fixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -1540,11 +1540,11 @@ def p_vmov_scalar(opval, va):\nif op:\nopers = (\nArmRegOper(rt, va),\n- ArmRegScalarOper(rctx.getRegisterIndex('d%d' % vm), index),\n+ ArmRegScalarOper(rctx.ge... | Python | Apache License 2.0 | vivisect/vivisect | arm/thumb decoding bug-fixes |
718,770 | 09.03.2018 08:25:40 | 18,000 | 9078e244523600e68e9fb0e43a3a5f21fb8f4011 | arm/thumb emulation enhancements/bug-fixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -645,6 +645,15 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nself.setThumbMode(val & 1)\nreturn val & -2\n+ i_ldrb = i_ldr\n+ i_ldrbt = i_ldr\n+ i_ldrd = i_ldr\n+ i_ldrh = i_l... | Python | Apache License 2.0 | vivisect/vivisect | arm/thumb emulation enhancements/bug-fixes |
718,770 | 09.03.2018 16:18:10 | 18,000 | d3d72bc5c63f4c9f54ea34adce75fefe406f992e | thumb decode, arm emu bugfixes. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -464,8 +464,14 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nreturn ures\ndef logicalAnd(self, op):\n+ opercnt = len(op.opers)\n+\n+ if opercnt == 3:\nsrc1 = self.getOperValue... | Python | Apache License 2.0 | vivisect/vivisect | thumb decode, arm emu bugfixes. |
718,770 | 09.03.2018 18:03:03 | 18,000 | 7ac37340aed9a0b2f5702cfd24713253c531acb8 | thumb2 ldrb decode bugfix | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -1052,6 +1052,8 @@ def ldrb_memhints_32(va, val1, val2):\nopers = (\nArmScaledOffsetOper(rn, rm, S_LSL, imm2, va),\n)\n+ return COND_AL, opcode, mnem, opers, flags, 0\n+\nel... | Python | Apache License 2.0 | vivisect/vivisect | thumb2 ldrb decode bugfix |
718,770 | 09.03.2018 18:06:17 | 18,000 | e6ab12a0615c0b4f3308efe3b0f2fe8d32feb918 | emulation bugfixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -741,10 +741,12 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\ncurmode = self.getProcMode()\nif op.iflags & IF_PSR_S:\n- if op.opers[0].reg == 15 and (curmode != PM_sys and cur... | Python | Apache License 2.0 | vivisect/vivisect | emulation bugfixes |
718,770 | 10.03.2018 18:29:38 | 18,000 | 17447b131ddaee79e5c7522ccc3f0b2340d2073f | much more statistical data | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -667,8 +667,10 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nreturn stats\ndef printDiscoveredStats(self):\n- disc, undisc = self.getDiscoveredInfo()\n+ disc, undis... | Python | Apache License 2.0 | vivisect/vivisect | much more statistical data |
718,770 | 10.03.2018 18:35:48 | 18,000 | 5156eacaf30dbb4d2c467a38fb346135e715c4ad | mild cosmetics | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -679,6 +679,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nnumNumbers,\nnumPointers,\nnumVtables ) = self.getDiscoveredInfo()\n+\nself.vprint(\"Percentage of disco... | Python | Apache License 2.0 | vivisect/vivisect | mild cosmetics |
718,770 | 10.03.2018 18:44:53 | 18,000 | b8d7c9516a35666f639c877f70e229d2d0c3805a | arm emulation improvement | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -1004,12 +1004,16 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nval = self.getOperValue(op, 1)\nself.setOperValue(op, 0, val)\n+ i_ustb = i_uxth\n+\ndef i_uxtah(self, op):\nva... | Python | Apache License 2.0 | vivisect/vivisect | arm emulation improvement |
718,770 | 30.03.2018 18:21:29 | 14,400 | 427cf1588b18115b2f2842d2d0cc4ef038ac6137 | a couple logic bugs in detectUnicode. changed so that the charset-code can be anything but it better be the same thing (instead of 0x00) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -829,15 +829,17 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n#FIXME this does not detect Unicode...\noffset, bytes = self.getByteDef(va)\n- maxlen = len(bytes) + o... | Python | Apache License 2.0 | vivisect/vivisect | a couple logic bugs in detectUnicode. changed so that the charset-code can be anything but it better be the same thing (instead of 0x00) |
718,770 | 30.03.2018 18:48:47 | 14,400 | aaa24250ac08d7bc097c18b769bebf4128f3f176 | lots of updates to disasm and emu. IT needs work. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -1439,7 +1439,7 @@ def p_swint(opval, va):\nopcode = INS_SVC\nreturn (opcode, \"svc\", olist, 0, 0)\n-def p_vmov_single(opval, va):\n+def p_vmov_single(opval, va): # p944\nop = (val... | Python | Apache License 2.0 | vivisect/vivisect | lots of updates to disasm and emu. IT needs work. |
718,770 | 30.03.2018 18:50:32 | 14,400 | ec370930f1c335cc923cdd599ac3fb48c8926d13 | unsure of these ARM flags... FIXME: | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -89,11 +89,13 @@ IF_IB = 7<<(IF_DAIB_SHFT-1) # Increment Before\nIF_DAIB_B = 5<<(IF_DAIB_SHFT-1) # Before mask\nIF_DAIB_I = 3<<(IF_DAIB_SHFT-1) # Before mask\n+### what do these do? i... | Python | Apache License 2.0 | vivisect/vivisect | unsure of these ARM flags... FIXME: |
718,770 | 03.04.2018 23:39:33 | 14,400 | ba59703032da8949e3f3de13a563e01526ad78a6 | initial cleanup of ARM stuff. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "\"\"\"\nThe initial arm module.\n-\n-\n-FIXME:\n- 00000000:0x00002494 f001ec3a blx sub_00003d0c ;sub_00003d0c()\n- 00000000:0x00002498 f001ec44 blx sub_00003d24 ;UnknownApi() ** Wh... | Python | Apache License 2.0 | vivisect/vivisect | initial cleanup of ARM stuff. |
718,770 | 10.04.2018 15:56:11 | 14,400 | 9ebb8f41c217c504401240a0837e0ca9e6a46f39 | make QT4/5 compatability. | [
{
"change_type": "MODIFY",
"old_path": "envi/qt/memcanvas.py",
"new_path": "envi/qt/memcanvas.py",
"diff": "@@ -2,9 +2,11 @@ import cgi\ntry:\nfrom PyQt5 import QtCore, QtGui, QtWebKit, QtWebKitWidgets\nfrom PyQt5.QtWebKitWidgets import *\n+ from PyQt5.QtWidgets import *\nexcept:\nfrom PyQt4 import ... | Python | Apache License 2.0 | vivisect/vivisect | make QT4/5 compatability. |
718,770 | 10.04.2018 16:38:11 | 14,400 | fb67156a2fd900b334d36ccc4a873e65fde0efd0 | couple missed bugs | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/funcgraph.py",
"new_path": "vivisect/qt/funcgraph.py",
"diff": "@@ -14,11 +14,11 @@ import vivisect.qt.ctxmenu as vq_ctxmenu\nimport vivisect.tools.graphutil as viv_graphutil\ntry:\n- from PyQt5.QtCore import pyqtSignal, QPoint\n+ from PyQt5.QtCore... | Python | Apache License 2.0 | vivisect/vivisect | couple missed bugs |
718,770 | 10.04.2018 17:32:42 | 14,400 | 31592a34f82041056ac0793e361994ca4edb6a37 | additional cleanup and bugfix for Viv-specific docks. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/main.py",
"new_path": "vivisect/qt/main.py",
"diff": "@@ -231,8 +231,8 @@ class VQVivMainWindow(viv_base.VivEventDist, vq_app.VQMainCmdWindow):\ndwcls = settings.value('%s/DockClasses' % guid)\nstate = settings.value('%s/DockState' % guid)\ngeom = ... | Python | Apache License 2.0 | vivisect/vivisect | additional cleanup and bugfix for Viv-specific docks. |
718,770 | 11.04.2018 12:42:21 | 14,400 | 23023c15d7f859597a5166ec0ede763eb67e4807 | got PyQt5 restoring state! turns out QByteArray == None. who knew?! | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/main.py",
"new_path": "vivisect/qt/main.py",
"diff": "@@ -231,7 +231,7 @@ class VQVivMainWindow(viv_base.VivEventDist, vq_app.VQMainCmdWindow):\ndwcls = settings.value('%s/DockClasses' % guid)\nstate = settings.value('%s/DockState' % guid)\ngeom = ... | Python | Apache License 2.0 | vivisect/vivisect | got PyQt5 restoring state! turns out QByteArray == None. who knew?! |
718,770 | 11.04.2018 13:34:37 | 14,400 | 55c85c13494169a2f75db9bb1392688c0832adf3 | vdb fixes and minor refactor | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/main.py",
"new_path": "vivisect/qt/main.py",
"diff": "@@ -37,16 +37,11 @@ except:\nfrom vqt.common import *\nfrom vivisect.const import *\nfrom vqt.main import getOpenFileName, getSaveFileName\n-from vqt.saveable import compat_isNone, compat_toByte... | Python | Apache License 2.0 | vivisect/vivisect | vdb fixes and minor refactor |
718,770 | 11.04.2018 20:43:55 | 14,400 | 235d285be65fd5806d3a885d0e0a61260ebb9697 | updated arm/thumb archGetNopInstr | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "@@ -28,7 +28,7 @@ class ArmModule(envi.ArchitectureModule):\nreturn\ndef archGetNopInstr(self):\n- return '\\x00'\n+ return ('\\x00\\x00\\x60\\xe3', '\\xe3\\x60\\x00\\x00')[self._e... | Python | Apache License 2.0 | vivisect/vivisect | updated arm/thumb archGetNopInstr |
718,770 | 28.06.2018 17:20:00 | 14,400 | 469de1635510da331ee9106d51ad43f40cf0ba23 | updates to IT and conflicts... | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -788,7 +788,7 @@ def p_dp_movt(opval, va):\nreturn(opcode, \"movt\", olist, iflags, 0)\nhint_mnem = {\n- 0: ('Nop',INS_NOP),\n+ 0: ('nop',INS_NOP),\n1: ('yield',INS_YIELD),\n2: ('wf... | Python | Apache License 2.0 | vivisect/vivisect | updates to IT and conflicts... |
718,770 | 06.07.2018 15:15:33 | 14,400 | d3eaee4afb37f85f392b3dc79904337097e7578e | bunch of decode/emu/codeflow bugfixes, improved floating point decoding | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "@@ -114,7 +114,9 @@ class ThumbModule(envi.ArchitectureModule):\nreturn self._arch_dis.disasm(bytes, offset, va)\ndef getEmulator(self):\n- return ArmEmulator()\n+ emu = ArmEmulato... | Python | Apache License 2.0 | vivisect/vivisect | bunch of decode/emu/codeflow bugfixes, improved floating point decoding |
718,770 | 20.08.2018 14:02:13 | 14,400 | 91d57c5b638bfde5aeff88a2e624e5059e4186bb | arm/thumb bugfixes and enhancements | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "@@ -71,6 +71,18 @@ class ArmModule(envi.ArchitectureModule):\nreturn tova & -2, reftype, rflags\nreturn tova, reftype, rflags\n+ def archGetRegisterGroups(self):\n+ groups = envi.A... | Python | Apache License 2.0 | vivisect/vivisect | arm/thumb bugfixes and enhancements |
718,770 | 20.08.2018 14:27:10 | 14,400 | 0aa0798a760e08dd10737b31864aeb97c0b91bae | for derefs, shows the OperAddr as well. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/ctxmenu.py",
"new_path": "vivisect/qt/ctxmenu.py",
"diff": "@@ -45,6 +45,10 @@ def printEmuState(vw, fva, va):\nfor i in xrange(len(op.opers)):\no = op.opers[i]\no.render(vw.canvas, op, i)\n+ oaddr = o.getOperAddr(op, emu)\n+ if oaddr != None:\n+ v... | Python | Apache License 2.0 | vivisect/vivisect | for derefs, shows the OperAddr as well. |
718,770 | 20.08.2018 14:33:59 | 14,400 | 53aa7492df3747017a2d53fe5df224ad7c851c6c | residue from a separate delta. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/ctxmenu.py",
"new_path": "vivisect/qt/ctxmenu.py",
"diff": "@@ -71,10 +71,7 @@ def buildContextMenu(vw, va=None, expr=None, menu=None, parent=None, nav=None):\nnav - the \"local\" EnviNavMixin instance\n'''\nif va == None:\n- try:\nva = vw.parseExp... | Python | Apache License 2.0 | vivisect/vivisect | residue from a separate delta. |
718,770 | 20.08.2018 15:05:51 | 14,400 | dc82d6c604406a0c8b173bf6eabf9099ea1b6b0f | added .readMemString() to envi.MemoryObject, to efficiently scrape a string out of a memory map. | [
{
"change_type": "MODIFY",
"old_path": "envi/memory.py",
"new_path": "envi/memory.py",
"diff": "@@ -475,6 +475,36 @@ class MemoryObject(IMemory):\noff, b = self.getByteDef(va)\nreturn self.imem_archs[ (arch & envi.ARCH_MASK) >> 16 ].archParseOpcode(b, off, va)\n+ def readMemString(self, va, maxlen=0... | Python | Apache License 2.0 | vivisect/vivisect | added .readMemString() to envi.MemoryObject, to efficiently scrape a string out of a memory map. |
718,770 | 20.08.2018 15:30:40 | 14,400 | a1cde836328622dd10e6b36699246c2e61e186c7 | catching a few exceptions. is there a reason the PyQt4 version caught these exceptions while PyQt5 version crashes? | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/funcgraph.py",
"new_path": "vivisect/qt/funcgraph.py",
"diff": "@@ -491,6 +491,7 @@ class VQVivFuncgraphView(vq_hotkey.HotKeyMixin, e_qt_memory.EnviNavMixin, QWidge\n@idlethread\ndef _renderMemory(self):\n+ try:\nexpr = str(self.addr_entry.text())\... | Python | Apache License 2.0 | vivisect/vivisect | catching a few exceptions. is there a reason the PyQt4 version caught these exceptions while PyQt5 version crashes? |
718,770 | 20.08.2018 16:13:54 | 14,400 | 3966409b0e6015e1f944ce0465d1fdc712e6049e | typo bugfixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -1565,7 +1565,7 @@ def p_vstr(opval, va):\nrbase = (\"s%d\",\"d%d\")[sz]\nopers = (\nArmRegOper(rctx.getRegisterIndex(rbase % vd)),\n- ArmImmOffsetOper(rn, imm, va, pudwl=pudwl)\n+ ... | Python | Apache License 2.0 | vivisect/vivisect | typo bugfixes |
718,770 | 21.08.2018 22:38:14 | 14,400 | 6f6388c65a663b8940b8e5998707572d9583c8bf | bugfixes and minor cleanup | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -630,6 +630,8 @@ def p_load_store_word_ubyte(opval, va, psize=4):\nArmRegOper(Rd, va=va),\nArmScaledOffsetOper(Rn, Rm, shtype, shval, va, pubwl, psize=psize) # u=-/+, b=word/byte\n)... | Python | Apache License 2.0 | vivisect/vivisect | bugfixes and minor cleanup |
718,770 | 21.08.2018 22:39:28 | 14,400 | 70a09fc0268fb0d97a72e21e2ad5686d6b8b545f | arm elf plt tables use addition to calculate the got address. engage special arm emulator-based plt analysis! | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/__init__.py",
"new_path": "vivisect/analysis/__init__.py",
"diff": "@@ -82,6 +82,7 @@ def addAnalysisModules(vw):\nelif arch == 'arm':\nvw.addVaSet('thunk_reg', ( ('fva', vivisect.VASET_ADDRESS), ('reg', vivisect.VASET_INTEGER), ))\nvw.addFun... | Python | Apache License 2.0 | vivisect/vivisect | arm elf plt tables use addition to calculate the got address. engage special arm emulator-based plt analysis! |
718,770 | 21.08.2018 22:43:18 | 14,400 | cf23da10d8108f4769cf111a38091669fb448d5c | cleanup arm thunk_reg output (only display if verbose==True) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/arm/thunk_reg.py",
"new_path": "vivisect/analysis/arm/thunk_reg.py",
"diff": "@@ -159,9 +159,9 @@ def analyzeFunction(vw, fva, prepend=False):\ncmt = \"0x%x: %s ;\\n %s\" % (tgt, reprPointer(vw, tgt), curcmt)\nvw.setComment(va, cmt)\n- vw.vpr... | Python | Apache License 2.0 | vivisect/vivisect | cleanup arm thunk_reg output (only display if verbose==True) |
718,770 | 30.08.2018 10:34:39 | 14,400 | 0e35c212bf4ba845b0990d23317a4a7fd4151953 | thumb support wrapped into ELF parser and analysis modules (thumb-architecture, not the thumb part of arm... ie. Cortex-M series processors) | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -25,7 +25,7 @@ arch_names = {\nARCH_AMD64: 'amd64',\nARCH_ARMV7: 'arm',\nARCH_THUMB16: 'thumb16',\n- ARCH_THUMB: 'thumb2',\n+ ARCH_THUMB: 'thumb',\nARCH_MSP430: 'msp430',\nARCH_H8: 'h8',\n}\n@@ -38... | Python | Apache License 2.0 | vivisect/vivisect | thumb support wrapped into ELF parser and analysis modules (thumb-architecture, not the thumb part of arm... ie. Cortex-M series processors) |
718,770 | 30.08.2018 10:37:20 | 14,400 | 0463eb98f631747fc0807a5ac4bdce1a0fb6507c | basics of Thumb switchcases (TBH/TBB) analysis wrapped in. still refinement necessary. perhaps migrate this analysis into getbranches(emu) if that does the trick... | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/arm/emulation.py",
"new_path": "vivisect/analysis/arm/emulation.py",
"diff": "@@ -3,6 +3,7 @@ import sys\nimport vivisect\nimport vivisect.impemu as viv_imp\nimport vivisect.impemu.monitor as viv_monitor\n+import vivisect.analysis.generic.cod... | Python | Apache License 2.0 | vivisect/vivisect | basics of Thumb switchcases (TBH/TBB) analysis wrapped in. still refinement necessary. perhaps migrate this analysis into getbranches(emu) if that does the trick... |
718,770 | 30.08.2018 10:42:04 | 14,400 | cbf66e67319ec8b5101bb639cf12fb29a052f81e | searchopcodes is a viv cli tool which allows more flexible searching either within a function or in the entire workspace for numbers or text or regex. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/cli.py",
"new_path": "vivisect/cli.py",
"diff": "The vivisect CLI.\n\"\"\"\n+import shlex\nimport pprint\nimport socket\nfrom getopt import getopt\n@@ -12,6 +13,7 @@ import vivisect.vamp as viv_vamp\nimport vivisect.impemu as viv_imp\nimport vivisect.... | Python | Apache License 2.0 | vivisect/vivisect | searchopcodes is a viv cli tool which allows more flexible searching either within a function or in the entire workspace for numbers or text or regex. |
718,770 | 30.08.2018 10:43:43 | 14,400 | df2fd0eed374a6f6a972c598d8e68082d0239392 | don't segv on exceptions within Qt-called functions. i'm still unsure why the Qt5 version crashes for the Qt4 version would handle the exceptions gracefully and keep going. | [
{
"change_type": "MODIFY",
"old_path": "vqt/main.py",
"new_path": "vqt/main.py",
"diff": "@@ -163,7 +163,10 @@ def workerThread():\nif func == None:\nreturn\n+ try:\nfunc(*args,**kwargs)\n+ except:\n+ sys.excepthook(*sys.exc_info())\nexcept Exception, e:\nprint('vqt worker warning: %s' % e)\n"
}
] | Python | Apache License 2.0 | vivisect/vivisect | don't segv on exceptions within Qt-called functions. i'm still unsure why the Qt5 version crashes for the Qt4 version would handle the exceptions gracefully and keep going. |
718,770 | 30.08.2018 12:05:54 | 14,400 | ecc52b80f98568b9db8854f22326e5e85b184d81 | clean up some print statements, and add name to branch table. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/arm/emulation.py",
"new_path": "vivisect/analysis/arm/emulation.py",
"diff": "@@ -200,7 +200,7 @@ def analyzeTB(emu, op, starteip, amon):\n######################### FIXME: ADD THIS TO getBranches(emu)\n### DEBUGGING\n#raw_input(\"\\n\\n\\nPRE... | Python | Apache License 2.0 | vivisect/vivisect | clean up some print statements, and add name to branch table. |
718,770 | 31.08.2018 09:39:21 | 14,400 | c23335ffdfde8cfe5389ada890acdbb0dfc327ee | dramatic improvements on SIMD decoding. still work to be done. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -527,6 +527,7 @@ instrnames = [\n'YIELD',\n'WFE',\n'WFI',\n+ 'WFR',\n'SEV',\n'CPS',\n'CBZ',\n@@ -664,11 +665,6 @@ instrnames = [\n'UXTH',\n'SDIV',\n'UDIV',\n- 'NOP',\n- 'YIELD',\n- 'W... | Python | Apache License 2.0 | vivisect/vivisect | dramatic improvements on SIMD decoding. still work to be done. |
718,770 | 01.09.2018 00:47:51 | 14,400 | 8a7eb1d54c3f30a6663b0aae694b25f71ab692ea | more bufixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -1922,8 +1922,8 @@ vmul_mnems = (\n(None, None),\n('vfnms', INS_VFNMS),\n('vfnma', INS_VFNMA),\n- ('vfms', INS_VFMS),\n('vfma', INS_VFMA),\n+ ('vfms', INS_VFMS),\n)\ndef p_fp_dp(opv... | Python | Apache License 2.0 | vivisect/vivisect | more bufixes |
718,770 | 06.09.2018 00:05:01 | 14,400 | a7eee3ba37f953c0381f11811d87a508980b2329 | lots of arm/thumb disasm and emulation bugfixes/improvements | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -470,7 +470,7 @@ STRB (imm) & (reg)\nSTRH (imm) & (reg)\n'''\n-swap_mnem = ((\"swp\", INS_SWP), (\"swpb\", INS_SWPB),)\n+swap_mnem = ((\"swp\", INS_SWP, 4), (\"swpb\", INS_SWPB, 1),... | Python | Apache License 2.0 | vivisect/vivisect | lots of arm/thumb disasm and emulation bugfixes/improvements |
718,770 | 07.09.2018 17:44:41 | 14,400 | 07e6c653b0613b05b4a91e77f172b4baeb362d1a | arm small bugfixes and cleanups. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -223,7 +223,8 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nnote: differs from the IMemory interface by checking loclist\n'''\nif arch == envi.ARCH_DEFAULT:\n- arch = (envi.AR... | Python | Apache License 2.0 | vivisect/vivisect | arm small bugfixes and cleanups. |
718,770 | 22.09.2018 23:56:21 | 14,400 | 4d3e65aa09195fcd7a9f1a4ca127f5f5357e9684 | bugfixes to unittests | [
{
"change_type": "MODIFY",
"old_path": "envi/tests/test_arch_arm.py",
"new_path": "envi/tests/test_arch_arm.py",
"diff": "@@ -41,10 +41,8 @@ instrs = [\n'tests':(('r3',0xfefefefe),('PSR_Q',0),('PSR_N',0),('PSR_Z',0),('PSR_V',0),('PSR_C',0)) }\n)),\n(REV_ALL_ARM, '08309fe5', 0xbfb00000, 'ldr r3, [#0x... | Python | Apache License 2.0 | vivisect/vivisect | bugfixes to unittests |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.