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
04.12.2019 10:02:09
18,000
ab1a0da80e73ad863a0e3fd29c09a41360991d77
remove unnecessary symidx==0 checks
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -611,9 +611,6 @@ def applyRelocs(elf, vw, addbase=False, baseaddr=0):\nif arch in ('arm', 'thumb', 'thumb16'):\nif rtype == Elf.R_ARM_JUMP_SLOT:\nsymidx = r.getSymTabIndex()\n- if sym...
Python
Apache License 2.0
vivisect/vivisect
remove unnecessary symidx==0 checks
718,770
06.12.2019 15:13:13
18,000
7e7bea7e79f1a195a780dfd6da344f037de4b597
i found the missing 'e'!
[ { "change_type": "MODIFY", "old_path": "Elf/elf_lookup.py", "new_path": "Elf/elf_lookup.py", "diff": "@@ -632,7 +632,7 @@ st_other_visibility = {\nSTV_DEFAULT:\"Symbol visibility specified by binding type\",\nSTV_INTERNAL:\"Symbol visibility is reserved\",\nSTV_HIDDEN:\"Symbol is not visible to othe...
Python
Apache License 2.0
vivisect/vivisect
i found the missing 'e'!
718,770
07.12.2019 00:03:11
18,000
d4988fd198ff5d9d1761e59c000c46990bb5b97b
have Vivisect use the locations database for memory navigation. also, fix FuncGraph so it renders directly to a location the first time, not the start of the function.
[ { "change_type": "MODIFY", "old_path": "vivisect/qt/funcgraph.py", "new_path": "vivisect/qt/funcgraph.py", "diff": "@@ -342,6 +342,7 @@ class VQVivFuncgraphView(vq_hotkey.HotKeyMixin, e_qt_memory.EnviNavMixin, QWidge\nafter every change.\n'''\nself._last_viewpt = self.mem_canvas.page().mainFrame().s...
Python
Apache License 2.0
vivisect/vivisect
have Vivisect use the locations database for memory navigation. also, fix FuncGraph so it renders directly to a location the first time, not the start of the function.
718,770
07.12.2019 01:14:39
18,000
2297f909f0f358d4bbeaa60ba99860c39d1c7363
cleaner/smoother in-function nav changes.
[ { "change_type": "MODIFY", "old_path": "vivisect/qt/funcgraph.py", "new_path": "vivisect/qt/funcgraph.py", "diff": "@@ -520,18 +520,19 @@ class VQVivFuncgraphView(vq_hotkey.HotKeyMixin, e_qt_memory.EnviNavMixin, QWidge\naddr = self._getLocVa(addr)\nfva = self.vw.getFunction(addr)\n+ if fva == self.f...
Python
Apache License 2.0
vivisect/vivisect
cleaner/smoother in-function nav changes.
718,770
09.12.2019 09:53:16
18,000
e83bb08d1dba5cc4c5415bbe69d4f4a6bf69ccd9
updates per good catch!
[ { "change_type": "MODIFY", "old_path": "vivisect/qt/memory.py", "new_path": "vivisect/qt/memory.py", "diff": "@@ -57,7 +57,6 @@ class VivCanvasBase(vq_hotkey.HotKeyMixin, e_mem_canvas.VQMemoryCanvas):\nself.addHotKey('ctrl+meta+S', 'viv:make:struct:multi')\nself.addHotKey('U', 'viv:undefine')\nself....
Python
Apache License 2.0
vivisect/vivisect
updates per @rakuyo. good catch!
718,770
13.12.2019 00:21:31
18,000
057767964a84f14b82fcd33954d6b98f27fc3c4d
unit tests for static32 and static64
[ { "change_type": "MODIFY", "old_path": "vivisect/tests/testelf.py", "new_path": "vivisect/tests/testelf.py", "diff": "@@ -15,8 +15,10 @@ from vivisect.tests import linux_amd64_ls_data\nfrom vivisect.tests import linux_amd64_chown_data\nfrom vivisect.tests import linux_amd64_libc_2_27_data\nfrom vivi...
Python
Apache License 2.0
vivisect/vivisect
unit tests for static32 and static64
718,770
13.12.2019 19:12:32
18,000
eb5a04afe342ea81592c29acae0582e41c5179c4
temp fix until indirect jmp code is merged.
[ { "change_type": "MODIFY", "old_path": "vivisect/tests/testelf.py", "new_path": "vivisect/tests/testelf.py", "diff": "@@ -15,10 +15,8 @@ from vivisect.tests import linux_amd64_ls_data\nfrom vivisect.tests import linux_amd64_chown_data\nfrom vivisect.tests import linux_amd64_libc_2_27_data\nfrom vivi...
Python
Apache License 2.0
vivisect/vivisect
temp fix until @rakuyo's indirect jmp code is merged.
718,770
13.12.2019 20:48:21
18,000
6a30387c7a550505ed15b2f0e4744660f5e0b88b
stay on target!
[ { "change_type": "MODIFY", "old_path": "vivisect/tests/testelf.py", "new_path": "vivisect/tests/testelf.py", "diff": "@@ -141,7 +141,7 @@ class ELFTests(unittest.TestCase):\npass\ndef test_minimal(self):\n- for path in ('linux/amd64/static64.llvm.elf', 'linux/i386/static32.llvm.elf'):\n+ for path in...
Python
Apache License 2.0
vivisect/vivisect
stay on target!
718,770
03.01.2020 17:10:27
18,000
9a73ba62bd96b9aaf47925304a3b50f77c7470c9
reset to (almost) the beginning. new approach.
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -347,7 +347,7 @@ class Operand:\npwn on purpose to cut down on memory use and constructor CPU cost.\n\"\"\"\n- def getOperValue(self, op, emu=None, codeflow=False):\n+ def getOperValue(self, op, em...
Python
Apache License 2.0
vivisect/vivisect
reset to (almost) the beginning. new approach.
718,770
03.01.2020 17:36:51
18,000
be1db0769e149f5e25d27df09e7908c88fd9a05e
generic overarching change.
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -553,6 +553,14 @@ class Opcode:\n\"\"\"\nreturn ()\n+ def genRefOpers(self, emu=None):\n+ \"\"\"\n+ Search through operands and yield potential references for further\n+ analysis.\n+ \"\"\"\n+ for ...
Python
Apache License 2.0
vivisect/vivisect
generic overarching change.
718,770
03.01.2020 17:49:47
18,000
f34e9fb2f075431b66b90fe96a619ba1023ce764
ARM updates to avoid making XREFS to PC+8
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -554,10 +554,12 @@ class Opcode:\nreturn ()\ndef genRefOpers(self, emu=None):\n- \"\"\"\n- Search through operands and yield potential references for further\n- analysis.\n- \"\"\"\n+ '''\n+ Operan...
Python
Apache License 2.0
vivisect/vivisect
ARM updates to avoid making XREFS to PC+8
718,765
07.02.2020 11:53:45
18,000
75913fc2e46a5cf8c1b39ce7ab30dfe71c938ef7
add running kill list
[ { "change_type": "ADD", "old_path": null, "new_path": "py3kill.txt", "diff": "+Unify vdbbin and vivbin\n+Move workspace events over to a enum\n+Maybe just redo notifier entirely\n+\n+`__init__.py`:\n+test addLibraryDependency\n+test getLibraryDependency\n+addRelocation does not obey file defs\n+\n+\...
Python
Apache License 2.0
vivisect/vivisect
add running kill list
718,770
24.02.2020 01:30:11
18,000
d7aedcd910e0f7c8925fdd44ac9fe9b02071445e
bugfix: bx<cc> shouldn't be IF_NOFALL.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -414,7 +414,7 @@ def p_misc1(opval, va): #\nRm = opval & 0xf\nolist = ( ArmRegOper(Rm, va=va), )\nif Rm == REG_LR:\n- iflags |= envi.IF_RET | envi.IF_NOFALL\n+ iflags |= envi.IF_RET...
Python
Apache License 2.0
vivisect/vivisect
bugfix: bx<cc> shouldn't be IF_NOFALL.
718,770
18.03.2020 14:15:15
14,400
a770cf496cd076353da96b295e5e5811a1bf5ef7
extra logging for makeFunctionThunk()
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -1449,6 +1449,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nUsage: vw.makeFunctionThunk(0xvavavava, \"kernel32.CreateProcessA\")\n\"\"\"\n+ logger.info('makeFunct...
Python
Apache License 2.0
vivisect/vivisect
extra logging for makeFunctionThunk()
718,770
18.03.2020 16:52:44
14,400
b3bd7cf85d09489a970ca84ffe8e8826f2d045e7
wow, making up for overlapping arg names (stolen from windows, btw)
[ { "change_type": "MODIFY", "old_path": "vivisect/impapi/posix/i386.py", "new_path": "vivisect/impapi/posix/i386.py", "diff": "@@ -40,7 +40,7 @@ api = {\n'plt__memccpy':( 'int', None, 'cdecl', '*._memccpy', (('int', None), ('int', None), ('int', None), ('int', None)) ),\n'plt__memicmp':( 'int', None,...
Python
Apache License 2.0
vivisect/vivisect
wow, making up for overlapping arg names (stolen from windows, btw)
718,770
19.03.2020 20:53:18
14,400
69946d24dbe7b1eab64ed8a432260a994869115b
main code. simple.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -1226,8 +1226,15 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n'''\nShow the repr of an instruction in the current canvas *before* making it that\n'''\n+ try:\nop =...
Python
Apache License 2.0
vivisect/vivisect
main code. simple.
718,770
19.03.2020 23:01:19
14,400
3b97ca0ff547c353823b3c386478969f87fefbf5
and menu Action protection
[ { "change_type": "MODIFY", "old_path": "vqt/menubuilder.py", "new_path": "vqt/menubuilder.py", "diff": "@@ -3,6 +3,9 @@ try:\nexcept:\nfrom PyQt4.QtGui import *\n+import logging\n+logger = logging.getLogger(__name__)\n+\nclass FieldAdder:\ndef __init__(self, splitchar='.'):\n@@ -84,4 +87,8 @@ class ...
Python
Apache License 2.0
vivisect/vivisect
and menu Action protection
718,770
20.03.2020 09:47:17
14,400
df3571003567d2071d40cc9e96ebf1ecb9c18364
hopefully get travis fixed on first try...
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -15,7 +15,7 @@ python:\ninstall:\n- \"travis_retry sudo apt-get update\"\n- git clone https://github.com/vivisect/vivtestfiles.git /tmp/vivtestfiles\n- - \"travis_retry sudo apt-get -qq install libfreetype6-...
Python
Apache License 2.0
vivisect/vivisect
hopefully get travis fixed on first try...
718,770
20.03.2020 11:31:25
14,400
27203d714ef16b5c57041365ca982c91573f29df
try something new.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -12,6 +12,9 @@ language: python\npython:\n- \"2.7\"\n+virtualenv:\n+ system_site_packages: true\n+\ninstall:\n- \"travis_retry sudo apt-get update\"\n- git clone https://github.com/vivisect/vivtestfiles.git ...
Python
Apache License 2.0
vivisect/vivisect
try something new.
718,770
20.03.2020 14:27:42
14,400
9c89d7f9b546bbc1504b0d74f784ba22639ce257
variable renaming error
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -1021,7 +1021,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nlogger.warn(\"complete implementing vcvt\")\nsrcwidth = op.opers[0].getWidth()\n- regcnt = width / 4\n+ regcnt = ...
Python
Apache License 2.0
vivisect/vivisect
variable renaming error
718,770
21.03.2020 15:09:22
14,400
7566b81ca5be23e8a4bc236672dd2afa5bdb9a96
remove duplication of Emulator.getMeta/setMeta
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -670,15 +670,6 @@ class Emulator(e_reg.RegisterContext, e_mem.MemoryObject):\n\"\"\"\nself.metadata[name] = value\n- def getMeta(self, name, default=None):\n- return self.metadata.get(name, default...
Python
Apache License 2.0
vivisect/vivisect
remove duplication of Emulator.getMeta/setMeta
718,770
21.03.2020 15:30:42
14,400
5ad9cf853fac5b34c6cf4bf25b96c6c2d95756e8
cleanup per
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -5,16 +5,6 @@ import traceback\nimport envi\nimport envi.bits as e_bits\n-from envi.bits import binary\n-\n-#import sys\n-#import struct\n-#import traceback\n-\n-#import envi\n-#imp...
Python
Apache License 2.0
vivisect/vivisect
cleanup per @rakuyo
718,770
22.03.2020 23:10:57
14,400
c5766cdc913216e245df8310bbc3926832d89b9e
cleanup (some per
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -489,12 +489,6 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nnewcarry = (ures != result)\noverflow = e_bits.signed(result, tsize) != sres\n- #print \"=====================\"\n...
Python
Apache License 2.0
vivisect/vivisect
cleanup (some per @rakuyo)
718,765
23.03.2020 09:59:18
14,400
ac82159d07132ba2b8d1a8e5c8a55f985800fc7e
More intel coverage More coverage of various addrmeth's in amd64 and fixing up some sizing issues.
[ { "change_type": "MODIFY", "old_path": "envi/archs/amd64/disasm.py", "new_path": "envi/archs/amd64/disasm.py", "diff": "@@ -12,7 +12,8 @@ from envi.archs.i386.disasm import iflag_lookup, operand_range, priv_lookup, \\\nMANDATORY_PREFIXES, PREFIX_REP_MASK\nfrom envi.archs.amd64.regs import *\n-from e...
Python
Apache License 2.0
vivisect/vivisect
More intel coverage (#272) More coverage of various addrmeth's in amd64 and fixing up some sizing issues.
718,770
23.03.2020 14:52:50
14,400
b304e8a99e3dc1992e020f243ee53ce13b2a36a1
reprPointer work (discussion with and some flake8 stuff.
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -7,12 +7,6 @@ from envi import InvalidInstruction\nfrom envi.archs.arm.disasm import *\narmd = ArmDisasm()\n-#thumb_32 = [\n- #binary('11101'),\n- #binary('11110'),\n- #bina...
Python
Apache License 2.0
vivisect/vivisect
reprPointer work (discussion with @rakuyo) and some flake8 stuff.
718,770
25.03.2020 15:36:23
14,400
ab23fe642f1af3d38c175ecda0b9383f7df568d2
cleanup and changed interrupt handling to use a dict instead of a list, enabling easier default handler configuration.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -162,7 +162,8 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\n# FIXME: this should be None's, and added in for each real coproc... but this will work for now.\nself.coprocs = [C...
Python
Apache License 2.0
vivisect/vivisect
cleanup and changed interrupt handling to use a dict instead of a list, enabling easier default handler configuration.
718,770
25.03.2020 15:38:22
14,400
8527916016147a8b4b2bdccf4ef691ee9523db76
added arm/elfplt analysis mod back into repo for now. improved it a bit... working toward improving elf/elfplt analysis mod to make this unnecessary. SAVEGAME
[ { "change_type": "ADD", "old_path": null, "new_path": "vivisect/analysis/arm/elfplt.py", "diff": "+\"\"\"\n+If a \"function\" is in the plt it's a wrapper for something in the GOT.\n+Make that apparent.\n+\"\"\"\n+\n+import envi\n+import vivisect\n+\n+import logging\n+logger = logging.getLogger(__na...
Python
Apache License 2.0
vivisect/vivisect
added arm/elfplt analysis mod back into repo for now. improved it a bit... working toward improving elf/elfplt analysis mod to make this unnecessary. SAVEGAME
718,770
27.03.2020 08:43:53
14,400
4bf9e123a09515f4de9c09cb6349cf8aa873834c
bugfix: Constant undefined in vcvt
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -138,6 +138,13 @@ MSB_FMT = [0, 'B', '>H', 0, '>I', 0, 0, 0, '>Q',]\nLSB_FMT_SIGNED = [0, 'b', '<h', 0, '<i', 0, 0, 0, '<q',]\nMSB_FMT_SIGNED = [0, 'b', '>h', 0, '>i', 0, 0, 0, '>q',]\n+#...
Python
Apache License 2.0
vivisect/vivisect
bugfix: Constant undefined in vcvt
718,770
27.03.2020 08:44:47
14,400
d58bc773eee6534a8790458c9a815fbf197fb345
throw the emulator back into the getBranches() call to getOperValue()
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -3929,7 +3929,7 @@ class ArmOpcode(envi.Opcode):\noper = self.opers[-1]\n# check for location being ODD\n- operval = oper.getOperValue(self)\n+ operval = oper.getOperValue(self, emu...
Python
Apache License 2.0
vivisect/vivisect
throw the emulator back into the getBranches() call to getOperValue()
718,770
27.03.2020 08:47:09
14,400
4796360e1ca7ec1ba917e9d12020c9dc73ea7a53
updates to the ELF parser (for ARM Relocs)
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -619,9 +619,43 @@ def applyRelocs(elf, vw, addbase=False, baseaddr=0):\nif arch in ('arm', 'thumb', 'thumb16'):\n- # get an emulator spun up for handling of certain relocation types\n...
Python
Apache License 2.0
vivisect/vivisect
updates to the ELF parser (for ARM Relocs)
718,770
30.03.2020 07:21:23
14,400
ecf5fdd15ad0d6443c77ccce1db370f799c734a9
elfplt savegame. still sorting out bugs, but example cmln is looking up.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -150,6 +150,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nself.addVaSet('DynamicBranches', (('va', VASET_ADDRESS), ('opcode', VASET_STRING), ('bflags', VASET_INTE...
Python
Apache License 2.0
vivisect/vivisect
elfplt savegame. still sorting out bugs, but example cmln is looking up.
718,770
30.03.2020 23:01:23
14,400
f7b0a37f29e4ca7ea1f5c0b97a8b05168a1621ec
more elfplt tweaks. not done yet.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -49,13 +49,13 @@ def analyzePLT(vw, ssva, ssize):\nlogger.debug('incrementing to next va: 0x%x', sva)\nelse:\nlogger.warn('makeCode(0x%x) failed to make a location (pr...
Python
Apache License 2.0
vivisect/vivisect
more elfplt tweaks. not done yet.
718,770
30.03.2020 23:02:08
14,400
bb1310de2c429533a2c8c6902a5224d32bd59a12
allow makeFunctionThunk() to set filelocal.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -1479,7 +1479,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nret = []\nreturn ret\n- def makeFunctionThunk(self, fva, thname, addVa=True):\n+ def makeFunctionThunk...
Python
Apache License 2.0
vivisect/vivisect
allow makeFunctionThunk() to set filelocal.
718,770
30.03.2020 23:04:52
14,400
b0be9fae4c70df88d618c41942b5a75b3e4ed5f1
allow architecture to fixup Xrefs in vw._handleADDRELOC() (was causing all the THUMB relocations to completely screw up the locations database).
[ { "change_type": "MODIFY", "old_path": "vivisect/base.py", "new_path": "vivisect/base.py", "diff": "@@ -260,8 +260,9 @@ class VivWorkspaceCore(object, viv_impapi.ImportApi):\n# self.addXref(va, tova, REF_PTR)\n# ploc = self.addLocation(va, psize, LOC_POINTER)\n# don't follow. handle it later, once \...
Python
Apache License 2.0
vivisect/vivisect
allow architecture to fixup Xrefs in vw._handleADDRELOC() (was causing all the THUMB relocations to completely screw up the locations database).
718,770
31.03.2020 13:06:59
14,400
7bb1f17043337833b817962129d92a0334c94c3e
arch-flip bugfix.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -91,17 +91,6 @@ def analyzePLT(vw, ssva, ssize):\nlogger.info('making PLT function: 0x%x', sva)\nvw.makeFunction(sva)\nanalyzeFunction(vw, sva)\n- '''\n- vw.makeFuncti...
Python
Apache License 2.0
vivisect/vivisect
arch-flip bugfix.
718,770
04.04.2020 17:07:32
14,400
a7661dfe54dbf1f84361d7adae9c17a36f9e5664
lots of bugfixes and logging.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -251,7 +251,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\ndef executeOpcode(self, op):\n# NOTE: If an opcode method returns\n- # other than None, that is the new eip\n+ # ot...
Python
Apache License 2.0
vivisect/vivisect
lots of bugfixes and logging.
718,770
06.04.2020 16:23:45
14,400
c8e6d4038bf8faabeca15acfea642cf7abc58fd3
just adding a few defines i got from apple's opensource repos.
[ { "change_type": "MODIFY", "old_path": "vstruct/defs/macho/const.py", "new_path": "vstruct/defs/macho/const.py", "diff": "@@ -63,14 +63,23 @@ LC_SUB_CLIENT = 0x14 # sub client\nLC_SUB_LIBRARY = 0x15 # sub library\nLC_TWOLEVEL_HINTS = 0x16 # two-level namespace lookup hints\nLC_PREBIND_CKSUM = 0x17 #...
Python
Apache License 2.0
vivisect/vivisect
just adding a few defines i got from apple's opensource repos.
718,770
08.04.2020 23:51:55
14,400
50a1dde3eb2077bc68f0d6df91646b0636767d87
bugfixes and savegame. this seems to make amd64/ls happy.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -22,11 +22,15 @@ def analyze(vw):\ncontinue\nanalyzePLT(vw, sva, ssize)\n+\ndef analyzePLT(vw, ssva, ssize):\n# make code for every opcode in PLT\nsva = ssva\nnextseg ...
Python
Apache License 2.0
vivisect/vivisect
bugfixes and savegame. this seems to make amd64/ls happy.
718,770
09.04.2020 09:46:23
14,400
c6f77250102f006b56e061a636cefb320bdbd58e
minor improvements, but still with some bugs. wasn't taking into account the way getBranches can hand out both direct addresses (code) and BR_DEREF (pointers). about to revamp a bit. SAVEGAME!
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -129,6 +129,7 @@ def analyzePLT(vw, ssva, ssize):\n# we're searching for a point where either we hit:\n# * another branch (ie. lazy-loader) or\n# * non-Opcode (eg. lit...
Python
Apache License 2.0
vivisect/vivisect
minor improvements, but still with some bugs. wasn't taking into account the way getBranches can hand out both direct addresses (code) and BR_DEREF (pointers). about to revamp a bit. SAVEGAME!
718,770
09.04.2020 11:27:42
14,400
be15144c6a78a5521362416147114a95366ac36b
works on amd64/libc now... cycling back to check all unittest files.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -3919,7 +3919,6 @@ class ArmOpcode(envi.Opcode):\nret.append((self.va + self.size, envi.BR_FALL | self._def_arch))\n#print \"getBranches: next...\", hex(self.va), self.size\n- # FIX...
Python
Apache License 2.0
vivisect/vivisect
works on amd64/libc now... cycling back to check all unittest files.
718,770
10.04.2020 18:36:35
14,400
3752088617f60e2b44ece9a94e8dacba72e7b31b
bugfixes and normalizing emulation, elfplt and ARM ELF relocations...
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -3954,6 +3954,13 @@ class ArmOpcode(envi.Opcode):\nprint \"0x%x: %r getBranches() with no emulator\" % (self.va, self)\n'''\nelse:\n+ # actually add the branch here...\n+ # if we ar...
Python
Apache License 2.0
vivisect/vivisect
bugfixes and normalizing emulation, elfplt and ARM ELF relocations...
718,770
10.04.2020 20:05:20
14,400
2ab48ce076ecac72539aec9869ec45c402cfe72b
lots of improvements, impapi, emulation, stuff
[ { "change_type": "MODIFY", "old_path": "vivisect/impapi/posix/amd64.py", "new_path": "vivisect/impapi/posix/amd64.py", "diff": "@@ -5,4 +5,5 @@ apitypes = {\n'HANDLE': 'unsigned long',\n}\n-api = p386.api\n+# FIXME: complete the libc import api call work and update this cleanly\n+api = {symbol: (a[0...
Python
Apache License 2.0
vivisect/vivisect
lots of improvements, impapi, emulation, stuff
718,770
10.04.2020 21:10:45
14,400
a9ca980684b47889c8f87dfb811505dce41264c7
impapi strips filelocal prefix if one exists.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/generic/impapi.py", "new_path": "vivisect/analysis/generic/impapi.py", "diff": "@@ -9,6 +9,10 @@ logger = logging.getLogger(__name__)\ndef analyzeFunction(vw, fva):\nfname = vw.getName(fva)\n+ filename = vw.getFileByVa(fva)\n+ if fname.starts...
Python
Apache License 2.0
vivisect/vivisect
impapi strips filelocal prefix if one exists.
718,770
11.04.2020 00:00:20
14,400
6fbf80be170449b87ed8b986efd0387210275df1
bugfix: infinite loop on firstva being preceeded by no location
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -165,6 +165,9 @@ def analyzePLT(vw, ssva, ssize):\nfirstva = firstbr - plt_size\nprevloc = vw.getLocation(firstva - 1)\nif prevloc is None:\n+ # perhaps this is ok?\n+...
Python
Apache License 2.0
vivisect/vivisect
bugfix: infinite loop on firstva being preceeded by no location
718,770
11.04.2020 00:07:13
14,400
9c6e6a0bd8262cb29130237f8e9709ccaf0c0edf
a few oddball non-ARM-specific fixes
[ { "change_type": "MODIFY", "old_path": "envi/archs/i386/disasm.py", "new_path": "envi/archs/i386/disasm.py", "diff": "@@ -247,6 +247,9 @@ class i386PcRelOper(envi.Operand):\ndef getOperValue(self, op, emu=None):\nreturn op.va + op.size + self.imm\n+ def getOperAddr(self, op, emu=None):\n+ return Non...
Python
Apache License 2.0
vivisect/vivisect
a few oddball non-ARM-specific fixes
718,770
12.04.2020 01:07:11
14,400
b6a32d1fe16ce662011107bb73d49136f6602d03
logging of function creation
[ { "change_type": "MODIFY", "old_path": "envi/codeflow.py", "new_path": "envi/codeflow.py", "diff": "@@ -280,6 +280,7 @@ class CodeFlowContext(object):\nself._funcs[va] = True\ncalls_from = self.addCodeFlow(va, arch=arch)\nself._fcalls[va] = calls_from\n+ logger.debug('addEntryPoint(0x%x): calls_from...
Python
Apache License 2.0
vivisect/vivisect
logging of function creation
718,770
12.04.2020 01:09:09
14,400
205083e82accaf65c497640556f35b06e9769de0
bugfix: bxcc lr is now IF_COND and not IF_NOFALL
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -404,9 +404,19 @@ def p_misc1(opval, va): #\nopcode = INS_BX\nmnem = 'bx'\nRm = opval & 0xf\n+ cond = (opval >> 28) & 0xf\n+\nolist = ( ArmRegOper(Rm, va=va), )\n+\nif Rm == REG_LR:...
Python
Apache License 2.0
vivisect/vivisect
bugfix: bxcc lr is now IF_COND and not IF_NOFALL
718,770
12.04.2020 10:18:54
14,400
0e6784b33660130df7ffce41d33814f771643b3a
make pointers.py obey architecture-dependent pointer-alignment rules. (really nailed some horrible bugs in ARM analysis)
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -219,6 +219,9 @@ class ArchitectureModule:\ndefcall = self._plat_def_calls.get(platform)\nreturn defcall\n+ def archGetPointerAlignment(self):\n+ return 1\n+\ndef stealArchMethods(obj, archname):\n...
Python
Apache License 2.0
vivisect/vivisect
make pointers.py obey architecture-dependent pointer-alignment rules. (really nailed some horrible bugs in ARM analysis)
718,770
13.04.2020 08:27:46
14,400
6402ad51090fab81a94f2625a5e65c06a621d177
alignment bugfix on findPointers(), other cleanup/prettification
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -849,6 +849,9 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nloctup = self.getLocation(va)\nif loctup is not None:\noffset += loctup[L_SIZE]\n+ if offset % align:\n+...
Python
Apache License 2.0
vivisect/vivisect
alignment bugfix on findPointers(), other cleanup/prettification
718,770
14.04.2020 00:58:18
14,400
45f0a7fc606cb11d53a63cfc5694008e18aea25f
nearly finishing touches.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2267,12 +2267,19 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nraise DuplicateName(oldva, va, name)\nelse:\n+ logger.debug('makeName: %r already lives at 0x%x', na...
Python
Apache License 2.0
vivisect/vivisect
nearly finishing touches.
718,770
16.04.2020 14:02:47
14,400
441b6c16a537cc30044ba9e75dc9b212dacea183
finally figured out what the ELFARM spec meant about addend calculation! cleanup (thought i committed them already)
[ { "change_type": "MODIFY", "old_path": "Elf/elf_lookup.py", "new_path": "Elf/elf_lookup.py", "diff": "@@ -270,6 +270,7 @@ R_ARM_PC24 = 1 # PC relative 26 bit branch */\nR_ARM_ABS32 = 2 # Direct 32 bit */\nR_ARM_REL32 = 3 # PC relative 32 bit */\nR_ARM_PC13 = 4\n+R_ARM_LDR_PC_G0 = 4 # also 4\nR_ARM_A...
Python
Apache License 2.0
vivisect/vivisect
finally figured out what the ELFARM spec meant about addend calculation! cleanup (thought i committed them already)
718,773
07.05.2020 14:41:51
18,000
173850ec3d27c7c20b230b687d8fe1f14067326f
instrhook function analysis module for i386
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/__init__.py", "new_path": "vivisect/analysis/__init__.py", "diff": "@@ -55,6 +55,7 @@ def addAnalysisModules(vw):\n# Snap in an architecture specific emulation pass\nif arch == 'i386':\nvw.addFuncAnalysisModule(\"vivisect.analysis.i386.callin...
Python
Apache License 2.0
vivisect/vivisect
instrhook function analysis module for i386
718,773
11.05.2020 15:25:56
18,000
9120271fb217ac9268ce0471c761212ebd04e2b3
instrhook analysis module amd64
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/__init__.py", "new_path": "vivisect/analysis/__init__.py", "diff": "@@ -59,6 +59,7 @@ def addAnalysisModules(vw):\nelif arch == 'amd64':\nvw.addFuncAnalysisModule(\"vivisect.analysis.amd64.emulation\")\n+ vw.addFuncAnalysisModule(\"vivisect.a...
Python
Apache License 2.0
vivisect/vivisect
instrhook analysis module amd64
718,773
12.05.2020 13:20:14
18,000
d8e1de76cdd9a59396f8d9e3ede2ba0920e5e400
Changes to instrhook func ananlysis module per code review feedback
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/__init__.py", "new_path": "vivisect/analysis/__init__.py", "diff": "@@ -7,6 +7,7 @@ for different phases of analysis on different platforms.\nimport logging\nlogger = logging.getLogger(__name__)\n+\ndef addAnalysisModules(vw):\nimport vivisec...
Python
Apache License 2.0
vivisect/vivisect
Changes to instrhook func ananlysis module per code review feedback
718,770
31.05.2020 23:45:43
14,400
7a20a960b0e586a5ea553db8e52b7b5d373679a9
some changes recommended by
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -53,6 +53,8 @@ IF_RET = 0x10 # Set if this instruction terminates a procedure\nIF_COND = 0x20 # Set if this instruction is conditional\nIF_REPEAT = 0x40 # set if this instruction repeats (including...
Python
Apache License 2.0
vivisect/vivisect
some changes recommended by @rakuyo
718,770
06.06.2020 00:50:13
14,400
c798af7ec62ba18e32ac6f40eb9631672046048d
thumb disasm updates
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -339,7 +339,7 @@ def branch_misc(va, val, val2): # bl and misc control\nif not (imod or m):\n# hint\n- mnem = \"CPS Hint... fix me\"\n+ mnem = \"CPS Hint\"\nif imod & 2:\nop...
Python
Apache License 2.0
vivisect/vivisect
thumb disasm updates
718,770
06.06.2020 12:49:23
14,400
7d39535797201c596fd020075e46d43c1893220b
yay! advsimd/coproc/fp done.
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -1669,7 +1669,6 @@ def coproc_simd_32(va, val1, val2):\nelse:\n# coproc = 0b101x - ARM7A/M p251\n- # FIXME: REMOVE WHEN DONE IMPLEMENTING\nopcode = 0\niflags = 0\nopers = []...
Python
Apache License 2.0
vivisect/vivisect
yay! advsimd/coproc/fp done.
718,770
07.06.2020 22:45:43
14,400
a118f2751f0e8791cd404193a1912e562901b0d6
logging the exception
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/generic/pointers.py", "new_path": "vivisect/analysis/generic/pointers.py", "diff": "@@ -50,7 +50,7 @@ def analyze(vw):\ndone.append((lva, tva))\nlogger.info('pointer(3): 0x%x -> 0x%x', lva, tva)\nexcept Exception:\n- logger.info(\"followPoint...
Python
Apache License 2.0
vivisect/vivisect
logging the exception
718,770
07.06.2020 23:14:27
14,400
dfca9ef5c2d2ca2362d9be6fe6d5d4d612dcb9ef
silent emulation exception mode
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -983,6 +983,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nreturn False\nself.iscode[va] = True\nemu = self.getEmulator()\n+ emu.setMeta('silent', True)\nwat = v_e...
Python
Apache License 2.0
vivisect/vivisect
silent emulation exception mode
718,770
07.06.2020 23:24:37
14,400
de00dba215425d2956000830c351952e4e5c30d8
ELF aarch64 removal
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -114,7 +114,6 @@ arch_names = {\nElf.EM_386:'i386',\nElf.EM_X86_64:'amd64',\nElf.EM_MSP430:'msp430',\n- Elf.EM_ARM_AARCH64:'aarch64',\n}\narchcalls = {\n@@ -123,7 +122,6 @@ archcalls ...
Python
Apache License 2.0
vivisect/vivisect
ELF aarch64 removal
718,770
08.06.2020 10:08:53
14,400
e53247955594387cd2fbb0202e9eb4f87ae217e9
lots of minor fixes and tweaks per code review
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/__init__.py", "new_path": "envi/archs/arm/__init__.py", "diff": "@@ -29,7 +29,6 @@ class ArmModule(envi.ArchitectureModule):\ndef archGetBreakInstr(self):\nraise Exception (\"weird... what are you trying to do here? ARM has a complex breakpoint ...
Python
Apache License 2.0
vivisect/vivisect
lots of minor fixes and tweaks per code review
718,773
08.06.2020 14:01:44
18,000
1ecaa1d723cc33e430a415d371bdfca992f6c9ce
Fixes PE parsing bug which prevents adding exported functions that are only exported by ordinal
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/pe.py", "new_path": "vivisect/parsers/pe.py", "diff": "@@ -339,6 +339,11 @@ def loadPeIntoWorkspace(vw, pe, filename=None, baseaddr=None):\nexports = pe.getExports()\nfor rva, ord, name in exports:\neva = rva + baseaddr\n+\n+ # Functions expor...
Python
Apache License 2.0
vivisect/vivisect
Fixes PE parsing bug which prevents adding exported functions that are only exported by ordinal
718,770
10.06.2020 00:35:14
14,400
6210062f48d3a44b7be08d19a9f5788f84665635
adv simd and vcvt stuff... s/getFloatValue() added to ArmRegOper
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -90,15 +90,16 @@ IF_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 can't find reference to them in use\n+IFS_ADV_SI...
Python
Apache License 2.0
vivisect/vivisect
adv simd and vcvt stuff... s/getFloatValue() added to ArmRegOper
718,770
10.06.2020 08:29:16
14,400
cbaff71cc79dfcfc651f3dad7b4f5d05b1517f3d
putting simdflags back to what it was... need to fix naming. this is not flags per se.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -79,6 +79,7 @@ IF_IE = 1<<43 # Interrupt Enable flag (used for CPS instruction)\nIF_ID = 1<<44 # Interrupt Disable flag (used for CPS instruction)\nIF_THUMB32 = 1<<50 # thumb32\n+IF_A...
Python
Apache License 2.0
vivisect/vivisect
putting simdflags back to what it was... need to fix naming. this is not flags per se.
718,770
10.06.2020 10:52:32
14,400
c11cf6b453fedbb69f0df5d1fbd6c66eb31b1216
tweaks to adjust to new mainline changes (e_exc), and cleanup const.py to remove old IFS_ "flags"
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -90,13 +90,6 @@ 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
tweaks to adjust to new mainline changes (e_exc), and cleanup const.py to remove old IFS_ "flags"
718,770
11.06.2020 23:51:54
14,400
a383cea093bd51d748add0c08f7f4f319ff33e9d
mods from review.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -80,6 +80,7 @@ IF_ID = 1<<44 # Interrupt Disable flag (used for CPS instruction)\nIF_THUMB32 = 1<<50 # thumb32\nIF_ADV_SIMD = 1<<51 # Advanced SIMD instructions... it matters\n+IF_SYS...
Python
Apache License 2.0
vivisect/vivisect
mods from review.
718,770
12.06.2020 00:57:50
14,400
07fe580172631487c501a59c66851552caf96b0c
`cleanup of revsh and rev16, logAnomaly, and a few other changes from code review.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -998,7 +998,7 @@ for pre in par_prefixes:\nelse:\nmnem = pre + suf\nopname = \"INS_\" + mnem.upper()\n- opcode = eval(opname)\n+ opcode = globals()[opname]\nparallel_mnem.append((mn...
Python
Apache License 2.0
vivisect/vivisect
`cleanup of revsh and rev16, logAnomaly, and a few other changes from code review.
718,770
12.06.2020 01:42:48
14,400
d2476182328a785d6fcd1dd43a12d77535682021
mods per review (and unit tests too)
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -2629,7 +2629,7 @@ adv_simd_3diffregs = (\n('vsubw', INS_VSUBW, ADV_SIMD_S8, 1, 1, 0),\n('vsubw', INS_VSUBW, ADV_SIMD_U8, 1, 1, 0),\n# a=4, u=0/1\n- ('vaddhn', INS_VADDHN, ADV_SIMD_...
Python
Apache License 2.0
vivisect/vivisect
mods per review (and unit tests too)
718,770
13.06.2020 01:21:15
14,400
404c0b419408ab470beef3a2ac9a43897b808c50
cleanup per code review.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -163,7 +163,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nself.mem_access_lock = threading.Lock()\n# FIXME: this should be None's, and added in for each real coproc... but t...
Python
Apache License 2.0
vivisect/vivisect
cleanup per code review.
718,765
15.06.2020 18:01:28
14,400
8cdda0863e9811f68b3733aec5d54d1abbcde566
Cleanup better exception catching
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/generic/switchcase.py", "new_path": "vivisect/analysis/generic/switchcase.py", "diff": "@@ -52,7 +52,7 @@ def scanUp(vw, emu, startva, regidx, valu):\nloc = vw.getLocation(startva)\nwhile loc is not None and vw.getCodeBlock(loc[v_const.L_VA])...
Python
Apache License 2.0
vivisect/vivisect
Cleanup (#287) better exception catching
718,770
23.06.2020 12:56:40
14,400
33e23e3afca5a99558ea6ed2209400000646de89
IFS comments and fixes
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -92,6 +92,8 @@ IF_DAIB_B = 5<<(IF_DAIB_SHFT-1) # Before mask\nIF_DAIB_I = 3<<(IF_DAIB_SHFT-1) # Before mask\n+# NOTE: unlike IF_*, IFS_* are *NOT* flags. they are indices into the IFS...
Python
Apache License 2.0
vivisect/vivisect
IFS comments and fixes
718,770
26.06.2020 19:15:33
14,400
d7f829174a659055d96b57fd8ff56e59db825a7f
refactoring IfThen. it works like the manual states now.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -55,6 +55,19 @@ class CoProcEmulator: # useful for prototyping, but should be subclassed\nlogger.info(\"CoProcEmu(%s): mrrc(%r)\", self.ident, parms)\n+class FPProcessException(Exception)...
Python
Apache License 2.0
vivisect/vivisect
refactoring IfThen. it works like the manual states now.
718,770
26.06.2020 22:31:38
14,400
85f53e9f3a3a0f3647e29aca4153cd948f11ef0b
logging line for ELFPLT analysis
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -33,6 +33,7 @@ def analyzePLT(vw, ssva, ssize):\nbranchvas = []\nwhile sva < nextseg:\n+ logger.debug('analyzePLT(0x%x, 0x%x) first pass: sva: 0x%x nextseg: 0x%x', ssv...
Python
Apache License 2.0
vivisect/vivisect
logging line for ELFPLT analysis
718,765
27.07.2020 17:18:32
14,400
bd1f0ccd35c337c31badd22cbbcc2357db556875
Address issue makeName being passed none
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2268,6 +2268,9 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nbaseva = self.getFunction(va)\nbasename = self.name_by_va.get(baseva, None)\n+ if self.isFunction(va):...
Python
Apache License 2.0
vivisect/vivisect
Address issue #90, makeName being passed none (#295)
718,765
03.08.2020 17:14:03
14,400
385798a0d25bef2f17c57b19631a3b526a785aa4
save work and move init files to new pr
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2581,7 +2581,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\ndef getLocationDistribution(self):\n# NOTE: if this changes, don't forget the report module!\n- totsiz...
Python
Apache License 2.0
vivisect/vivisect
save work and move init files to new pr
718,765
04.08.2020 11:14:29
14,400
cdfbb1e2ca85d002b749da29977c2ded9a25714f
intel opcode maps
[ { "change_type": "MODIFY", "old_path": "envi/archs/amd64/opcode64.py", "new_path": "envi/archs/amd64/opcode64.py", "diff": "@@ -1040,6 +1040,16 @@ tbl32_660F38[0x23] = (0, INS_OTHER, ADDRMETH_V | OPTYPE_x | OP_W, ADDRMETH_W | O\ntbl32_660F38[0x24] = (0, INS_OTHER, ADDRMETH_V | OPTYPE_x | OP_W, ADDRM...
Python
Apache License 2.0
vivisect/vivisect
intel opcode maps (#299)
718,765
05.08.2020 10:32:41
14,400
659366fabca57386793099a9da2c97260a149451
exception naming
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -4143,8 +4143,9 @@ class ArmRegOper(ArmOperand):\nif elmtsz is None:\nelmtsz = self.getWidth()\n- ifmt = e_bits.getFormat(emu.getEndian(), elmtsz)\n- ffmt = e_bits.getFloatFormat(em...
Python
Apache License 2.0
vivisect/vivisect
exception naming
718,765
13.08.2020 00:00:10
14,400
3147afe284b790509affb1e33800577cb0dd63c5
don't crash on openbsd lacking dynamics
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -56,6 +56,7 @@ logger = logging.getLogger(__name__)\nMAGIC_PLT_SIZE = 16\n+\ndef analyze(vw):\n\"\"\"\nDo simple linear disassembly of the .plt section if present.\n@@...
Python
Apache License 2.0
vivisect/vivisect
don't crash on openbsd lacking dynamics
718,765
13.08.2020 01:54:40
14,400
3625f5fb7901740cc57d2407ac11176a1b2bcc37
fond why it's failing
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/arm/emulation.py", "new_path": "vivisect/analysis/arm/emulation.py", "diff": "@@ -124,7 +124,7 @@ class AnalysisMonitor(viv_monitor.AnalysisMonitor):\nexcept Exception as e:\nself.logAnomaly(emu, self.fva, \"0x%x: (%r) ERROR: %s\" % (op.va, o...
Python
Apache License 2.0
vivisect/vivisect
fond why it's failing
718,765
14.08.2020 15:49:44
14,400
f734e327123654af624027e81920fc4af19f9e00
version bump and incorporate atlas's walkTree tests
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -9,7 +9,7 @@ setup(\nname='vivisect',\nauthor='Vivisect',\nauthor_email='',\n- version='0.1.0rc2',\n+ version='0.1.0rc3',\nurl='https://github.com/vivisect/vivisect',\npackages=find_packages(),\nzip_safe=False,\n"...
Python
Apache License 2.0
vivisect/vivisect
version bump and incorporate atlas's walkTree tests
718,770
18.08.2020 07:37:28
14,400
1e5436cbee3c13d72a93e737477b2d71f5fe522c
minor bug fixes in ARM disassembly and emulation. helps get rid of some of the unittest error messages (yes, that's why they're there ;)
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -1066,7 +1066,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nreturn result;\n- def i_vcvt(self, op):\n+ def i_vcvt_TODO(self, op):\n'''\nconvert each element in a vector as f...
Python
Apache License 2.0
vivisect/vivisect
minor bug fixes in ARM disassembly and emulation. helps get rid of some of the unittest error messages (yes, that's why they're there ;) (#305)
718,770
20.08.2020 12:50:08
14,400
6024e0a457d7a922ab2b3f77d96788a50d267827
bugfix since msgpack added strict_map_key and we break that thanks for verification and pushing back for best quality.
[ { "change_type": "MODIFY", "old_path": "cobra/__init__.py", "new_path": "cobra/__init__.py", "diff": "@@ -27,6 +27,8 @@ try:\ndumpargs['use_bin_type'] = 1\nif msgpack.version < (1, 0, 0):\nloadargs['encoding'] = 'utf-8'\n+ else:\n+ loadargs['strict_map_key'] = False\nexcept ImportError:\nmsgpack = N...
Python
Apache License 2.0
vivisect/vivisect
bugfix since msgpack added strict_map_key and we break that (#307) thanks @rakuy0 for verification and pushing back for best quality.
718,765
08.09.2020 15:44:58
14,400
f11f4e1e739a40cbbbdd9fb770b1a64ba1a6ffb2
A wild changelog appeared! Add initial changelog.
[ { "change_type": "ADD", "old_path": null, "new_path": "CHANGELOG.rst", "diff": "+******************\n+Vivisect Changelog\n+******************\n+\n+v0.1.0 - 2020-09-08\n+===================\n+Features\n+--------\n+- Symbolik Reduction Speedup.\n+ (`#309 <https://github.com/vivisect/vivisect/pull/309>...
Python
Apache License 2.0
vivisect/vivisect
A wild changelog appeared! (#312) Add initial changelog.
718,770
25.09.2020 07:38:11
14,400
44e12e66b1c6f300230b7be758e9de078983c25e
minor bugfix for handling deleted codeblocks
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/generic/codeblocks.py", "new_path": "vivisect/analysis/generic/codeblocks.py", "diff": "@@ -130,7 +130,8 @@ def analyzeFunction(vw, funcva):\n# So we don't add a codeblock if we're re-analyzing a function\n# (like during dynamic branch analys...
Python
Apache License 2.0
vivisect/vivisect
minor bugfix for handling deleted codeblocks (#317)
718,770
28.09.2020 07:53:43
14,400
3ac90dcbb5724b00bdb7b816062c6ccfb445c386
import emulator to handle dynamic branches (switchcases) using only xrefs * modify import emulator to handle dynamic branches (switchcases) using only xrefs. * bugfix: forgot that getBranches returns REF_CODE/BR_DEREF options which are *not* direct code branches (eg. PLT). added __ctype_b_loc to impapi
[ { "change_type": "MODIFY", "old_path": "vivisect/impapi/posix/i386.py", "new_path": "vivisect/impapi/posix/i386.py", "diff": "@@ -938,5 +938,6 @@ api = {\n'plt_wctomb':( 'int', None, 'cdecl', '*.wctomb', (('void *', 'ptr'), ('int', None)) ),\n'plt_wprintf':( 'int', None, 'cdecl', '*.wprintf', (('int...
Python
Apache License 2.0
vivisect/vivisect
import emulator to handle dynamic branches (switchcases) using only xrefs (#314) * modify import emulator to handle dynamic branches (switchcases) using only xrefs. * bugfix: forgot that getBranches returns REF_CODE/BR_DEREF options which are *not* direct code branches (eg. PLT). added __ctype_b_loc to impapi
718,774
29.09.2020 07:19:01
-7,200
8a28f46f76f60feb236bb8a5786feaad33346aaa
Fix: syntax error discovered by pytocs * Fix: Non-terminated string constant `visgraph/renderers/svgrend.py` is missing a terminating apostrophe on line 41. * Incorrect extra closing parenthesis removed * Possible missing comment character '#'
[ { "change_type": "MODIFY", "old_path": "vdb/testmods/hookbptest.py", "new_path": "vdb/testmods/hookbptest.py", "diff": "@@ -222,4 +222,4 @@ class HookBpTest6(v_testmods.VtracePythonTest):\n# TODO: I don't think these are run....\nif __name__ == '__main__':\nimport sys\n- sys.exit(31) TODO: tests for...
Python
Apache License 2.0
vivisect/vivisect
Fix: syntax error discovered by pytocs (#318) * Fix: Non-terminated string constant `visgraph/renderers/svgrend.py` is missing a terminating apostrophe on line 41. * Incorrect extra closing parenthesis removed * Possible missing comment character '#' Co-authored-by: atlas0fd00m <atlas@r4780y.com>
718,765
13.10.2020 23:20:50
14,400
db708eb31da8dba90e27973be1a7dc59b06dfcee
bad intel. no soup for you.
[ { "change_type": "MODIFY", "old_path": "envi/archs/amd64/opcode64.py", "new_path": "envi/archs/amd64/opcode64.py", "diff": "@@ -402,9 +402,9 @@ tbl32_0F = [\n( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),\n( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),\n( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),\n-( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Python
Apache License 2.0
vivisect/vivisect
bad intel. no soup for you. (#326)
718,765
23.11.2020 15:22:33
18,000
ff7975d98268a39d038cfa7d589c94655abc23aa
Speed up for setSymKid, and a few decoding fixes
[ { "change_type": "MODIFY", "old_path": "envi/archs/amd64/opcode64.py", "new_path": "envi/archs/amd64/opcode64.py", "diff": "@@ -1337,7 +1337,7 @@ tbl32_F30FC7_rest = list( tbl32_0FC7_rest )\ndesc_0FC7_00BF = (tbl32_0FC7_00BF, 3, 3, 0x07, 0, 0xbf, TBL_0FC7_rest)\n-desc_0FC7_rest = (tbl32_0FC7_rest, 3...
Python
Apache License 2.0
vivisect/vivisect
Speed up for setSymKid, and a few decoding fixes (#332)
718,768
10.12.2020 09:51:37
25,200
14947a53c6781175f0aa83d49cc16c524a2e23a3
vivisect: don't configure logging within library code this stomps on the configuration provided by applications
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -51,12 +51,6 @@ import vivisect.analysis.generic.emucode as v_emucode\nlogger = logging.getLogger(__name__)\n-e_common.setLogging(logger, 'WARNING')\n-\n-# FIXME: UGH. Due to our package st...
Python
Apache License 2.0
vivisect/vivisect
vivisect: don't configure logging within library code (#334) this stomps on the configuration provided by applications
718,770
14.01.2021 11:44:52
18,000
15ceb5feb4499be00f91d30bf11bffcc3a8ba5ae
Bugfixes atlas 210113 * bugfix: thumb BX flags and parsing * ihex sha256 bugfix TODO: unit tests for both
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -133,15 +133,24 @@ def rt_pc_imm8d(va, value): # ldr\noper1 = ArmImmOffsetOper(REG_PC, imm, (va & 0xfffffffc))\nreturn COND_AL, (oper0, oper1), None\n+bx_flag_opts = (\n+ en...
Python
Apache License 2.0
vivisect/vivisect
Bugfixes atlas 210113 (#337) * bugfix: thumb BX flags and parsing * ihex sha256 bugfix TODO: unit tests for both
718,765
20.01.2021 16:41:06
18,000
5a6787659fea169bd57ef186239414788bc25d95
choose a different function that is less memory intensive
[ { "change_type": "MODIFY", "old_path": "vivisect/symboliks/tests/test_intel.py", "new_path": "vivisect/symboliks/tests/test_intel.py", "diff": "@@ -147,11 +147,12 @@ class IntelSymTests(unittest.TestCase):\ndef test_symbolik_paths_to(self):\nvw = self.i386_vw\n- fva = 0x8055bb0\n- tova = 0x8055dde\n...
Python
Apache License 2.0
vivisect/vivisect
choose a different function that is less memory intensive (#342)
718,768
29.01.2021 09:28:18
25,200
da1632a04e15c3ddd1a2c459059f6bb6eefcf852
pe: more robust relocation handling in the face of corrupt PE files
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/pe.py", "new_path": "vivisect/parsers/pe.py", "diff": "@@ -343,7 +343,20 @@ def loadPeIntoWorkspace(vw, pe, filename=None, baseaddr=None):\nlogger.info('Skipping PE Relocation type: %d at %d (no handler)', rtype, rva)\ncontinue\n+ try:\nmapoff...
Python
Apache License 2.0
vivisect/vivisect
pe: more robust relocation handling in the face of corrupt PE files (#347)
718,765
01.02.2021 23:11:05
18,000
6b2145268976e4748eabfb9470a4edcc19bf36ff
v0.2.0 release notes Changelog Updates
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.rst", "new_path": "CHANGELOG.rst", "diff": "Vivisect Changelog\n******************\n+\n+v0.2.0 - 2021-02-01\n+===================\n+\n+Features\n+--------\n+- More IMAGE_FILE defs and honoring NXCOMPAT in older PE files\n+ (`#319 <https://github.com/...
Python
Apache License 2.0
vivisect/vivisect
v0.2.0 release notes (#335) Changelog Updates
718,771
07.02.2021 04:55:10
-7,200
43fca2f3150011ae1a130a39430c352e7cd841c2
fixed memory view render bugs.
[ { "change_type": "MODIFY", "old_path": "envi/memcanvas/__init__.py", "new_path": "envi/memcanvas/__init__.py", "diff": "@@ -30,10 +30,11 @@ class MemoryRenderer(object):\ndef rendChars(self, mcanv, bytez):\nfor b in bytez:\n- val = ord(b)\n- bstr = \"%.2x\" % val\n- if val < 0x20 or val > 0x7e:\n+ b...
Python
Apache License 2.0
vivisect/vivisect
fixed memory view render bugs. (#352)
718,770
17.02.2021 15:54:25
18,000
9c41c7345a3a58de102c5b1b9fcd205883475778
bugs in imports in i386, amd64 and thumb. * bugs in imports in i386, amd64 and thumb. setup.py set to require Python 3+ * don't need python version stuff, it's in other PRs already.
[ { "change_type": "MODIFY", "old_path": "envi/archs/amd64/disasm.py", "new_path": "envi/archs/amd64/disasm.py", "diff": "@@ -4,7 +4,7 @@ import envi\nimport envi.bits as e_bits\nimport envi.archs.i386 as e_i386\nimport envi.archs.i386.opconst as e_i386_const\n-import envi.archs.amd64.opcode64 as opco...
Python
Apache License 2.0
vivisect/vivisect
bugs in imports in i386, amd64 and thumb. (#361) * bugs in imports in i386, amd64 and thumb. setup.py set to require Python 3+ * don't need python version stuff, it's in other PRs already.
718,770
18.02.2021 22:16:02
18,000
38a3fc23dbe79cd55335b57aa3587c05f3fb1d72
renderer fix: don't want to print hex for undefined bytes since the hex of the byte is already there. debugging js addon.
[ { "change_type": "MODIFY", "old_path": "vivisect/qt/memory.py", "new_path": "vivisect/qt/memory.py", "diff": "@@ -48,6 +48,7 @@ class VivCanvasBase(vq_hotkey.HotKeyMixin, e_mem_canvas.VQMemoryCanvas):\nself.addHotKey('U', 'viv:undefine')\nself.addHotKey('ctrl+p', 'viv:preview:instr')\nself.addHotKey...
Python
Apache License 2.0
vivisect/vivisect
renderer fix: don't want to print hex for undefined bytes since the hex of the byte is already there. (#364) debugging js addon. Co-authored-by: James Gross <45212823+rakuy0@users.noreply.github.com>
718,765
23.02.2021 17:17:22
18,000
6d31a212ad95c1364d42fb22401fc190eca76625
v1.0.0 release notes Release notes and changelog for v1.0.0 (first python3 compatible release)
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.rst", "new_path": "CHANGELOG.rst", "diff": "@@ -3,6 +3,39 @@ Vivisect Changelog\n******************\n+v1.0.0 - 2021-02-23\n+===================\n+\n+Features\n+--------\n+- Full Python 3 cutover\n+ (`#328 <https://github.com/vivisect/vivisect/pull/32...
Python
Apache License 2.0
vivisect/vivisect
v1.0.0 release notes (#369) Release notes and changelog for v1.0.0 (first python3 compatible release)
718,770
29.03.2021 11:14:50
14,400
0fe14338a73e449de9218de3aa42b7b5b39dff65
Cleanup * cleanup ELF parsing * minor ARM (embedded) bugfix on infinite-loop detection * cobra.cluster made usable after py3 upgrade. converting from str to bytes for network comms, but leaving everything as str's otherwise.
[ { "change_type": "MODIFY", "old_path": "cobra/cluster.py", "new_path": "cobra/cluster.py", "diff": "@@ -9,14 +9,14 @@ import time\nimport struct\nimport socket\nimport logging\n-import urllib2\nimport traceback\nimport threading\nimport subprocess\nimport multiprocessing\n+import urllib.request as u...
Python
Apache License 2.0
vivisect/vivisect
Cleanup (#385) * cleanup ELF parsing * minor ARM (embedded) bugfix on infinite-loop detection * cobra.cluster made usable after py3 upgrade. converting from str to bytes for network comms, but leaving everything as str's otherwise.
718,765
05.04.2021 11:59:12
14,400
bed78fd01526db0e506af909688c4b136f70f257
v1.0.1 prep
[ { "change_type": "MODIFY", "old_path": "CHANGELOG.rst", "new_path": "CHANGELOG.rst", "diff": "Vivisect Changelog\n******************\n+v1.0.1 - 2021-04-05\n+===================\n+\n+Features\n+--------\n+- Dynamic dialog box/Extension docs\n+ (`#376 <https://github.com/vivisect/vivisect/pull/376>`_)...
Python
Apache License 2.0
vivisect/vivisect
v1.0.1 prep (#386)
718,765
06.04.2021 17:17:37
14,400
b7b00f2d03defef28b4b8c912e3a8016e956c5f7
Version Engineering Make verion bumping easier.
[ { "change_type": "ADD", "old_path": null, "new_path": ".bumpversion.cfg", "diff": "+[bumpversion]\n+current_version = 1.0.1\n+commit = True\n+tag = True\n+tag_message =\n+\n+[bumpversion:file:setup.py]\n+search = VERSION = '{current_version}'\n+replace = VERSION = '{new_version}'\n+\n+[bumpversion:f...
Python
Apache License 2.0
vivisect/vivisect
Version Engineering (#388) Make verion bumping easier.