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,765 | 23.04.2019 14:51:02 | 14,400 | 138132769e0d7d235c9b203bc22c3ecf26aaa87b | fix access violation in 64 bit binaries | [
{
"change_type": "MODIFY",
"old_path": "vivbin",
"new_path": "vivbin",
"diff": "@@ -109,7 +109,7 @@ def main():\nstart = time.time()\nvw.analyze()\nend = time.time()\n- print \"ANALYSIS TIME: %s\" % (end-start)\n+ print(\"ANALYSIS TIME: %s\" % (end-start))\nif args.modname is not None:\nmodule = imp... | Python | Apache License 2.0 | vivisect/vivisect | fix access violation in 64 bit binaries |
718,765 | 23.04.2019 15:44:37 | 14,400 | 35d77c6e27b6239d28f8465cd42e4ba1dff64989 | Flake8 til the day I die. Also UI updates (open a file from just vivbin, hotkey shortcuts) | [
{
"change_type": "MODIFY",
"old_path": "vivbin",
"new_path": "vivbin",
"diff": "#!/usr/bin/env python\n-import os\nimport imp\nimport sys\nimport time\n-import inspect\nimport cProfile\nimport argparse\n-import threading\n-import traceback\nimport logging\nlogging.basicConfig(level=logging.DEBUG, fo... | Python | Apache License 2.0 | vivisect/vivisect | Flake8 til the day I die. Also UI updates (open a file from just vivbin, hotkey shortcuts) |
718,765 | 23.04.2019 16:19:52 | 14,400 | 6a5c6829f7bba35ec7344254ec56466019993408 | Tweak UI a bit. I want the open dialog to close before the analysis, but not sure how to do that quite yet | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/main.py",
"new_path": "vivisect/qt/main.py",
"diff": "@@ -329,10 +329,12 @@ class VQVivMainWindow(viv_base.VivEventDist, vq_app.VQMainCmdWindow):\nfname = getOpenFileName(self, 'Open...')\nif fname is None or not len(fname):\nreturn\n- self.vw.load... | Python | Apache License 2.0 | vivisect/vivisect | Tweak UI a bit. I want the open dialog to close before the analysis, but not sure how to do that quite yet |
718,765 | 24.04.2019 10:38:03 | 14,400 | 4336d422eba9d5932647bd8bef1b70bd07b4fa2c | flake8 and some py3 work | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -958,18 +958,15 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nCreate a single opcode location. If you have already parsed the\nopcode object, you may pass it in.\n\... | Python | Apache License 2.0 | vivisect/vivisect | flake8 and some py3 work |
718,765 | 25.04.2019 17:07:25 | 14,400 | 048a72c0cf9dc60371f967c31cf6d863241978b5 | A couple quality of life improvements for working in vivisect UI | [
{
"change_type": "MODIFY",
"old_path": "envi/qt/memcanvas.py",
"new_path": "envi/qt/memcanvas.py",
"diff": "@@ -24,7 +24,7 @@ from vqt.common import *\nclass LoggerPage(QWebPage):\ndef javaScriptConsoleMessage(self, msg, line, source):\n- print '%s line %d: %s' % (source, line, msg)\n+ print('%s lin... | Python | Apache License 2.0 | vivisect/vivisect | A couple quality of life improvements for working in vivisect UI |
718,765 | 25.04.2019 18:04:31 | 14,400 | 67dd27715c9fdbe209c680035790903b525e2278 | Add before merging in master | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -817,21 +817,21 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nplen = self.readMemValue(va - 2, 2) # pascal string length\ndlen = self.readMemValue(va - 4, 4) # delp... | Python | Apache License 2.0 | vivisect/vivisect | Add before merging in master |
718,765 | 26.04.2019 11:17:12 | 14,400 | 9029f5d36d833cae3a141544b3be48874adf1a24 | Add being able to load workspace in loadFromFile. Flake8 and py3 compat | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/i386/disasm.py",
"new_path": "envi/archs/i386/disasm.py",
"diff": "@@ -834,19 +834,19 @@ class i386Disasm:\nobyte = ord(bytez[offset])\n- #print \"OBYTE\",hex(obyte)\n+ # print(\"OBYTE\", hex(obyte))\nif (obyte > tabdesc[4]):\n# print \"Jumping To O... | Python | Apache License 2.0 | vivisect/vivisect | Add being able to load workspace in loadFromFile. Flake8 and py3 compat |
718,765 | 29.04.2019 16:20:09 | 14,400 | 2624ae1b0b21bd7e148be2fc96144401f39ca92a | Decided to cut features off of this branch. It's growing out of control | [
{
"change_type": "MODIFY",
"old_path": ".coveragerc",
"new_path": ".coveragerc",
"diff": "@@ -18,6 +18,7 @@ omit =\n*/vivisect/tests/helpers.py\n*/vivisect/tests/vivbins.py\n*/vivisect/tests/samplecode.py\n+ */vivisect/BP*\n*/vtrace/tests/*\n*/envi/test_*\n*/envi/tests/*\n"
},
{
"change_type... | Python | Apache License 2.0 | vivisect/vivisect | Decided to cut features off of this branch. It's growing out of control |
718,765 | 14.05.2019 16:01:55 | 14,400 | 8c3799425593f8a51975021250fd7e398cb4f987 | Fix py2 compat, and typos in requirements.txt | [
{
"change_type": "MODIFY",
"old_path": "requirements.txt",
"new_path": "requirements.txt",
"diff": "-pyasn1=0.4.5\n-pyans1-modules=0.2.4\n+pyasn1==0.4.5\n+pyasn1-modules==0.2.4\ncxxfilt\nmsgpack\n"
},
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisec... | Python | Apache License 2.0 | vivisect/vivisect | Fix py2 compat, and typos in requirements.txt |
718,765 | 14.05.2019 16:02:59 | 14,400 | 8096d901c6237066e5d6badddbb938d5e6a4749e | Fix decoding issues where we either didn't have the instruction, or when it would decode, it'd improperly consume bytes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/i386/disasm.py",
"new_path": "envi/archs/i386/disasm.py",
"diff": "@@ -635,6 +635,7 @@ class i386Disasm:\nself._dis_amethods[opcode86.ADDRMETH_C>>16] = self.ameth_c\nself._dis_amethods[opcode86.ADDRMETH_D>>16] = self.ameth_d\nself._dis_amethods[opco... | Python | Apache License 2.0 | vivisect/vivisect | Fix decoding issues where we either didn't have the instruction, or when it would decode, it'd improperly consume bytes |
718,765 | 15.05.2019 12:49:25 | 14,400 | 177cef2cfd770e1cb2cf0765d7886abddc350ee0 | Add more opcodes and fix a fix things in the amd64 one. And port the tests over to amd64 to know that we got something working there. Still a few to fix in amd64 though. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/amd64/opcode64.py",
"new_path": "envi/archs/amd64/opcode64.py",
"diff": "@@ -882,7 +882,7 @@ tbl32_F30F[0xae] = (TBL_F30FAE_00BF, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)\ntbl32_F30F[0xc2] = ( 0, INS_CMP, ADDRMETH_V | OPTYPE_ss | OP_W, ADDRMETH_H | OPTYPE_ss |... | Python | Apache License 2.0 | vivisect/vivisect | Add more opcodes and fix a fix things in the amd64 one. And port the tests over to amd64 to know that we got something working there. Still a few to fix in amd64 though. |
718,765 | 17.05.2019 11:44:47 | 14,400 | d7d1a0cccd7f378f6aa459159c6bc53dcd05ddd1 | Cutting off fixes here, since any more amd64 ones will balloon this PR even more | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/amd64/disasm.py",
"new_path": "envi/archs/amd64/disasm.py",
"diff": "@@ -281,7 +281,7 @@ class Amd64Disasm(e_i386.i386Disasm):\nvvvv = ((inv2 >> 3) & 0xf)\npp = imm2 & 3\nm_mmmm = imm1 & 0x1f\n- #print \"imms: %x %x \\tl: %d\\tvvvv: 0x%x\\tpp: %d\\t... | Python | Apache License 2.0 | vivisect/vivisect | Cutting off fixes here, since any more amd64 ones will balloon this PR even more |
718,765 | 17.05.2019 13:11:14 | 14,400 | 359096a7e5ac5748d2bd7cec52642f20cca598fd | Add rdtscp to amd64 instructions | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/amd64/disasm.py",
"new_path": "envi/archs/amd64/disasm.py",
"diff": "@@ -311,7 +311,7 @@ class Amd64Disasm(e_i386.i386Disasm):\n# print(\"OP-OBYTE\", hex(obyte))\nif (obyte > tabdesc[5]):\n- # print(\"Jumping To Overflow Table:\", tabdesc[5])\n+ # p... | Python | Apache License 2.0 | vivisect/vivisect | Add rdtscp to amd64 instructions |
718,765 | 21.05.2019 12:50:01 | 14,400 | cfc431ea7e849920c42d30aa382d0e0e21c1a9d8 | Fix lfence and mfence where they wouldn't consume the last byte. Remove duplicate table and fix entry for overflow | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/i386/opcode86.py",
"new_path": "envi/archs/i386/opcode86.py",
"diff": "@@ -1853,38 +1853,6 @@ tbl32_F30FC7_rest = [\n]\n-\"\"\"\n-(optable, optype, operand 0, operand 1, operand 2, CPU required, \"opcodename\", op0Register, op1Register, op2Register)... | Python | Apache License 2.0 | vivisect/vivisect | Fix lfence and mfence where they wouldn't consume the last byte. Remove duplicate table and fix entry for overflow |
718,765 | 23.05.2019 15:07:37 | 14,400 | c15157003430cc7f703228227eab7d73d7e177c7 | Few more tests. | [
{
"change_type": "MODIFY",
"old_path": "envi/tests/test_arch_amd64.py",
"new_path": "envi/tests/test_arch_amd64.py",
"diff": "@@ -55,6 +55,7 @@ amd64SingleByteOpcodes = [\n('pop', '488ff0', 0x40, 'pop rax', 'pop rax'),\n('pop', '488ffb', 0x40, 'pop rbx', 'pop rbx'),\n]\n+\namd64MultiByteOpcodes = [\... | Python | Apache License 2.0 | vivisect/vivisect | Few more tests. |
718,765 | 04.06.2019 11:31:31 | 14,400 | 5188072b973e1e2aeb572b28f1e4c39e2843652d | First cut at better prefix handling | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/i386/disasm.py",
"new_path": "envi/archs/i386/disasm.py",
"diff": "@@ -36,6 +36,8 @@ PREFIX_FS = 0x2000\nPREFIX_GS = 0x4000\nPREFIX_REG_MASK = 0x8000\n+MANDATORY_PREFIXES = [0xF2, 0xF3, 0x66]\n+\n# envi.registers meta offsets\nRMETA_LOW8 = 0x0008000... | Python | Apache License 2.0 | vivisect/vivisect | First cut at better prefix handling |
718,765 | 06.06.2019 10:05:38 | 14,400 | 4770f2ce8e206b7e73ce69dfa1a2ccc9c5415037 | remove old prove calls. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/analysis.py",
"new_path": "vivisect/symboliks/analysis.py",
"diff": "@@ -519,7 +519,7 @@ class SymbolikAnalysisContext:\nfor coneff in newcons:\n# bail if the constraint is dorked\nif coneff.cons.isDiscrete():\n- if not coneff.cons.prove():\... | Python | Apache License 2.0 | vivisect/vivisect | remove old prove calls. |
718,765 | 10.06.2019 13:36:13 | 14,400 | beb9c013c1291c739f47b170ab0658981ea613e5 | Few more tests and instructions. Looks like f20f table is fixed | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/i386/disasm.py",
"new_path": "envi/archs/i386/disasm.py",
"diff": "@@ -803,11 +803,10 @@ class i386Disasm:\nraise \"OPERSIZE FAIL: %.8x\" % opertype\nif prefixes & PREFIX_OP_SIZE:\n-\nmode = MODE_16\n- #print \"OPERTYPE\",hex(opertype)\n- #print \"S... | Python | Apache License 2.0 | vivisect/vivisect | Few more tests and instructions. Looks like f20f table is fixed |
718,765 | 10.06.2019 14:30:04 | 14,400 | cc61468014d68c4ad009ffcd46b959362e046cbf | Make bulk processing runnable without pyqt | [
{
"change_type": "MODIFY",
"old_path": "vivisect/cli.py",
"new_path": "vivisect/cli.py",
"diff": "@@ -35,7 +35,6 @@ import envi.expression as e_expr\nimport envi.memcanvas as e_canvas\nimport envi.memcanvas.renderers as e_render\n-from vqt.main import vqtevent\nfrom vivisect.const import *\nclass Vi... | Python | Apache License 2.0 | vivisect/vivisect | Make bulk processing runnable without pyqt |
718,765 | 10.06.2019 16:08:47 | 14,400 | 6258c50e404bfeff9f34be6afb5d69130f7b2e39 | more instructions and corresponding tests | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/i386/opcode86.py",
"new_path": "envi/archs/i386/opcode86.py",
"diff": "@@ -929,6 +929,7 @@ tbl32_0F01_00BF = [\n]\ntbl32_0F01_rest = [\n+# 0f01c0\n(0, 0, ARG_NONE, ARG_NONE, ARG_NONE, 0, 0, 0, 0, 0),\n(0, INS_SYSTEM, ARG_NONE, ARG_NONE, ARG_NONE, cp... | Python | Apache License 2.0 | vivisect/vivisect | more instructions and corresponding tests |
718,765 | 17.06.2019 09:29:25 | 14,400 | f44bdd966ad36bf25559ea7e0a82b56440275682 | Fixups to the tables as per my unit tests | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/amd64/opcode64.py",
"new_path": "envi/archs/amd64/opcode64.py",
"diff": "@@ -755,10 +755,10 @@ tbl32_660F[0x7d] = ( 0, INS_MOV, ADDRMETH_V | OPTYPE_pd | OP_W, ADDRMETH_H |\ntbl32_660F[0x7e] = ( 0, INS_MOV, ADDRMETH_E | OPTYPE_y | OP_W, ADDRMETH_V | ... | Python | Apache License 2.0 | vivisect/vivisect | Fixups to the tables as per my unit tests |
718,765 | 18.06.2019 08:55:46 | 14,400 | 5c613ff7a45ef1db529f5848e8439377c066884b | More tests and consistency | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/i386/disasm.py",
"new_path": "envi/archs/i386/disasm.py",
"diff": "@@ -861,11 +861,11 @@ class i386Disasm:\nobyte = pref\noffset = mainbyte\nprefixes = all_prefixes & (~onehot)\n- tabdesc = all_tables[0]\nelse:\noffset = mainbyte\nobyte = ord(bytez[... | Python | Apache License 2.0 | vivisect/vivisect | More tests and consistency |
718,765 | 19.06.2019 11:18:02 | 14,400 | 9e4cb9fd84f2f8ff40216fef418cfa62bb64ab4b | Remove UNKs in i386 | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/archs/i386.py",
"new_path": "vivisect/symboliks/archs/i386.py",
"diff": "@@ -10,6 +10,7 @@ import vivisect.symboliks.translator as vsym_trans\nfrom vivisect.const import *\nfrom vivisect.symboliks.common import *\n+\ndef getSegmentSymbol(op)... | Python | Apache License 2.0 | vivisect/vivisect | Remove UNKs in i386 |
718,765 | 24.06.2019 17:35:03 | 14,400 | e6807514635ea4e37991d9b76111a349652fbde4 | Fix issue with walkTree where we wouldn't hit all of the things in the tree if we had say, two piva_globals that had different _sym_ids | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/archs/i386.py",
"new_path": "vivisect/symboliks/archs/i386.py",
"diff": "@@ -871,7 +871,7 @@ class IntelSymbolikTranslator(vsym_trans.SymbolikTranslator):\nreturn\nelif bit == 1:\ntsize = v1.getWidth()\n- power = o_pow(Const(2, tsize), tsize... | Python | Apache License 2.0 | vivisect/vivisect | Fix issue with walkTree where we wouldn't hit all of the things in the tree if we had say, two piva_globals that had different _sym_ids |
718,770 | 26.06.2019 15:03:16 | 14,400 | 9229eb8840e13a206c4d1558cbfbf101420e425a | mods from suggestions | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -239,7 +239,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\n# other than None, that is the new eip\ntry:\nself.setMeta('forrealz', True)\n- x = None\n+ newpc = None\nskip = Fa... | Python | Apache License 2.0 | vivisect/vivisect | mods from @rakuyo's suggestions |
718,770 | 26.06.2019 17:31:24 | 14,400 | c39de17e001503f4d0c3f1a73312003043d491a2 | rakuyo should be happy with this one: flake8 stuff | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -185,17 +185,17 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nself.setCPSR(flags)\ndef getFlag(self, which): # FIXME: CPSR?\n- #if (flags_reg == None):\n+ #if (flags_reg is No... | Python | Apache License 2.0 | vivisect/vivisect | rakuyo should be happy with this one: flake8 stuff |
718,770 | 26.06.2019 23:08:16 | 14,400 | e09e4d66e3c5394a92fd8d02433f76520642a105 | add a couple more no-return function names. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -117,6 +117,8 @@ def loadElfIntoWorkspace(vw, elf, filename=None, baseaddr=None):\nvw.addNoReturnApi(\"*._exit\")\nvw.addNoReturnApi(\"*.longjmp\")\nvw.addNoReturnApi(\"*._setjmp\")\n... | Python | Apache License 2.0 | vivisect/vivisect | add a couple more no-return function names. |
718,770 | 26.06.2019 23:20:39 | 14,400 | d12bd441f84be4bd54865757fb5c05f6d4a0565b | improved pointer naming. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -492,7 +492,7 @@ def applyRelocs(elf, vw, addbase=False, baseaddr=0):\nif ptr:\nlogger.info('R_ARM_JUMP_SLOT: adding Relocation 0x%x -> 0x%x (%s) ', rlva, ptr, dmglname)\nvw.addReloca... | Python | Apache License 2.0 | vivisect/vivisect | improved pointer naming. |
718,765 | 27.06.2019 14:13:45 | 14,400 | c0bbcfed5770a0a7eec75aae43126943dba75f95 | Fix issue where we don't respect the number of Data Directories in the PE when doing PE parsing | [
{
"change_type": "MODIFY",
"old_path": "PE/__init__.py",
"new_path": "PE/__init__.py",
"diff": "@@ -369,7 +369,6 @@ class PE(object):\nself.pe32p = False\nself.psize = 4\nself.high_bit_mask = 0x80000000\n-\nself.IMAGE_DOS_HEADER = vstruct.getStructure(\"pe.IMAGE_DOS_HEADER\")\ndosbytes = self.readAt... | Python | Apache License 2.0 | vivisect/vivisect | Fix issue where we don't respect the number of Data Directories in the PE when doing PE parsing |
718,770 | 27.06.2019 23:53:38 | 14,400 | d8418cf161989f8f2e8c3578e8e3df71daa8705e | pltelf analysis improvements. now uses an emulator as a cheat. probably could be any emulator. heck, we could pick i386 emulator if we really wanted to avoid problems with future architectures which may not have an emulator. for now, we assume vw.getEmulator() always works for ELF-supporting platforms. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "If a \"function\" is in the plt it's a wrapper for something in the GOT.\nMake that apparent.\n\"\"\"\n-\n+import logging\nimport vivisect\nimport envi\nimport envi.archs... | Python | Apache License 2.0 | vivisect/vivisect | pltelf analysis improvements. now uses an emulator as a cheat. probably could be any emulator. heck, we could pick i386 emulator if we really wanted to avoid problems with future architectures which may not have an emulator. for now, we assume vw.getEmulator() always works for ELF-supporting platforms. |
718,770 | 27.06.2019 23:55:23 | 14,400 | e7a63987d5537192812ac790b80290b696ce8ee9 | use "addEntryPoint()" instead of "makeFunction()" to delay function processing until it's supposed to start later. keeping the "new_functions" array around for now because it allows us to mark why it's a function. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -445,7 +445,7 @@ def loadElfIntoWorkspace(vw, elf, filename=None, baseaddr=None):\n# for now, ignore them.\nfor cmnt, fva in new_functions:\nlogger.info('adding function from ELF meta... | Python | Apache License 2.0 | vivisect/vivisect | use "addEntryPoint()" instead of "makeFunction()" to delay function processing until it's supposed to start later. keeping the "new_functions" array around for now because it allows us to mark why it's a function. |
718,770 | 28.06.2019 10:35:29 | 14,400 | b4423a1e96a9518ec35c3c0357ea1d719117de66 | Elf/__init__.py update for and some flake8 changes to make him extra happy :) | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -21,6 +21,7 @@ Send bug reports to Invisigoth or Metr0.\nimport os\nimport sys\nimport struct\n+import logging\nimport traceback\nimport zlib\n@@ -31,6 +32,9 @@ import vstruct.defs.elf as vs_elf\nver... | Python | Apache License 2.0 | vivisect/vivisect | Elf/__init__.py update for @rakuyo, and some flake8 changes to make him extra happy :) |
718,770 | 28.06.2019 23:42:54 | 14,400 | 1f7e8868dbc2dbf57b7e3c8680b2718a9d0f4c12 | elf dynamics parsing changes, making relocations from more i386 relocs. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -468,16 +468,25 @@ def applyRelocs(elf, vw, addbase=False, baseaddr=0):\nlogger.debug('relocs: 0x%x: %r', rlva, name)\nif arch in ('i386','amd64'):\nif name:\n- if rtype == Elf.R_386_... | Python | Apache License 2.0 | vivisect/vivisect | elf dynamics parsing changes, making relocations from more i386 relocs. |
718,770 | 29.06.2019 12:08:27 | 14,400 | d25f3d2d612f40ff6657704d6c1e8b9497c04e27 | unittests: break up individual ELF files, fix Relocs test, make pltgot test (optional) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/testelf.py",
"new_path": "vivisect/tests/testelf.py",
"diff": "@@ -26,13 +26,15 @@ class ELFTests(unittest.TestCase):\ncls.vw_sh.loadFromFile(cls.sh_fn)\ncls.vw_sh.analyze()\n- def test_files(self):\n+ def test_ls(self):\nprint \"self.ls_fn: %s\... | Python | Apache License 2.0 | vivisect/vivisect | unittests: break up individual ELF files, fix Relocs test, make pltgot test (optional) |
718,770 | 02.07.2019 10:56:35 | 14,400 | 0438d3d30dcc3cd1914e4bf71d3e08c17726bcba | Elf logging update | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -389,6 +389,8 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nelse:\nraise Exception('Platform not supported: %d' % (self.bits))\ndyn.vsParse(dynbytes)\n+ logger.debug(\"dynamic: %r: 0x%x\", dt_names.get(... | Python | Apache License 2.0 | vivisect/vivisect | Elf logging update |
718,770 | 05.07.2019 01:00:57 | 14,400 | 8f24e92d20cdc139a06c9029720ce564866a859b | VIVISECT core change: don't let makePointer() succeed overwriting other locations.
also, add logging to vivisect.__init__ | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -13,6 +13,7 @@ import string\nimport struct\nimport weakref\nimport hashlib\n+import logging\nimport itertools\nimport traceback\nimport threading\n@@ -50,6 +51,9 @@ from vivisect.defconfig... | Python | Apache License 2.0 | vivisect/vivisect | VIVISECT core change: don't let makePointer() succeed overwriting other locations.
also, add logging to vivisect.__init__ |
718,770 | 05.07.2019 01:02:02 | 14,400 | 597922fef082455749485f6a6c59f1911ed77bb7 | logging improvement: elfplt.py | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -67,16 +67,16 @@ def analyzeFunction(vw, funcva):\nopval = oper0.getOperAddr(op, emu)\nloctup = vw.getLocation(opval)\n+ fname = vw.getName(opval)\nif loctup is None:\... | Python | Apache License 2.0 | vivisect/vivisect | logging improvement: elfplt.py |
718,770 | 05.07.2019 09:38:31 | 14,400 | 103d05fdb0448c3fe67df13f0b563918fb7219ed | function array parsing (.init_array and .fini_array) extracted into it's own function. pointer analysis changes. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/generic/pointers.py",
"new_path": "vivisect/analysis/generic/pointers.py",
"diff": "@@ -4,7 +4,10 @@ country looking for pointers to interesting things.\nin a previous life, this analysis code lived inside VivWorkspace.analyze()\n\"\"\"\n-fro... | Python | Apache License 2.0 | vivisect/vivisect | function array parsing (.init_array and .fini_array) extracted into it's own function. pointer analysis changes. |
718,770 | 08.07.2019 15:27:54 | 14,400 | 4e87a4f6a449b6e7e60951feb12618a0304dcf44 | improved "ELF RELOC" types coverage, enhanced unit test robustness. | [
{
"change_type": "MODIFY",
"old_path": "Elf/elf_lookup.py",
"new_path": "Elf/elf_lookup.py",
"diff": "@@ -416,6 +416,20 @@ R_X86_64_DTPOFF32 = 21\nR_X86_64_GOTTPOFF = 22\nR_X86_64_TPOFF32 = 23\nR_X86_64_NUM = 24\n+R_X86_64_GOTOFF64 = 25\n+R_X86_64_GOTPC32 = 26\n+R_X86_64_GOT64 = 27\n+R_X86_64_GOTPCR... | Python | Apache License 2.0 | vivisect/vivisect | improved "ELF RELOC" types coverage, enhanced unit test robustness. |
718,770 | 09.07.2019 11:46:50 | 14,400 | e851b1e0f0e4885b93341aa6d9eeebc97cac03aa | adding analysis module debug logger. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -435,6 +435,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nmod = self.loadModule(modname)\nself.amods[modname] = mod\nself.amodlist.append(modname)\n+ logger.debug... | Python | Apache License 2.0 | vivisect/vivisect | adding analysis module debug logger. |
718,770 | 10.07.2019 14:48:03 | 14,400 | 1f17fdc2cd70e9f2e24461cd9581842fd74b2375 | move naming out of _handleADDEXPORT() and back into addExport(). allow makeuniq for addExport() | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -755,7 +755,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n\"\"\"\nreturn list(self.exports)\n- def addExport(self, va, etype, name, filename):\n+ def addExport(se... | Python | Apache License 2.0 | vivisect/vivisect | move naming out of _handleADDEXPORT() and back into addExport(). allow makeuniq for addExport() |
718,770 | 10.07.2019 17:14:43 | 14,400 | b1f3f817d756823bf90af443095ab83449aa8421 | give a name to "14" Processor-specific and OS-specific symbols | [
{
"change_type": "MODIFY",
"old_path": "Elf/elf_lookup.py",
"new_path": "Elf/elf_lookup.py",
"diff": "@@ -590,8 +590,10 @@ STT_FILE = 4\nSTT_COMMON = 5\nSTT_TLS = 6\nSTT_LOOS = 10\n+STT_MDOS = 11 # there's only one that isn't HI or LO...\nSTT_HIOS = 12\nSTT_LOPROC = 13\n+STT_MDPROC = 14\nSTT_HIPROC ... | Python | Apache License 2.0 | vivisect/vivisect | give a name to "14" Processor-specific and OS-specific symbols |
718,770 | 10.07.2019 17:52:25 | 14,400 | 1767ccd12f9114ca10368ef89c1724adebee64cc | Reloc R_X86_64_IRELATIVE support (amd64 libc is *much* happier now) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -758,6 +758,10 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\ndef addExport(self, va, etype, name, filename, makeuniq=False):\n\"\"\"\nAdd an already created export ... | Python | Apache License 2.0 | vivisect/vivisect | Reloc R_X86_64_IRELATIVE support (amd64 libc is *much* happier now) |
718,770 | 11.07.2019 00:15:39 | 14,400 | a34507b3b7b77f1cfbcc3e495735b72ba3f3c267 | __libc_start_main analysis mod for Elf. a couple options here for discussion and posterity. while the emulator approach for fmod is appealing, the one-shot mod is more practical... perhaps a merging of the two. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/__init__.py",
"new_path": "vivisect/analysis/__init__.py",
"diff": "@@ -77,6 +77,7 @@ def addAnalysisModules(vw):\nvw.addAnalysisModule(\"vivisect.analysis.generic.funcentries\")\nvw.addAnalysisModule(\"vivisect.analysis.generic.relocations\"... | Python | Apache License 2.0 | vivisect/vivisect | __libc_start_main analysis mod for Elf. a couple options here for discussion and posterity. while the emulator approach for fmod is appealing, the one-shot mod is more practical... perhaps a merging of the two. |
718,770 | 11.07.2019 10:48:13 | 14,400 | 6d761092ba70c2419caddbb2c38526b3e8f24dc6 | improved list comparison unit tests | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/testelf.py",
"new_path": "vivisect/tests/testelf.py",
"diff": "@@ -53,17 +53,26 @@ class ELFTests(unittest.TestCase):\ndef imports(self, vw, data):\n# simple comparison to ensure same imports. perhaps too simple.\nnewimps = vw.getImports()\n- se... | Python | Apache License 2.0 | vivisect/vivisect | improved list comparison unit tests |
718,765 | 15.07.2019 11:52:38 | 14,400 | ccf7fa4db5d5a81f7daf912e115a99e3f52cb928 | Fix one place where we have tained args causing infinite loops in emulation | [
{
"change_type": "MODIFY",
"old_path": "vivisect/impemu/emulator.py",
"new_path": "vivisect/impemu/emulator.py",
"diff": "@@ -36,6 +36,7 @@ class WorkspaceEmulator:\nself.hooks = {}\nself.taints = {}\nself.taintva = itertools.count(0x41560000, 8192)\n+ self.taintrepr = {}\nself.uninit_use = {}\nself... | Python | Apache License 2.0 | vivisect/vivisect | Fix one place where we have tained args causing infinite loops in emulation |
718,770 | 15.07.2019 15:29:50 | 14,400 | 11050072e49afa8b48c29ed7e41fef0287a3dd03 | Viv shouldn't crash just because we accidentally ask to repr a non-existent pointer. previously the QT4 "non-crashing" policy saved us... | [
{
"change_type": "MODIFY",
"old_path": "envi/cli.py",
"new_path": "envi/cli.py",
"diff": "@@ -716,11 +716,15 @@ class EnviCli(Cmd):\nif va == 0:\nreturn \"NULL\"\n+ try:\nmbase,msize,mperm,mfile = self.memobj.getMemoryMap(va)\nret = mfile\nsym = self.symobj.getSymByAddr(va, exact=False)\nif sym != N... | Python | Apache License 2.0 | vivisect/vivisect | Viv shouldn't crash just because we accidentally ask to repr a non-existent pointer. previously the QT4 "non-crashing" policy saved us... |
718,770 | 15.07.2019 16:52:17 | 14,400 | 06e736655792202144a61cb3458560902cf1d416 | endianness and other recommendations from | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -232,10 +232,8 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nbytes = fd.read(len(e))\ne.vsParse(bytes)\n- if e.e_data == ELFDATA2MSB:\n- bigend = True\n- else:\n- bigend = False\n+ # if e_data == 1, the... | Python | Apache License 2.0 | vivisect/vivisect | endianness and other recommendations from @rakuyo. |
718,770 | 15.07.2019 22:12:24 | 14,400 | fd420d1288bbc7ca5c93b5be4140bbf4cecd1e34 | bugfix: addbase for makeFunctionTable() | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -80,17 +80,19 @@ def makeRelocTable(vw, va, maxva, addbase, baseaddr):\nvw.setComment(va, tname)\nva += len(s)\n-def makeFunctionTable(elf, vw, tbladdr, size, tblname, funcs, ptrs, ba... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: addbase for makeFunctionTable() |
718,770 | 15.07.2019 22:13:09 | 14,400 | 34df01bbead725bba8cef29a9c81ad9a3b0a4420 | wrap interactive python compiling in try/except clause. | [
{
"change_type": "MODIFY",
"old_path": "vqt/qpython.py",
"new_path": "vqt/qpython.py",
"diff": "@@ -63,9 +63,14 @@ class VQPythonView(QWidget):\ndef _okClicked(self):\npycode = str(self._textWidget.document().toPlainText())\n+ try:\ncobj = compile(pycode, \"vqpython_exec.py\", \"exec\")\nsthr = Scri... | Python | Apache License 2.0 | vivisect/vivisect | wrap interactive python compiling in try/except clause. |
718,770 | 15.07.2019 22:31:32 | 14,400 | 8be6a6b463d86b1630474502b23e20070703ccdc | reworking libc_start_main analysis module to use emulation and calling convention objects. fixed bugs when __entry uses a deref call directly against the IMPORT instead of through the PLT. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/libc_start_main.py",
"new_path": "vivisect/analysis/elf/libc_start_main.py",
"diff": "import sys\n-import envi\nimport logging\n+import envi\nimport vivisect\nimport vivisect.impemu.monitor as viv_imp_monitor\n@@ -22,14 +22,24 @@ def anal... | Python | Apache License 2.0 | vivisect/vivisect | reworking libc_start_main analysis module to use emulation and calling convention objects. fixed bugs when __entry uses a deref call directly against the IMPORT instead of through the PLT. |
718,765 | 16.07.2019 15:23:03 | 14,400 | 6a9ac612c00b0f6f1db553864004291246418c49 | fix issue where we would sometimes jump off the end of a jump table if it's at the end of the segment | [
{
"change_type": "MODIFY",
"old_path": "envi/codeflow.py",
"new_path": "envi/codeflow.py",
"diff": "@@ -156,7 +156,7 @@ class CodeFlowContext(object):\nexcept envi.InvalidInstruction, e:\nprint 'parseOpcode error at 0x%.8x: %s' % (va,e)\ncontinue\n- except Exception, e:\n+ except Exception as e:\npr... | Python | Apache License 2.0 | vivisect/vivisect | fix issue where we would sometimes jump off the end of a jump table if it's at the end of the segment |
718,765 | 16.07.2019 15:24:05 | 14,400 | 04239e4dcf2ba88de37db2b672de9427393a43b4 | small err compat | [
{
"change_type": "MODIFY",
"old_path": "envi/codeflow.py",
"new_path": "envi/codeflow.py",
"diff": "@@ -153,7 +153,7 @@ class CodeFlowContext(object):\ntry:\nop = self._mem.parseOpcode(va, arch=arch)\n- except envi.InvalidInstruction, e:\n+ except envi.InvalidInstruction as e:\nprint 'parseOpcode er... | Python | Apache License 2.0 | vivisect/vivisect | small err compat |
718,765 | 16.07.2019 15:27:05 | 14,400 | bce632a9fa9e009bca96706c770f766c5d4ab34b | remove (hopefully) dead comment | [
{
"change_type": "MODIFY",
"old_path": "vivisect/impemu/emulator.py",
"new_path": "vivisect/impemu/emulator.py",
"diff": "@@ -487,8 +487,6 @@ class WorkspaceEmulator:\ntaint = self.getVivTaint(val)\nif taint:\n- # NOTE we need to prevent infinite recursion due to args being\n- # tainted and then ref... | Python | Apache License 2.0 | vivisect/vivisect | remove (hopefully) dead comment |
718,770 | 26.07.2019 13:38:12 | 14,400 | 303b1b9e6a89093e4232aa5188efc7de63eb4507 | bugfix: one too many strings, leading to one too many symbols, leading to one trailing crazy symbol, leading to breakage in vtrace (thanks unit tests!) | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -985,6 +985,12 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nself.dynstrtabmeta = (rva, size)\nself.dynstrtab = self.readAtRva(rva, size).split('\\0')\n+ # since our string table should certainly end in... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: one too many strings, leading to one too many symbols, leading to one trailing crazy symbol, leading to breakage in vtrace (thanks unit tests!) |
718,770 | 29.07.2019 18:22:15 | 14,400 | 5c8f67f00500b8b00bbc81b028977533233dd290 | dramatic performance improvements, sanity checking. | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -49,13 +49,6 @@ class ElfReloc:\ndef __repr__(self):\nreturn \"reloc: @%s %d %s\" % (hex(self.r_offset), self.getType(), self.getName())\n- def __eq__(self, other):\n- if self.name != other.name:\n- ... | Python | Apache License 2.0 | vivisect/vivisect | dramatic performance improvements, sanity checking. |
718,770 | 29.07.2019 18:26:20 | 14,400 | deaa52e5404c344414fc9d6bd88278d071ec2684 | logging and is/not None cleanup | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -284,21 +284,32 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nself.dynstrtab = []\nself.dynsymtabct = None # populated by _parseDynStrs()\n+ logger.info('self._parsePheaders')\nself._parsePheaders()\n- ... | Python | Apache License 2.0 | vivisect/vivisect | logging and is/not None cleanup |
718,770 | 29.07.2019 19:05:04 | 14,400 | c67df26f586507b0341b852fa94e057e253a4930 | bugfix: dynstrtab analysis for static-linked files. | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -490,7 +490,7 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nstrsz = self.dyns.get(DT_STRSZ)\nif dynstrtab is None or strsz is None:\nlogger.warn('no dynamic string tableinfo found: DT_STRTAB: %r DT_STRS... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: dynstrtab analysis for static-linked files. |
718,770 | 31.07.2019 03:13:48 | 14,400 | 9275863a5c79779ac81a2df43dba37854031bbe6 | updates to unit tests and _parseDynSyms2() | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -299,6 +299,7 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nself._parseDynStrs()\n#logger.info('self._parseDynSyms') # DEPRECATED: autoparsing by Relocs\n#self._parseDynSyms()\n+ self._parseDynSyms2()\n... | Python | Apache License 2.0 | vivisect/vivisect | updates to unit tests and _parseDynSyms2() |
718,770 | 31.07.2019 03:16:17 | 14,400 | 2ae0857c3edfc4c953d2978f03ddb4f769637ac1 | more unit test updates. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/linux_amd64_libstdc_data.py",
"new_path": "vivisect/tests/linux_amd64_libstdc_data.py",
"diff": "@@ -3795,6 +3795,7 @@ libstdc_data = {\n(0x20fc080, 0, u'std::basic_istream<char, std::char_traits<char> >& std::operator>><std::char_traits<char> >... | Python | Apache License 2.0 | vivisect/vivisect | more unit test updates. |
718,770 | 31.07.2019 03:21:15 | 14,400 | 94f9d1f2034c92fca8483f7383310e072f984ac3 | bugfix: pointers | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/generic/pointers.py",
"new_path": "vivisect/analysis/generic/pointers.py",
"diff": "@@ -77,4 +77,4 @@ def analyze(vw):\ntgtname = vw.getName(tgt)\nif tgtname is not None:\nlogger.info(' name(0x%x): %r', tgt, tgtname)\n- vw.makeName('ptr_%s_%.... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: pointers |
718,770 | 31.07.2019 03:35:02 | 14,400 | cb9594b0d6810c4e78d4abc9cc800b0a428603e8 | ARM doesn't currently decode very well... unit tests cannot succeed. reverting. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/testelf.py",
"new_path": "vivisect/tests/testelf.py",
"diff": "@@ -45,9 +45,9 @@ class ELFTests(unittest.TestCase):\ne = Elf.Elf(file(fn))\nvw = viv_cli.VivCli()\nvw.loadFromFile(fn)\n- #vw.analyze()\n- vaeep.analyze(vw)\n- vagp.analyze(vw)\n+ v... | Python | Apache License 2.0 | vivisect/vivisect | ARM doesn't currently decode very well... unit tests cannot succeed. reverting. |
718,770 | 31.07.2019 05:11:35 | 14,400 | f2a7b44adada122e557b710e8037c557422789f3 | manual mods to unit test? not sure why but my local output differs from travis for cxxfilt demangling on ~failure() | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/linux_amd64_libstdc_data.py",
"new_path": "vivisect/tests/linux_amd64_libstdc_data.py",
"diff": "@@ -27,7 +27,8 @@ libstdc_data = {\n(0x2381040, 8, 9, u'*.vtable for std::underflow_error'),\n(0x2381048, 8, 9, u'*.std::bad_function_call::~bad_fun... | Python | Apache License 2.0 | vivisect/vivisect | manual mods to unit test? not sure why but my local output differs from travis for cxxfilt demangling on ~failure() |
718,770 | 31.07.2019 10:41:31 | 14,400 | e6cc9bc8dea6c1fc55497efb67b3e1c96e0e27ec | adjusting for travis? this is awful. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/linux_amd64_libstdc_data.py",
"new_path": "vivisect/tests/linux_amd64_libstdc_data.py",
"diff": "@@ -19980,7 +19980,8 @@ libstdc_data = {\n(0x2382fb8, u'*.std::istream::get(std::basic_streambuf<char, std::char_traits<char> >&, char)_02382fb8'),\... | Python | Apache License 2.0 | vivisect/vivisect | adjusting for travis? this is awful. |
718,770 | 31.07.2019 13:34:21 | 14,400 | 2db28199fea72db12772feac0d1ff636b490859b | found cxxfilt bug:
updating travis.yml to use bionic instead of trusty | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -5,7 +5,7 @@ env:\n- VIVTESTFILES=/tmp/vivtestfiles\nsudo: required\n-dist: trusty\n+dist: bionic\nlanguage: python\n"
},
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/linux_amd64_libstd... | Python | Apache License 2.0 | vivisect/vivisect | found cxxfilt bug: https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00847.html
updating travis.yml to use bionic instead of trusty |
718,770 | 31.07.2019 16:36:53 | 14,400 | 695c46327ebaf454fe934b33331c0cc31eb4c2d2 | improvement: getBranches() instead of indexed operands for the branch | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -65,8 +65,15 @@ def analyzeFunction(vw, funcva):\nemu = vw.getEmulator()\nemu.setRegister(e_i386.REG_EBX, gotplt) # every emulator will have a 4th register, and if it'... | Python | Apache License 2.0 | vivisect/vivisect | improvement: getBranches() instead of indexed operands for the branch |
718,770 | 02.08.2019 15:14:54 | 14,400 | 83d6dda337c010f9bd567c84939ec9ad3408a3b2 | convert individual init/fini/preinit_array parsing to use new makeFunctionTable() and cleanup | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -14,8 +14,6 @@ from cStringIO import StringIO\nlogger = logging.getLogger(__name__)\n-# FIXME: TODO: Reorder, so that Dynamics Data is applied first... with optional ELF Section data ... | Python | Apache License 2.0 | vivisect/vivisect | convert individual init/fini/preinit_array parsing to use new makeFunctionTable() and cleanup |
718,770 | 28.08.2019 00:21:03 | 14,400 | 96d9dbb7cca050070d804724aadd3fb539120e7a | ARM bug which is likely fixed in the atlas_arm_fixes branch | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -1367,7 +1367,7 @@ class ArmOpcode(envi.Opcode):\nif operval & 3:\nflags |= envi.ARCH_THUMB16\nelse:\n- flags |= envi.ARCH_ARM\n+ flags |= envi.ARCH_ARMV7\n# if we don't know that i... | Python | Apache License 2.0 | vivisect/vivisect | ARM bug which is likely fixed in the atlas_arm_fixes branch |
718,770 | 28.08.2019 17:39:23 | 14,400 | 3d695d259cb000c91f07737676dc7bd6a78857bd | cleanups and mods based on feedback from | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -14,16 +14,29 @@ logger = logging.getLogger(__name__)\ndef analyze(vw):\n\"\"\"\nDo simple linear disassembly of the .plt section if present.\n+ Make functions\n\"\"\"... | Python | Apache License 2.0 | vivisect/vivisect | cleanups and mods based on feedback from @rakuyo. |
718,770 | 02.09.2019 10:20:11 | 14,400 | 82281b1edcf6f19d8e96a93f9b14decc727cd516 | savegame before cleanup. attempting to use ELF_DYNAMICS for ELFPLT failed because the PLT entries don't show up as DYNAMICS. other attempts may follow,but for now we'll rely on SECTIONS. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -10,21 +10,71 @@ import envi.archs.i386 as e_i386\nlogger = logging.getLogger(__name__)\n+MAGIC_PLT_SIZE = 16\ndef analyze(vw):\n\"\"\"\nDo simple linear disassembly o... | Python | Apache License 2.0 | vivisect/vivisect | savegame before cleanup. attempting to use ELF_DYNAMICS for ELFPLT failed because the PLT entries don't show up as DYNAMICS. other attempts may follow,but for now we'll rely on SECTIONS. |
718,770 | 02.09.2019 15:40:49 | 14,400 | a2a40ffbb102e4888b334bef1bb2834e31d7dae2 | bugfix, cleanup, and cli's do_plt and do_plt_function | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -17,31 +17,14 @@ def analyze(vw):\nDo simple linear disassembly of the .plt section if present.\nMake functions\n\"\"\"\n- print \"=========== ELF PLT ANALYSIS MODULE ... | Python | Apache License 2.0 | vivisect/vivisect | bugfix, cleanup, and cli's do_plt and do_plt_function |
718,770 | 03.09.2019 14:28:43 | 14,400 | e175cfda1e54586823e6bf0ad78145d175929b83 | add entrypoints analysis module | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "vivisect/analysis/generic/entrypoints.py",
"diff": "+\n+def analyze(vw):\n+ '''\n+ Analysis module which processes entries in VaSet \"EntryPoints\" as Functions\n+ This is a vital analysis module, only made into a module to allow for\n+ control ... | Python | Apache License 2.0 | vivisect/vivisect | add entrypoints analysis module |
718,770 | 04.09.2019 15:05:05 | 14,400 | 8d67aeb299ec2054beafe5d8a4c2f5575c98984d | bugfix in elfplt, modification of PLT entries to include "plt@" as a prefix.
modify unit tests to ignore changes in names starting with "str_" and "plt_str_" | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -22,12 +22,13 @@ def analyze(vw):\ncontinue\nanalyzePLT(vw, sva, ssize)\n-def analyzePLT(vw, sva, ssize):\n+def analyzePLT(vw, ssva, ssize):\n# make code for every opc... | Python | Apache License 2.0 | vivisect/vivisect | bugfix in elfplt, modification of PLT entries to include "plt@" as a prefix.
modify unit tests to ignore changes in names starting with "str_" and "plt_str_" |
718,770 | 04.09.2019 15:33:55 | 14,400 | 1a82adfb417d3acc91d51320178c30d9ac1491a7 | more intermediate tweaks. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/linux_amd64_ls_data.py",
"new_path": "vivisect/tests/linux_amd64_ls_data.py",
"diff": "@@ -616,19 +616,14 @@ ls_data = {\n(0x412d00, 'ptr_str_dereference-comm_00412d00'),\n(0x412d20, 'ptr_str_hide_00412d20'),\n(0x412d40, 'ptr_str_ignore_00412d40... | Python | Apache License 2.0 | vivisect/vivisect | more intermediate tweaks. |
718,770 | 04.09.2019 17:20:13 | 14,400 | c99816ef7471b6bbf504646fbc8469e0943dbeee | making elfplt processing more robust to instruction-decoder bugs. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -70,10 +70,14 @@ def analyzeFunction(vw, funcva):\nlogger.info('analyzing PLT function: 0x%x', funcva)\ncount = 0\nopva = funcva\n+ try:\nop = vw.parseOpcode(opva)\nwh... | Python | Apache License 2.0 | vivisect/vivisect | making elfplt processing more robust to instruction-decoder bugs. |
718,770 | 04.09.2019 18:20:25 | 14,400 | 957a5f01a182b5a12089bb4451f117475d0fcceb | bugfix: testelf | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/testelf.py",
"new_path": "vivisect/tests/testelf.py",
"diff": "@@ -114,11 +114,11 @@ class ELFTests(unittest.TestCase):\noldnames.sort()\nself.assertListEqual(newnames, newnames)\nfor oldname in oldnames:\n- if oldname.startswith('str_') or oldn... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: testelf |
718,770 | 04.09.2019 19:13:09 | 14,400 | d11dad9b166e9c58f48f236a21aa10119eb796f0 | mighty big li'l bugfix in testelf. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/testelf.py",
"new_path": "vivisect/tests/testelf.py",
"diff": "@@ -108,7 +108,7 @@ class ELFTests(unittest.TestCase):\ndef names(self, vw, data, fname):\n# simple comparison to ensure same workspace names. perhaps too simple.\n- newnames = vw.ge... | Python | Apache License 2.0 | vivisect/vivisect | mighty big li'l bugfix in testelf. |
718,770 | 04.09.2019 19:20:34 | 14,400 | db0184629383a171d05aef4623bbc7e427eb2df0 | unittest tweak | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tests/testelf.py",
"new_path": "vivisect/tests/testelf.py",
"diff": "@@ -21,7 +21,8 @@ from vivisect.tests import linux_arm_sh_data\nfrom vivisect.tests import qnx_arm_ksh_data\nfrom vivisect.tests import openbsd_amd64_ls_data\n-data = ((\"linux_amd64... | Python | Apache License 2.0 | vivisect/vivisect | unittest tweak |
718,770 | 16.09.2019 23:37:20 | 14,400 | b8315b4c6944b72b0968550ee6e853c9168fcf2a | name "plt_name" with no address. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -1336,7 +1336,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nret = []\nreturn ret\n- def makeFunctionThunk(self, fva, thname):\n+ def makeFunctionThunk(self, fva, ... | Python | Apache License 2.0 | vivisect/vivisect | name "plt_name" with no address. |
718,770 | 16.09.2019 23:43:03 | 14,400 | 9b858c745f4e1b08a65bf03f547bed6f1e288bfe | bugfix: libc_start_main with stopEmu() | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/libc_start_main.py",
"new_path": "vivisect/analysis/elf/libc_start_main.py",
"diff": "@@ -82,4 +82,4 @@ class AnalysisMonitor(viv_imp_monitor.AnalysisMonitor):\nif tgt == self.startmain:\nself.success = True\nself.emu = emu\n- emu.stop()\... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: libc_start_main with stopEmu() |
718,770 | 18.09.2019 09:46:45 | 14,400 | fbe0c53c69c24246c8eaeca9eb8b93051974f575 | bugfix: libc_start_main | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/libc_start_main.py",
"new_path": "vivisect/analysis/elf/libc_start_main.py",
"diff": "@@ -51,8 +51,14 @@ def analyze(vw):\nlcsm = '__libc_start_main_%.8x' % va\nif name in (lcsm, \"*.\"+lcsm):\nfor xfr, xto, xtype, xtinfo in vw.getXrefsTo... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: libc_start_main |
718,770 | 18.09.2019 09:48:39 | 14,400 | 9b8ac1e1755c5f971391a30427d3b4f58da470ad | not sure why this wasn't complaining for me. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/libc_start_main.py",
"new_path": "vivisect/analysis/elf/libc_start_main.py",
"diff": "@@ -51,7 +51,7 @@ def analyze(vw):\nlcsm = '__libc_start_main_%.8x' % va\nif name in (lcsm, \"*.\"+lcsm):\nfor xfr, xto, xtype, xtinfo in vw.getXrefsTo(... | Python | Apache License 2.0 | vivisect/vivisect | not sure why this wasn't complaining for me. |
718,770 | 18.09.2019 13:52:24 | 14,400 | 20d02034dc58d34f9c3b245a78bba044619793e8 | convert print -> logger.warn | [
{
"change_type": "MODIFY",
"old_path": "vivisect/impemu/emulator.py",
"new_path": "vivisect/impemu/emulator.py",
"diff": "@@ -328,7 +328,7 @@ class WorkspaceEmulator:\ntry:\nself.emumon.prehook(self, op, starteip)\nexcept Exception, e:\n- print(\"funcva: 0x%x opva: 0x%x: %r %r (in emumon prehook)\" ... | Python | Apache License 2.0 | vivisect/vivisect | convert print -> logger.warn |
718,765 | 19.09.2019 10:19:55 | 14,400 | ec21fbc406e0e3528eeed6ea2cc8f7cea8ea6f9b | Deal with String tables next to jump tables (where the string pointer tables were getting recognized as other portions of the jump table) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -959,6 +959,8 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nptrbase = startva\nrdest = self.castPointer(ptrbase)\nwhile self.isValidPointer(rdest):\n+ if self.analy... | Python | Apache License 2.0 | vivisect/vivisect | Deal with String tables next to jump tables (where the string pointer tables were getting recognized as other portions of the jump table) |
718,770 | 20.09.2019 17:48:58 | 14,400 | 8057f54fb9aa9b9aa7823976040e142d6c078a52 | work on VCVT emu | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -820,7 +820,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nif len(op.opers) == 3:\nfor reg in range(regcnt):\n#frac_bits = 64 - op.opers[2].val\n-\n+ # pA8_870\nif op.simdfla... | Python | Apache License 2.0 | vivisect/vivisect | work on VCVT emu |
718,765 | 26.09.2019 12:04:07 | 14,400 | 44d5c92c12e1681bc71ae6a200dc25b15c982a9d | rework fix a bit, add no return api for abort | [
{
"change_type": "MODIFY",
"old_path": "envi/codeflow.py",
"new_path": "envi/codeflow.py",
"diff": "@@ -178,24 +178,18 @@ class CodeFlowContext(object):\ntry:\n# Handle a table branch by adding more branches...\nptrfmt = ('<P', '>P')[self._mem.getEndian()]\n+ # most if not all of the work to constru... | Python | Apache License 2.0 | vivisect/vivisect | rework fix a bit, add no return api for abort |
718,765 | 26.09.2019 12:26:54 | 14,400 | 83df1008aedf27daea1626ae1fcaa5a19f0ef562 | forgot a bit | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -964,7 +964,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nyield rdest\nptrbase += self.psize\n- if len(self.getXrefsTo(ptrbase)):\n+ if len(self.getXrefsTo(ptrbas... | Python | Apache License 2.0 | vivisect/vivisect | forgot a bit |
718,770 | 28.09.2019 18:11:30 | 14,400 | cd131951309b4c1d58fe993bb41338fd2b32ce22 | add getFormat() to envi.bits for consistency and ease-of-use. | [
{
"change_type": "MODIFY",
"old_path": "envi/bits.py",
"new_path": "envi/bits.py",
"diff": "@@ -150,9 +150,16 @@ master_fmts = (fmt_chars, fmt_schars)\nfmt_sizes = (None,1,2,4,4,8,8,8,8)\n+def getFormat(size, big_endian=False, signed=False):\n+ '''\n+ Returns the proper struct format for numbers up ... | Python | Apache License 2.0 | vivisect/vivisect | add getFormat() to envi.bits for consistency and ease-of-use. |
718,765 | 30.09.2019 11:38:14 | 14,400 | a7ae2cfab51a55dc8da18dd3a060974f72510a31 | fixups as per atlas | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -955,21 +955,28 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nreturn self.imem_archs[(arch & envi.ARCH_MASK) >> 16].archParseOpcode(b, off, va)\n- def iterJumpTable... | Python | Apache License 2.0 | vivisect/vivisect | fixups as per atlas |
718,765 | 30.09.2019 16:48:20 | 14,400 | 79bbefe9f9b15a31a379e46dd0cd48ea17dcf1fe | comment and condition change | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -961,8 +961,9 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\niters = 0\nptrbase = startva\nrdest = self.castPointer(ptrbase)\n+ STOP_LOCS = (LOC_STRING, LOC_UNI, LOC... | Python | Apache License 2.0 | vivisect/vivisect | comment and condition change |
718,765 | 01.10.2019 15:35:19 | 14,400 | f2c889114c61752a43a583630c2fa5dcfb1280cf | more cleanup per atlas | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -50,9 +50,13 @@ from vivisect.defconfig import *\nimport vivisect.analysis.generic.emucode as v_emucode\n+STOP_LOCS = (LOC_STRING, LOC_UNI, LOC_STRUCT, LOC_CLSID, LOC_VFTABLE, LOC_IMPORT, L... | Python | Apache License 2.0 | vivisect/vivisect | more cleanup per atlas |
718,765 | 14.10.2019 22:49:31 | 14,400 | e85b712eb674b0138d0918754a5b00443c2c032c | fix issue with idempotence of detectString *only* (our unicode detection is a another beast entirely). Also fix issue in UI where we had the same string showing up multiple times | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -834,6 +834,8 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nloc = self.getLocation(va+count)\nif loc is not None:\nif loc[L_LTYPE] == LOC_STRING:\n+ if loc[L_VA] ==... | Python | Apache License 2.0 | vivisect/vivisect | fix issue with idempotence of detectString *only* (our unicode detection is a another beast entirely). Also fix issue in UI where we had the same string showing up multiple times |
718,770 | 22.10.2019 17:17:38 | 14,400 | 5d86a07b60a428776c91004940c10e64f5389cbb | bugfixes with automated 64-bit ELF structure parsing | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -60,8 +60,9 @@ def makeSymbolTable(vw, va, maxva):\ndef makeDynamicTable(vw, va, maxva):\nret = []\n+ sname = 'elf.Elf%dDynamic' % (vw.getPointerSize() * 8)\nwhile va < maxva:\n- s = ... | Python | Apache License 2.0 | vivisect/vivisect | bugfixes with automated 64-bit ELF structure parsing |
718,770 | 22.10.2019 23:08:04 | 14,400 | 022cf4f109b3342803ebbd90b230958b9ed25d94 | uncommenting safety checks for PLT analysis module. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/elf/elfplt.py",
"new_path": "vivisect/analysis/elf/elfplt.py",
"diff": "@@ -59,13 +59,13 @@ def analyzeFunction(vw, funcva):\nseg = vw.getSegment(funcva)\nif seg is None:\nlogger.info('not analyzing 0x%x: no segment found', funcva)\n- #return... | Python | Apache License 2.0 | vivisect/vivisect | uncommenting safety checks for PLT analysis module. |
718,770 | 22.10.2019 23:10:49 | 14,400 | 71af322efa5aff7140b4fb265b0f61a5dc5d5db9 | less crazy comments for DYNAMICs and DYNSYMs | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -370,7 +370,7 @@ def loadElfIntoWorkspace(vw, elf, filename=None, baseaddr=None):\nname = name.split('.')[0].lower()\nvw.addLibraryDependancy(name)\nelse:\n- logger.debug(\"DYNAMIC DY... | Python | Apache License 2.0 | vivisect/vivisect | less crazy comments for DYNAMICs and DYNSYMs |
718,770 | 22.10.2019 23:31:54 | 14,400 | 4c1329d26acacb7839f8c4508c94d8d9b75a5aab | removing comment which is misleading. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/elf.py",
"new_path": "vivisect/parsers/elf.py",
"diff": "@@ -598,8 +598,6 @@ def applyRelocs(elf, vw, addbase=False, baseaddr=0):\nvw.addRelocation(rlva, vivisect.RTYPE_BASEPTR, ptr)\n# next get the target and find a name, since the reloc itse... | Python | Apache License 2.0 | vivisect/vivisect | removing comment which is misleading. |
718,770 | 25.10.2019 20:45:40 | 14,400 | d1a3cbfcd49384bcc6bee723dc8278bc3cbe9364 | reduce duplicate name-manipulation code. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/__init__.py",
"new_path": "vivisect/__init__.py",
"diff": "@@ -2624,6 +2624,56 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n\"\"\"\nreturn self.colormaps.get(mapname)\n+ def _getNameParts(self, name, va):\n+ '''\n+ Return the... | Python | Apache License 2.0 | vivisect/vivisect | reduce duplicate name-manipulation code. |
718,770 | 26.10.2019 10:23:49 | 14,400 | bce6db06c387650b709c4d72d13600944bf3a00d | deprecated dynamics. | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -279,7 +279,7 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nself.relocvas = []\nself.symbols_by_name = {}\nself.symbols_by_addr = {}\n- self.dynamics = []\n+ self.dynamics = [] # deprecated - 2019-10-21... | Python | Apache License 2.0 | vivisect/vivisect | deprecated dynamics. |
718,770 | 01.12.2019 01:18:34 | 18,000 | bd41b36951f0a772d9a653df6dd0616bcfa63493 | movsxd was using the source operand for the end-size, not the dest operand. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/archs/amd64.py",
"new_path": "vivisect/symboliks/archs/amd64.py",
"diff": "@@ -105,7 +105,7 @@ class Amd64SymbolikTranslator(vsym_i386.IntelSymbolikTranslator):\ndef i_movsxd(self, op):\ndsize = op.opers[0].tsize\nssize = op.opers[1].tsize\n... | Python | Apache License 2.0 | vivisect/vivisect | movsxd was using the source operand for the end-size, not the dest operand. |
718,770 | 04.12.2019 09:44:21 | 18,000 | 05fca5f6430a317c8eddc005bc8a185c5914feaa | bugfix: getDynSymbol() called when unnecessary (and sometimes don't exist)
minor cleanup | [
{
"change_type": "MODIFY",
"old_path": "Elf/__init__.py",
"new_path": "Elf/__init__.py",
"diff": "@@ -1022,7 +1022,6 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nsymidx indexed symbol.\n'''\nsymtabrva, symsz, symtabsz = self.getDynSymTabInfo()\n- strtabva = self.dyns.get(DT_STRTAB)\nsymrva = symtabrva... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: getDynSymbol() called when unnecessary (and sometimes don't exist)
minor cleanup |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.