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,767
19.04.2021 21:07:00
-10,800
c090fc40ea60aa5ade7d83f17cf5d9cbece662fb
FIX Issue added check to prevent divide by zero error in "printDiscoveredStats".
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -815,7 +815,8 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nnumPointers,\nnumVtables) = self.getDiscoveredInfo()\n- self.vprint(\"Percentage of discovered executabl...
Python
Apache License 2.0
vivisect/vivisect
FIX Issue #391, added check to prevent divide by zero error in "printDiscoveredStats". (#392)
718,765
03.05.2021 16:57:53
14,400
58e87801a405e8d4f56f2a435ff30386572b4dff
Prepare for v1.0.2 release
[ { "change_type": "MODIFY", "old_path": ".bumpversion.cfg", "new_path": ".bumpversion.cfg", "diff": "[bumpversion]\n-current_version = 1.0.1\n+current_version = 1.0.2\ncommit = True\ntag = True\ntag_message =\n" }, { "change_type": "MODIFY", "old_path": "CHANGELOG.rst", "new_path": "C...
Python
Apache License 2.0
vivisect/vivisect
Prepare for v1.0.2 release (#398)
718,768
06.05.2021 09:54:12
21,600
1cd994946a3ca7d43ed7e1cb1146a27c2f499181
ci: check style via black and isort see
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/style.yml", "diff": "+name: style\n+\n+on:\n+ push:\n+ branches: [ master ]\n+ pull_request:\n+ branches: [ master ]\n+\n+jobs:\n+ code_style:\n+ runs-on: ubuntu-latest\n+ steps:\n+ - name: Checkout viv\n+ uses: actions/checkou...
Python
Apache License 2.0
vivisect/vivisect
ci: check style via black and isort (#356) see #294 Co-authored-by: James Gross <45212823+rakuy0@users.noreply.github.com>
718,765
31.07.2021 00:09:44
14,400
6de41d2f238ec4531ae0f85b57ea9d11ac8d5f9e
Fix vstruct number issue Squash a few bugs in vstruct related to negative numbers and unformatted values.
[ { "change_type": "MODIFY", "old_path": "vivisect/tests/teststruct.py", "new_path": "vivisect/tests/teststruct.py", "diff": "@@ -28,4 +28,7 @@ class StructTest(unittest.TestCase):\nself.assertEqual(vs.foo, 0x03020100)\nself.assertEqual(vs.bar, 0x07060504)\nself.assertEqual(vs.baz, 0x0b0a0908)\n- self...
Python
Apache License 2.0
vivisect/vivisect
Fix vstruct number issue (#412) Squash a few bugs in vstruct related to negative numbers and unformatted values.
718,768
10.08.2021 12:18:23
21,600
2179f686d3fcc4995c3ca503f075f890f3eeec2a
pe: better handle invalid export filename if cannot be parsed, return None as documented. decode as ASCII, as documented by Microsoft. closes
[ { "change_type": "MODIFY", "old_path": "PE/__init__.py", "new_path": "PE/__init__.py", "diff": "@@ -454,7 +454,13 @@ class PE(object):\n'''\nif self.IMAGE_EXPORT_DIRECTORY is not None:\nrawname = self.readAtRva(self.IMAGE_EXPORT_DIRECTORY.Name, 32)\n- return rawname.split(b'\\x00')[0].decode('utf-8'...
Python
Apache License 2.0
vivisect/vivisect
pe: better handle invalid export filename (#426) if cannot be parsed, return None as documented. decode as ASCII, as documented by Microsoft. closes #425
718,765
10.08.2021 14:40:57
14,400
6453b76b9946239ef7603294d6eac2ac3f151837
Change amd64 symboliks callconv class declaration Reorder Amd64 symboliks callconv declaration to avoid exceptions
[ { "change_type": "MODIFY", "old_path": "vivisect/symboliks/archs/amd64.py", "new_path": "vivisect/symboliks/archs/amd64.py", "diff": "@@ -212,10 +212,10 @@ class Amd64SymbolikTranslator(vsym_i386.IntelSymbolikTranslator):\nclass Amd64ArgDefSymEmu(vsym_i386.ArgDefSymEmu):\n__xlator__ = Amd64SymbolikT...
Python
Apache License 2.0
vivisect/vivisect
Change amd64 symboliks callconv class declaration (#413) Reorder Amd64 symboliks callconv declaration to avoid exceptions
718,770
12.08.2021 06:48:51
14,400
ad6fbba99a6e82ddefbbf8137e7e4e450fe5fc11
impapi windows/arm and winkern/arm
[ { "change_type": "ADD", "old_path": null, "new_path": "vivisect/impapi/windows/arm.py", "diff": "+import vivisect.impapi.windows.i386 as v_w_i386\n+apitypes = dict(v_w_i386.apitypes)\n+\n+api = {\n+}\n+\n+i386_omits = set([\n+ 'ntdll.seh3_prolog',\n+ 'ntdll.seh4_prolog',\n+ 'ntdll.seh4_gs_prolog',\n...
Python
Apache License 2.0
vivisect/vivisect
impapi windows/arm and winkern/arm (#431)
718,768
20.08.2021 17:33:48
21,600
0c1ddbdc7e35183b7f15dfb17592a8e3464c22d2
pe: better handle invalid import name closes
[ { "change_type": "MODIFY", "old_path": "PE/__init__.py", "new_path": "PE/__init__.py", "diff": "@@ -903,8 +903,13 @@ class PE(object):\nidx+=1\ncontinue\n+ try:\nfuncname = ibn.Name\n+ except UnicodeDecodeError:\n+ funcname = None\n+ logger.warning(\"pe: failed to read import name at RVA 0x%x\", ibn...
Python
Apache License 2.0
vivisect/vivisect
pe: better handle invalid import name (#441) closes #440
718,765
22.08.2021 04:03:13
14,400
08b3c5212bbec1ca220798b0233dd7bbf0735e51
V104 release prep Prep for releasing v1.0.4
[ { "change_type": "MODIFY", "old_path": ".bumpversion.cfg", "new_path": ".bumpversion.cfg", "diff": "[bumpversion]\n-current_version = 1.0.3\n+current_version = 1.0.4\n[bumpversion:file:setup.py]\nsearch = VERSION = '{current_version}'\n" }, { "change_type": "MODIFY", "old_path": "CHANGEL...
Python
Apache License 2.0
vivisect/vivisect
V104 release prep (#442) Prep for releasing v1.0.4
718,768
25.08.2021 10:17:50
21,600
fea0883f8368c339eec1050aaa8e7d2108164b98
envi: memory: return None on truncated ptr read closes
[ { "change_type": "MODIFY", "old_path": "envi/memory.py", "new_path": "envi/memory.py", "diff": "import re\nimport struct\n+import logging\nimport envi\nimport envi.exc as e_exc\n@@ -11,6 +12,10 @@ A module containing memory utilities and the definition of the\nmemory access API used by all vtoys tra...
Python
Apache License 2.0
vivisect/vivisect
envi: memory: return None on truncated ptr read (#444) closes #443
718,776
01.09.2021 05:59:53
-7,200
27ea43a1ea34dfeb866d755608a2e4f1e876bbba
only do rep on string instructions * only do rep on string instructions closes * use REP opcodes tuple
[ { "change_type": "MODIFY", "old_path": "envi/archs/i386/emu.py", "new_path": "envi/archs/i386/emu.py", "diff": "@@ -9,7 +9,7 @@ from envi.const import *\nimport envi.exc as e_exc\nimport envi.bits as e_bits\n-from envi.archs.i386.opconst import PREFIX_REX_W\n+from envi.archs.i386.opconst import PREF...
Python
Apache License 2.0
vivisect/vivisect
only do rep on string instructions (#447) * only do rep on string instructions closes #446 * use REP opcodes tuple Co-authored-by: atlas0fd00m <atlas@r4780y.com>
718,768
14.09.2021 17:46:06
21,600
bfa65d4be4aac24092434910407ba280cd5e1900
elf: use integer division for struct array count closes
[ { "change_type": "MODIFY", "old_path": "Elf/__init__.py", "new_path": "Elf/__init__.py", "diff": "@@ -422,7 +422,7 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\n# only parse the symbols that are not already accounted for.\n# symbols are ordered, so existence of index Y is always the same\nsym = self._c...
Python
Apache License 2.0
vivisect/vivisect
elf: use integer division for struct array count (#455) closes #452
718,770
14.09.2021 23:08:32
14,400
0108e9a4331fdf877c60877a7a6c16d37b9e9c40
Bugfix: Elf align to page Bugfix: Align Elf/PE files to page.
[ { "change_type": "MODIFY", "old_path": "envi/bits.py", "new_path": "envi/bits.py", "diff": "@@ -353,3 +353,14 @@ def masktest(s):\ndef domask(testval):\nreturn testval & maskin == matchval\nreturn domask\n+\n+def align(origsize, alignment):\n+ '''\n+ Returns an aligned size based on alignment argume...
Python
Apache License 2.0
vivisect/vivisect
Bugfix: Elf align to page (#451) Bugfix: Align Elf/PE files to page.
718,768
15.09.2021 10:32:41
21,600
08e7a937d2729fb433286e97dd7dbc778cbf1f4e
elfplt_late: log to appropriate logger, not root closes
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt_late.py", "new_path": "vivisect/analysis/elf/elfplt_late.py", "diff": "@@ -106,14 +106,14 @@ def analyzePLT(vw, pltva, pltsz):\nfillPLTviaGOTXrefs(vw, jmpheur, pltva, pltsz)\nelse:\n- logging.info(\"analyzePLT(0x%x, 0x%x) skipping ...
Python
Apache License 2.0
vivisect/vivisect
elfplt_late: log to appropriate logger, not root (#458) closes #457
718,765
17.09.2021 11:51:31
14,400
d5b895eeeb19a0304d965cbf4fc86a5f3a5183c5
AddRelocation Robustness Add some safety to relocs in elf parsing.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -389,11 +389,16 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nExpects data to have whatever is necessary for the reloc type. eg. addend\n\"\"\"\n# split \"current\"...
Python
Apache License 2.0
vivisect/vivisect
AddRelocation Robustness (#456) Add some safety to relocs in elf parsing.
718,770
17.09.2021 22:45:35
14,400
5c3f69977f433c5613ceaec57763644dd919ac27
allow duplicate init_function and fini_function entries that differ between section and dynamics analysis
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -352,15 +352,19 @@ def loadElfIntoWorkspace(vw, elf, filename=None, baseaddr=None):\nvw.makeString(sva)\nelif sname == \".init\":\n- vw.makeName(sva, \"init_function\", filelocal=True...
Python
Apache License 2.0
vivisect/vivisect
allow duplicate init_function and fini_function entries that differ between section and dynamics analysis (#459)
718,770
20.09.2021 22:02:06
14,400
93a0644e1dd9c5167547b7370fe2f68cec08bab2
Vtrace Symbol Test Add Vtrace Symbol Test
[ { "change_type": "ADD", "old_path": null, "new_path": "vtrace/tests/test_symcache.py", "diff": "+import os\n+import unittest\n+import vtrace.tests as vt_tests\n+\n+\n+class VtraceSymbolTest(vt_tests.VtraceProcessTest):\n+\n+ def test_symbol(self):\n+ symlist = self.trace.getSymList()\n+ # currently ...
Python
Apache License 2.0
vivisect/vivisect
Vtrace Symbol Test (#460) Add Vtrace Symbol Test
718,765
22.09.2021 12:53:11
14,400
885076381379ca62a7c4ac6519ddbc79323c661b
V1.0.5 Release Prep v1.0.5 Release Prep
[ { "change_type": "MODIFY", "old_path": ".bumpversion.cfg", "new_path": ".bumpversion.cfg", "diff": "[bumpversion]\n-current_version = 1.0.4\n+current_version = 1.0.5\n[bumpversion:file:setup.py]\nsearch = VERSION = '{current_version}'\n" }, { "change_type": "MODIFY", "old_path": "CHANGEL...
Python
Apache License 2.0
vivisect/vivisect
V1.0.5 Release Prep (#449) v1.0.5 Release Prep
718,765
23.09.2021 23:56:54
14,400
91f3952994815e2fa2da04482b70dd882a1eb451
add changelog to docs thanks
[ { "change_type": "MODIFY", "old_path": "docs/index.rst", "new_path": "docs/index.rst", "diff": "@@ -18,6 +18,7 @@ Welcome to vivisect's documentation!\nvivisect/extensions\nvivisect/scripting\nvivisect/remote\n+ vivisect/changelog\nIndices and tables\n" }, { "change_type": "ADD", "old_pa...
Python
Apache License 2.0
vivisect/vivisect
add changelog to docs (#462) thanks @rakuy0
718,765
24.09.2021 00:27:23
14,400
0274ff1dee066ccb9c9f5072fb7ac7b98655f854
add test for workspace failure
[ { "change_type": "MODIFY", "old_path": "vivisect/tests/teststorage.py", "new_path": "vivisect/tests/teststorage.py", "diff": "@@ -114,3 +114,13 @@ class StorageTests(unittest.TestCase):\nbasicfile.close()\nos.unlink(mpfile.name)\nos.unlink(basicfile.name)\n+\n+ def test_bad_event(self):\n+ vw = vivi...
Python
Apache License 2.0
vivisect/vivisect
add test for workspace failure (#463)
718,765
19.10.2021 19:33:29
14,400
a116ffeb695654da5a0949ad6f0c5ba78bea5d18
fix some qt issues in vdb
[ { "change_type": "MODIFY", "old_path": "envi/qt/memorymap.py", "new_path": "envi/qt/memorymap.py", "diff": "@@ -10,6 +10,7 @@ import envi.cli as e_cli\nfrom vqt.common import ACT\nimport vqt.tree as vq_tree\n+# TODO: Why is this here and not jut mixed in w/ vtrace since they're the only consumers?\n...
Python
Apache License 2.0
vivisect/vivisect
fix some qt issues in vdb (#466)
718,770
11.11.2021 17:26:29
18,000
3dfa3d2ceab45d9e656ee87699b856ca88c62235
minor bugfix from Vdb/Viv/Emu bridge pr
[ { "change_type": "MODIFY", "old_path": "vivisect/impemu/platarch/arm.py", "new_path": "vivisect/impemu/platarch/arm.py", "diff": "@@ -27,12 +27,7 @@ class ArmWorkspaceEmulator(v_i_emulator.WorkspaceEmulator, e_arm.ArmEmulator):\nva = kwargs.get('va')\nif va:\n- loc = vw.getLocation(va)\n- if loc:\n-...
Python
Apache License 2.0
vivisect/vivisect
minor bugfix from Vdb/Viv/Emu bridge pr
718,770
11.11.2021 17:26:50
18,000
06a4484c4f5379c307b930097308dfa69db35c48
adding a new posix noret
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -166,6 +166,7 @@ def loadElfIntoWorkspace(vw, elf, filename=None, baseaddr=None):\nvw.addNoReturnApi(\"*.__assert_fail\")\nvw.addNoReturnApi(\"*.__stack_chk_fail\")\nvw.addNoReturnApi...
Python
Apache License 2.0
vivisect/vivisect
adding a new posix noret
718,770
11.11.2021 17:27:31
18,000
10fbbd62ea3c4c62d078df641d2cc014702524e3
minor exception handling
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -299,7 +299,6 @@ def analyzePLT(vw, ssva, ssize):\nlogger.error('analyzePLT(0x%x, %r): %s', ssva, ssize, str(e))\n-\nMAX_OPS = 10\ndef analyzeFunction(vw, funcva):\n@@...
Python
Apache License 2.0
vivisect/vivisect
minor exception handling
718,770
11.11.2021 18:14:23
18,000
104e8c5c0c9b5daacb6bb09b4eb43746aba2bd78
bugfix: make elfplt analysis use makeFunctionThunk() in a way that actually catches norets using the fmcb_Thunk() analysis hook. bugfix: redo how pointers are incremented
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -944,7 +944,8 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nloctup = self.getLocation(va)\nif loctup is not None:\n- offset += loctup[L_SIZE]\n+ nextva = loctup[L_V...
Python
Apache License 2.0
vivisect/vivisect
bugfix: make elfplt analysis use makeFunctionThunk() in a way that actually catches norets using the fmcb_Thunk() analysis hook. bugfix: redo how pointers are incremented
718,770
11.11.2021 18:15:12
18,000
4aef879ff89d7ae1d1131aff053a2b8bf02db0a6
cleanup: remove "thread" from the logging format. that should save a few kb each run :)
[ { "change_type": "MODIFY", "old_path": "envi/common.py", "new_path": "envi/common.py", "diff": "@@ -2,7 +2,7 @@ import logging\nimport binascii\nLOG_FORMAT = '%(asctime)s:%(levelname)s:%(name)s: %(message)s' \\\n- '[%(filename)s:%(funcName)s:%(lineno)s:%(threadName)s]'\n+ '[%(filename)s:%(funcName)s...
Python
Apache License 2.0
vivisect/vivisect
cleanup: remove "thread" from the logging format. that should save a few kb each run :)
718,770
11.11.2021 18:16:43
18,000
abf7082dcf24aa568bb712bc115f0751fc55d2c9
make function headers display "NORET" for functions that have been categorized as such.
[ { "change_type": "MODIFY", "old_path": "envi/qt/html.py", "new_path": "envi/qt/html.py", "diff": "@@ -75,6 +75,16 @@ div.codeblock:hover {\nbackground-color: #ffff00;\n}\n+.envi-funcflags {\n+ color: #ff00dd;\n+ background-color: #000000;\n+}\n+\n+.envi-funcflags-selected {\n+ color: #000000;\n+ bac...
Python
Apache License 2.0
vivisect/vivisect
make function headers display "NORET" for functions that have been categorized as such.
718,770
12.11.2021 18:05:50
18,000
6644f2c255f40de198cc9b4166ade21282dfa396
tweak testelf (yay, no longer cares about "unique" names like foo_0 and foo_1)
[ { "change_type": "MODIFY", "old_path": "vivisect/tests/testelf.py", "new_path": "vivisect/tests/testelf.py", "diff": "@@ -37,12 +37,12 @@ def cmpnames(x, y):\nnmset = [x, y]\nfor nmidx in range(2):\n- name = nmset[nmidx]\n+ va, name = nmset[nmidx]\nif len(name) <= 2:\ncontinue\n- if name[-2:] in (b'...
Python
Apache License 2.0
vivisect/vivisect
tweak testelf (yay, no longer cares about "unique" names like foo_0 and foo_1)
718,770
12.11.2021 18:08:20
18,000
b7423c2056d08c7d4c12208c78ff52cc8d0a42c3
better context for pointer log messages more testelf
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/generic/pointers.py", "new_path": "vivisect/analysis/generic/pointers.py", "diff": "@@ -24,7 +24,7 @@ def analyze(vw):\ncontinue\nfor xfr, xto, xtype, xinfo in vw.getXrefsFrom(rva):\n- logger.debug('pointer(1): 0x%x -> 0x%x', xfr, xto)\n+ log...
Python
Apache License 2.0
vivisect/vivisect
better context for pointer log messages more testelf
718,770
15.11.2021 00:06:23
18,000
698ef925da7c805fe440decb14c7d8778334375e
tweaks per
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -1678,6 +1678,12 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nInform the workspace that a given function is considered a \"thunk\" to another.\nThis allows the wor...
Python
Apache License 2.0
vivisect/vivisect
tweaks per @rakuy0
718,770
15.11.2021 02:51:23
18,000
e0c4f65ca4174b63c2ffb7554579d6309132949a
lots of updates to support getBaseAddrAndSize() on each file format (except macho, which is a wip)
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2736,6 +2736,11 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nreturn self.normFileName(filename)\nmod = viv_parsers.getParserModule(fmtname)\n+ # get baseaddr and ...
Python
Apache License 2.0
vivisect/vivisect
lots of updates to support getBaseAddrAndSize() on each file format (except macho, which is a wip)
718,765
16.11.2021 10:55:18
18,000
f06aee9983a1bfd602cc3adb57dbabcba3834086
Delete Relocation Add a delete relocation even handler
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -400,6 +400,22 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nself._fireEvent(VWE_ADDRELOC, (fname, offset, rtype, data))\nreturn self.getRelocation(va)\n+ def delRe...
Python
Apache License 2.0
vivisect/vivisect
Delete Relocation (#471) Add a delete relocation even handler
718,770
16.11.2021 20:19:39
18,000
351dfe860273789efc7f6fffcaa1e33abc01e311
working on getMemBaseAndSize
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2759,7 +2759,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nmod = viv_parsers.getParserModule(fmtname)\n# get baseaddr and size, then make sure we have a good bas...
Python
Apache License 2.0
vivisect/vivisect
working on getMemBaseAndSize
718,770
18.11.2021 23:38:07
18,000
dfb3d8554e2291dd45f7d3c35655e689bbba9625
bugfix: treating baseaddr as if it is only as provided by DLL. separated out "imagebase" and "baseaddr". making progress on loading. not done yet... but the baseaddr bug helps.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2794,6 +2794,59 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n# Snapin our analysis modules\nself._snapInAnalysisModules()\n+ def writeMemory(self, va, bytez):\n+ ...
Python
Apache License 2.0
vivisect/vivisect
bugfix: treating baseaddr as if it is only as provided by DLL. separated out "imagebase" and "baseaddr". making progress on loading. not done yet... but the baseaddr bug helps.
718,770
23.11.2021 14:54:47
18,000
0e088d7c32bd9aec20bba94b8f13d24a1107cb2c
feature: -o to select the output filename bugfix: libc_start_main() errored out with a string mismatch bugfix: move "connectExportsToImports()" to it's own "linker" analysis module bugfix: ELF mobile loading ability!!!!!!!!!!!! <AGCK!> feature: new VaSet "ResolvedImports" for imports that have been resolved and turned into Pointers.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -176,6 +176,8 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nself.addVaSet('CodeFragments', (('va', VASET_ADDRESS), ('calls_from', VASET_COMPLEX)))\nself.addVaSet('E...
Python
Apache License 2.0
vivisect/vivisect
feature: -o to select the output filename bugfix: libc_start_main() errored out with a string mismatch bugfix: move "connectExportsToImports()" to it's own "linker" analysis module bugfix: ELF mobile loading ability!!!!!!!!!!!! <AGCK!> feature: new VaSet "ResolvedImports" for imports that have been resolved and turned into Pointers.
718,770
23.11.2021 23:01:03
18,000
038e15410bd6c0b72d4a245043320617c00a7324
improvement: Dynamics add-base-offset before storage, and cleanup unittest: adding multi-file and non-caching options in helpers. tests to come.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -102,12 +102,6 @@ def getGOTByFilename(vw, filename):\nif fdyns is not None:\nFGOT = fdyns.get('DT_PLTGOT')\nif FGOT is not None:\n- # be sure to add the imgbase to FG...
Python
Apache License 2.0
vivisect/vivisect
improvement: Dynamics add-base-offset before storage, and cleanup unittest: adding multi-file and non-caching options in helpers. tests to come.
718,770
24.11.2021 20:54:53
18,000
ae1922739af7e31353d38034a76dc71f4b3be41b
completed unittests for loading multiple binaries.
[ { "change_type": "ADD", "old_path": null, "new_path": "vivisect/tests/testvivisect_multi.py", "diff": "+import logging\n+import unittest\n+import vivisect.tests.helpers as helpers\n+import vivisect.tests.utils as v_t_utils\n+\n+\n+logger = logging.getLogger(__name__)\n+\n+\n+class VivisectMultiFileT...
Python
Apache License 2.0
vivisect/vivisect
completed unittests for loading multiple binaries.
718,770
01.12.2021 12:41:11
18,000
8a305492724aef55bcaaef4e4a201432a2c2f1d5
a couple related bugfixes found floating around.
[ { "change_type": "MODIFY", "old_path": "vdb/__init__.py", "new_path": "vdb/__init__.py", "diff": "@@ -574,7 +574,7 @@ class Vdb(e_cli.EnviMutableCli, v_notif.Notifier, v_util.TraceManager):\nif dohex:\nmemstr = binascii.unhexlify(memstr)\nif douni:\n- memstr = (\"\\x00\".join(memstr)) + \"\\x00\"\n+...
Python
Apache License 2.0
vivisect/vivisect
a couple related bugfixes found floating around.
718,770
01.12.2021 17:02:39
18,000
011897323f7e66280cb7aeeb1d1b66f053173c86
woops, make linker work again.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/generic/linker.py", "new_path": "vivisect/analysis/generic/linker.py", "diff": "@@ -3,5 +3,4 @@ Connect any Exports we have to Imports we may also have\n(most useful for multiple file workspaces)\n'''\ndef analyze(vw):\n- #vw.connectImportsWi...
Python
Apache License 2.0
vivisect/vivisect
woops, make linker work again.
718,770
01.12.2021 19:04:08
18,000
2a3dcbdc428e90e47a61c81e4cc78f04f63d7aa7
kill it. too many issues
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -623,15 +623,6 @@ def loadElfIntoWorkspace(vw, elf, filename=None, baseaddr=None):\nelse:\nvw.makeNumber(sva, size=s.st_size)\n- elif symtype == Elf.STT_FUNC:\n- sva += baseoff\n-\n- ...
Python
Apache License 2.0
vivisect/vivisect
kill it. too many issues
718,770
01.12.2021 23:34:38
18,000
9a5693908e1c238b9f2ec9b8845c4bc44d8d08b5
rearrange ELF analysis to catch function thunks (elfplt/entrypoints).
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2835,6 +2835,10 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nif impfname not in (efname, '*'):\ncontinue\n+ if self.isFunctionThunk(eva):\n+ logger.info(\"Skippin...
Python
Apache License 2.0
vivisect/vivisect
rearrange ELF analysis to catch function thunks (elfplt/entrypoints).
718,770
02.12.2021 00:06:25
18,000
f488325cf0f6d0915c17e7ce6808a5db01fabc61
even later for ELF. make sure all of PLT is analyzed before linking.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/__init__.py", "new_path": "vivisect/analysis/__init__.py", "diff": "@@ -93,7 +93,6 @@ def addAnalysisModules(vw):\nvw.addAnalysisModule(\"vivisect.analysis.elf.elfplt\")\nvw.addAnalysisModule(\"vivisect.analysis.generic.entrypoints\")\nvw.add...
Python
Apache License 2.0
vivisect/vivisect
even later for ELF. make sure all of PLT is analyzed before linking.
718,770
27.12.2021 17:05:57
18,000
b28b46c8fb302ba9b8e813179178e66e182c096d
updates to support big-endian MachO
[ { "change_type": "MODIFY", "old_path": "vstruct/defs/macho/__init__.py", "new_path": "vstruct/defs/macho/__init__.py", "diff": "@@ -4,8 +4,6 @@ Structure definitions for the OSX MachO binary format.\nimport struct\nimport logging\nimport binascii\n-import vstruct\n-import envi.bits as e_bits\nimport...
Python
Apache License 2.0
vivisect/vivisect
updates to support big-endian MachO
718,770
27.12.2021 17:30:06
18,000
8f05afcd8cd9e97b2c4990db0413552089ae2a70
make LC_UNIXTHREAD/thread_command work with .flavor (and getEntryPoints()) updates to work with bigendian (and wonky git-shit)
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/macho.py", "new_path": "vivisect/parsers/macho.py", "diff": "@@ -130,8 +130,8 @@ def _loadMacho(vw, filebytes, filename=None, baseaddr=None):\nfor libname in macho.getLibDeps():\nlogger.debug(\"deplib: %r\", libname)\n# FIXME hack....\n- libna...
Python
Apache License 2.0
vivisect/vivisect
make LC_UNIXTHREAD/thread_command work with .flavor (and getEntryPoints()) updates to work with bigendian (and wonky git-shit)
718,770
28.12.2021 09:05:50
18,000
c17e328a69baa17b86226d33f6714eebd0d96df2
bugfix: vsParse doesn't have bigend defined
[ { "change_type": "MODIFY", "old_path": "vstruct/defs/macho/loader.py", "new_path": "vstruct/defs/macho/loader.py", "diff": "@@ -74,7 +74,7 @@ class segment_command(load_command):\n# segment, which follows directly after the segment info structure\nstep = len(self)\nfor i in range(self.nsects):\n- se...
Python
Apache License 2.0
vivisect/vivisect
bugfix: vsParse doesn't have bigend defined
718,770
05.01.2022 22:27:22
18,000
cbd95278008751b9223c8911e08d2b5251514a3f
minor changes to PE parser to not overwrite existing VaSets
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/pe.py", "new_path": "vivisect/parsers/pe.py", "diff": "@@ -93,6 +93,7 @@ def loadPeIntoWorkspace(vw, pe, filename=None, baseaddr=None):\nvw.setMeta('Architecture', arch)\nvw.setMeta('Format', 'pe')\nvw.parsedbin = pe\n+ ### TODO: this doesn't ...
Python
Apache License 2.0
vivisect/vivisect
minor changes to PE parser to not overwrite existing VaSets
718,765
12.01.2022 14:49:10
18,000
e4bc9b93cd00853aa9d6d981b185e086c5fc5e0f
more mach-o definitions and support Add more definitions for FAT64 and CPU arch names/constants.
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/macho.py", "new_path": "vivisect/parsers/macho.py", "diff": "import envi.common as e_common\nimport vivisect.parsers as viv_parsers\n+\nimport vstruct.defs.macho as vs_macho\n+import vstruct.defs.macho.fat as vsm_fat\n+import vstruct.defs.mach...
Python
Apache License 2.0
vivisect/vivisect
more mach-o definitions and support (#495) Add more definitions for FAT64 and CPU arch names/constants.
718,765
13.01.2022 10:52:06
18,000
4869e826c27f7f3cec5dd64169766f5edb6246bd
fix pe32 vs pe32+ check Use the OptionalHeader magic instead of the FileHeader.Machine value for determining PE32 vs PE32+
[ { "change_type": "MODIFY", "old_path": "PE/__init__.py", "new_path": "PE/__init__.py", "diff": "@@ -10,6 +10,9 @@ import vivisect.exc as v_exc\nfrom . import ordlookup\n+PE32_MAGIC = 0x10b\n+PE32PLUS_MAGIC = 0x20b\n+\nIMAGE_FILE_RELOCS_STRIPPED = 0x0001\nIMAGE_FILE_EXECUTABLE_IMAGE = 0x0002\nIMAGE_F...
Python
Apache License 2.0
vivisect/vivisect
fix pe32 vs pe32+ check (#494) Use the OptionalHeader magic instead of the FileHeader.Machine value for determining PE32 vs PE32+
718,765
13.01.2022 11:22:37
18,000
37b0b655d8dedfcf322e86b0f144b096e48d547e
V1.0.7 Release Prep v1.0.7 release prep
[ { "change_type": "MODIFY", "old_path": ".bumpversion.cfg", "new_path": ".bumpversion.cfg", "diff": "[bumpversion]\n-current_version = 1.0.6\n+current_version = 1.0.7\n[bumpversion:file:setup.py]\nsearch = VERSION = '{current_version}'\n" }, { "change_type": "MODIFY", "old_path": "CHANGEL...
Python
Apache License 2.0
vivisect/vivisect
V1.0.7 Release Prep (#496) v1.0.7 release prep
718,770
05.01.2022 22:37:33
18,000
bd0a1266fc3f0e7f2c42e27a7650caacd1548a7a
improving the MemObjFile shim to make a memobj act like a file object.
[ { "change_type": "MODIFY", "old_path": "vstruct/__init__.py", "new_path": "vstruct/__init__.py", "diff": "@@ -20,7 +20,16 @@ class MemObjFile:\ndef seek(self, offset):\nself.offset = self.baseaddr + offset\n- def read(self, size):\n+ def flush(self):\n+ pass\n+\n+ def tell(self):\n+ return self.offs...
Python
Apache License 2.0
vivisect/vivisect
improving the MemObjFile shim to make a memobj act like a file object.
718,770
19.01.2022 23:26:59
18,000
9fb4b35a102b1ab42dc2ec52acc380c3bb6551fb
we recreate the workspace through the proxy, but never snap in the appropriate analysis modules. this likely dates back to the days when analysis modules were added to the eventlist.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -630,6 +630,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nself.server.vprint('%s connecting...' % uname)\nwsevents = self.server.exportWorkspace()\nself.importWor...
Python
Apache License 2.0
vivisect/vivisect
we recreate the workspace through the proxy, but never snap in the appropriate analysis modules. this likely dates back to the days when analysis modules were added to the eventlist. (#498)
718,770
10.02.2022 21:08:36
18,000
73e2fb65f8a4e5531189d1f23974ba6caf0815cf
fix a bug in elfplt for an odd binary.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -172,6 +172,9 @@ def getPLTs(vw):\nif fdyns is not None:\nFGOT = fdyns.get('DT_JMPREL')\nFGOTSZ = fdyns.get('DT_PLTRELSZ')\n+ if None in (FGOT, FGOTSZ):\n+ continue\n+...
Python
Apache License 2.0
vivisect/vivisect
fix a bug in elfplt for an odd binary. (#503)
718,770
04.03.2022 23:23:17
18,000
931708510e5d725768a87ef89805e1be6c07075a
save bugfix
[ { "change_type": "MODIFY", "old_path": "vivisect/qt/main.py", "new_path": "vivisect/qt/main.py", "diff": "@@ -487,7 +487,7 @@ class VQVivMainWindow(viv_base.VivEventDist, vq_app.VQMainCmdWindow):\n# forces a local save\nfname = filename\nif not fname:\n- fname = vw.getMeta(\"StorageName\")\n+ fname ...
Python
Apache License 2.0
vivisect/vivisect
save bugfix (#507)
718,770
16.03.2022 16:29:38
14,400
05baf6b375e0d031a25b04a8827aa8304ab1bd76
make the loader use 1M alignment by default (and make it settable, instead of hard-coding it to ENVI's page-size)
[ { "change_type": "MODIFY", "old_path": "envi/const.py", "new_path": "envi/const.py", "diff": "@@ -41,4 +41,3 @@ for idx in range(8):\nPAGE_SIZE = 1 << 12\nPAGE_NMASK = PAGE_SIZE - 1\nPAGE_MASK = ~PAGE_NMASK\n-\n" }, { "change_type": "MODIFY", "old_path": "envi/memory.py", "new_path":...
Python
Apache License 2.0
vivisect/vivisect
make the loader use 1M alignment by default (and make it settable, instead of hard-coding it to ENVI's page-size)
718,765
30.03.2022 15:05:47
14,400
a3333bd02e9383a3868bf614dc09782b33dc7de2
tweak how we handle section names
[ { "change_type": "MODIFY", "old_path": "vivisect/tests/testpe.py", "new_path": "vivisect/tests/testpe.py", "diff": "@@ -595,3 +595,21 @@ class PETests(v_t_utils.VivTest):\nself.assertEqual(loc[1], 40)\nself.assertEqual(loc[2], viv_con.LOC_STRUCT)\nself.assertEqual(loc[3], 'pe.IMAGE_SECTION_HEADER')\...
Python
Apache License 2.0
vivisect/vivisect
tweak how we handle section names (#514)
718,770
14.04.2022 13:51:09
14,400
9b651db3606956e104a32cfade96842670301a70
improved output from the do_names command.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2323,6 +2323,23 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nreturn foff\nreturn (foff - offset) + 2\n+ def getFileAndOffset(self, va):\n+ '''\n+ Helper function ...
Python
Apache License 2.0
vivisect/vivisect
improved output from the do_names command. (#516)
718,770
27.04.2022 07:31:06
14,400
162fffdd911ff5475f7f80d1b111db6ea12a72eb
somehow got this one wrong.
[ { "change_type": "MODIFY", "old_path": "vivisect/vivbin.py", "new_path": "vivisect/vivbin.py", "diff": "@@ -7,8 +7,8 @@ import argparse\nimport cProfile\nimport importlib.util\n+import envi.exc as e_exc\nimport envi.common as e_common\n-import envi.config as e_config\nimport envi.threads as e_thread...
Python
Apache License 2.0
vivisect/vivisect
somehow got this one wrong. (#518)
718,765
28.04.2022 12:35:31
14,400
f42c3ca5bfc15404f0894659ffd1ab1df6b1018c
libc_start_main logging fix Fix a logging message in 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": "@@ -87,7 +87,7 @@ class AnalysisMonitor(viv_imp_monitor.AnalysisMonitor):\nif op.iflags & envi.IF_CALL:\n# it's a call, get the target\nbranches = [br f...
Python
Apache License 2.0
vivisect/vivisect
libc_start_main logging fix (#519) Fix a logging message in libc_start_main
718,765
28.04.2022 19:12:43
14,400
7ef22b78aace366599fc6c143a93ca193d533ce0
V1.0.8 Release Prep V1.0.7 Release Prep
[ { "change_type": "MODIFY", "old_path": ".bumpversion.cfg", "new_path": ".bumpversion.cfg", "diff": "[bumpversion]\n-current_version = 1.0.7\n+current_version = 1.0.8\n[bumpversion:file:setup.py]\nsearch = VERSION = '{current_version}'\n" }, { "change_type": "MODIFY", "old_path": "CHANGEL...
Python
Apache License 2.0
vivisect/vivisect
V1.0.8 Release Prep (#520) V1.0.7 Release Prep
718,770
09.05.2022 14:27:55
14,400
aa7c3e9290846bb333b1ff1044ec112657a00a08
update impapi to cover msvcr100.dll
[ { "change_type": "MODIFY", "old_path": "vivisect/impapi/windows/i386.py", "new_path": "vivisect/impapi/windows/i386.py", "diff": "@@ -7325,3 +7325,6 @@ api = {\n'mfc42.?afxbeginthread@@ygpavcwinthread@@p6aipax@z0hikpau_security_attributes@@@z':( 'int', None, 'cdecl', 'mfc42.?AfxBeginThread@@YGPAVCWi...
Python
Apache License 2.0
vivisect/vivisect
update impapi to cover msvcr100.dll (#522)
718,770
11.05.2022 13:33:35
14,400
94f4e65aa842f23d89acfadd2a15c59f60c6f029
one last thing. funcrgraph bugfix (for backwards compat)
[ { "change_type": "MODIFY", "old_path": "vivisect/remote/server.py", "new_path": "vivisect/remote/server.py", "diff": "@@ -205,7 +205,7 @@ class VivServer:\nlock, fpath, pevents, users, leaders, leaderloc = wsinfo\noldclient = False\n- elif chan in self._req_wsinfo:\n+ elif chan in self.wsdict:\n# DE...
Python
Apache License 2.0
vivisect/vivisect
one last thing. (#523) funcrgraph bugfix (for backwards compat)
718,770
16.05.2022 22:36:31
14,400
c17653195d5e03ec4257a7a10629e08f529426ef
Easy Bugfix: update SaveToServer dialog
[ { "change_type": "MODIFY", "old_path": "vivisect/qt/remote.py", "new_path": "vivisect/qt/remote.py", "diff": "@@ -98,7 +98,20 @@ class VivSaveServerDialog(VivServerDialog):\ndef __init__(self, vw, parent=None):\nVivServerDialog.__init__(self, vw, parent=parent)\n+\nself.wsname = QLineEdit(vw.getMeta...
Python
Apache License 2.0
vivisect/vivisect
Easy Bugfix: update SaveToServer dialog (#527)
718,770
17.05.2022 15:00:05
14,400
ec9032d396e13926001f51fdb84e5f50bb504f0e
log loadPeIntoWorkspace and args
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/pe.py", "new_path": "vivisect/parsers/pe.py", "diff": "@@ -83,6 +83,10 @@ relmap = {\ndef loadPeIntoWorkspace(vw, pe, filename=None, baseaddr=None):\n+ if baseaddr:\n+ logger.info(\"loadPeIntoWorkspace(%r, %r, baseaddr=0x%x\", pe, filename, ba...
Python
Apache License 2.0
vivisect/vivisect
log loadPeIntoWorkspace and args
718,776
25.05.2022 07:18:00
-7,200
b8565c5019a28676c0e0d4389712ec9088efcbfa
Update windows.py Add `Ex` to imphooks
[ { "change_type": "MODIFY", "old_path": "vivisect/impemu/platarch/windows.py", "new_path": "vivisect/impemu/platarch/windows.py", "diff": "@@ -80,14 +80,14 @@ class WindowsMixin(v_i_emulator.WorkspaceEmulator):\ndef kernel32_LoadLibraryExW(self, emu, callconv, api, argv):\nreturn self.kernel32_LoadLi...
Python
Apache License 2.0
vivisect/vivisect
Update windows.py (#530) Add `Ex` to imphooks
718,770
17.06.2022 18:08:22
14,400
5048cb7675fcb2f83e05993e052dd77179253ec3
move the "file not based at 0" decision to the individual parsers. blob certainly cares.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2794,8 +2794,6 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n# get baseaddr and size, then make sure we have a good baseaddr\nbaseaddr, size = mod.getMemBaseAndSiz...
Python
Apache License 2.0
vivisect/vivisect
move the "file not based at 0" decision to the individual parsers. blob certainly cares.
718,765
22.07.2022 00:11:07
14,400
1d079e01b10ab6c9756ef27f13d8109bee71d0d2
Docbuild Fixes
[ { "change_type": "MODIFY", "old_path": ".readthedocs.yaml", "new_path": ".readthedocs.yaml", "diff": "+version: 2\n+\npython:\nversion: 3.8\n- pip_install: true\n- extra_requirements:\n- - docs\n+ install:\n+ - requirements: requirements_doc.txt\n" }, { "change_type": "MODIFY", "old_path...
Python
Apache License 2.0
vivisect/vivisect
Docbuild Fixes (#535)
718,770
08.08.2022 08:20:34
14,400
e2a204fb75479e9f04f3caa198a47cf8afedae68
Update vivisect/analysis/elf/elfplt.py pre checking both FPLT and FPLTSZ for None individually
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -162,7 +162,7 @@ def getPLTs(vw):\nFPLTSZ = fdyns.get('DT_PLTRELSZ')\n# if we don't have FPLT or FPLTSZ, skip this\n- if None in (FPLT, FPLTSZ):\n+ if FPLT is None or ...
Python
Apache License 2.0
vivisect/vivisect
Update vivisect/analysis/elf/elfplt.py pre @rakuy0, checking both FPLT and FPLTSZ for None individually
718,770
01.09.2022 09:41:18
14,400
848338daaa8814e85de355b189a93b6d24f79640
add api entry for *.__read_chk on posix
[ { "change_type": "MODIFY", "old_path": "vivisect/impapi/posix/i386.py", "new_path": "vivisect/impapi/posix/i386.py", "diff": "@@ -1118,6 +1118,7 @@ api = {\n'*.readdir_r': ('int', None, 'cdecl', '*.readdir_r', (('DIR *', 'dirstream'), ('struct dirent *', 'entry'), ('struct dirent * *', 'result'))),\...
Python
Apache License 2.0
vivisect/vivisect
add api entry for *.__read_chk on posix (#545)
718,770
01.09.2022 11:25:36
14,400
96e70b5f74e80dfdd2d2a6f62a89bf2a1f5f3f7b
fix opcache key creation
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -1167,7 +1167,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nif loctup is not None and loctup[L_TINFO] and loctup[L_LTYPE] == LOC_OP:\narch = loctup[L_TINFO]\nif n...
Python
Apache License 2.0
vivisect/vivisect
fix opcache key creation (#544)
718,770
09.09.2022 14:22:06
14,400
d11eb54be2bc682ffc85ef2cbe2a5c5b6d7c3e65
pe bugfix and start-of-cleanup
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/pe.py", "new_path": "vivisect/parsers/pe.py", "diff": "@@ -333,7 +333,7 @@ def loadPeIntoWorkspace(vw, pe, filename=None, baseaddr=None):\nif sec.SizeOfRawData > pe.filesize:\ncontinue\n- plen = sec.VirtualSize - sec.SizeOfRawData\n+ #plen = s...
Python
Apache License 2.0
vivisect/vivisect
pe bugfix and start-of-cleanup
718,770
14.09.2022 08:15:12
14,400
1eb944f130aaa46ea6d547a03eccccdc0e2b2f9e
macho log-fix per change to blob file to fix bug in file lookups
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/blob.py", "new_path": "vivisect/parsers/blob.py", "diff": "@@ -36,9 +36,9 @@ def parseFd(vw, fd, filename=None, baseaddr=None):\nvw.setMeta('DefaultCall', archcalls.get(arch, 'unknown'))\nbytez = fd.read()\n- vw.addMemoryMap(baseaddr, 7, filen...
Python
Apache License 2.0
vivisect/vivisect
macho log-fix per @rakuy0 change to blob file to fix bug in file lookups
718,770
14.09.2022 09:41:12
14,400
7609a9bb2e09ef8ade69aaa8f7bdc77a13b226ca
admin rights stuff per (and a try/finally clause around getAdminRights()) moving connectImportsWithExports() into the linker analysis module instead of the VivWorkspace remove superfluous `op = vw.parseOpcode()` call
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2858,64 +2858,6 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\noff = va - fileva\nself._fireEvent(VWE_WRITEMEM, (fname, off, bytez, self._supervisor))\n- def connec...
Python
Apache License 2.0
vivisect/vivisect
admin rights stuff per @rakuy0 (and a try/finally clause around getAdminRights()) moving connectImportsWithExports() into the linker analysis module instead of the VivWorkspace remove superfluous `op = vw.parseOpcode()` call
718,770
14.09.2022 12:05:53
14,400
9ded4ca0e1f62436185172d0ecfe712599d489a9
avoid double-parsing: part 1 (ELF loads without apparent flaws)
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2807,13 +2807,6 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nmod = viv_parsers.getParserModule(fmtname)\n- # get baseaddr and size, then make sure we have a good ...
Python
Apache License 2.0
vivisect/vivisect
avoid double-parsing: part 1 (ELF loads without apparent flaws)
718,770
18.09.2022 20:04:36
14,400
d496c8f9ca344cf516e4687f466e2f00b8e71bf2
most things are initially roughed in and tested.
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/ihex.py", "new_path": "vivisect/parsers/ihex.py", "diff": "@@ -67,23 +67,12 @@ def parseFile(vw, filename, baseaddr=None):\ndef parseMemory(vw, memobj, baseaddr):\nraise Exception('ihex loader cannot parse memory!')\n-def getMemBaseAndSize(vw,...
Python
Apache License 2.0
vivisect/vivisect
most things are initially roughed in and tested.
718,770
30.09.2022 08:14:07
14,400
c74322be800d53bc60cf3f1ca5a0f77eb1cf34c3
unittest tweaks and minor bugfix
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/macho.py", "new_path": "vivisect/parsers/macho.py", "diff": "@@ -94,7 +94,7 @@ def _loadMacho(vw, filebytes, filename=None, baseaddr=None):\nmacho = vs_macho.mach_o()\nmacho.vsParse(filebytes)\n# find the lowest loadable address, then get an o...
Python
Apache License 2.0
vivisect/vivisect
unittest tweaks and minor bugfix
718,770
29.10.2022 16:38:59
14,400
8e9bba09f3867aa09e7aabc68480b00b50f968e4
Enabling POSIX Library Load notifications (since PTRACE event model doesn't alert on library loads like Windows does). a couple other general bugfixes/deprecation-cleanup "because we're in the area." (this is ripped out of the Vtrace PR because it's important enough to get it's own)
[ { "change_type": "MODIFY", "old_path": "envi/threads.py", "new_path": "envi/threads.py", "diff": "@@ -19,8 +19,7 @@ def firethread(func):\nand callers may not expect sync behavior!\n'''\ndef dothread(*args, **kwargs):\n- thr = threading.Thread(target=func, args=args, kwargs=kwargs)\n- thr.setDaemon(...
Python
Apache License 2.0
vivisect/vivisect
Enabling POSIX Library Load notifications (since PTRACE event model doesn't alert on library loads like Windows does). a couple other general bugfixes/deprecation-cleanup "because we're in the area." (this is ripped out of the Vtrace PR because it's important enough to get it's own)
718,770
30.10.2022 19:17:48
14,400
70269ab567e9ebc333faf79db11e961e4d4fdcbc
Update vstruct/defs/macho/__init__.py
[ { "change_type": "MODIFY", "old_path": "vstruct/defs/macho/__init__.py", "new_path": "vstruct/defs/macho/__init__.py", "diff": "@@ -54,7 +54,7 @@ class mach_o(vstruct.VStruct):\nself._entrypoints = []\noffset = len(self.mach_header)\nfor fname, vs in self.load_commands:\n- if vs.cmd == LC_UNIXTHREAD...
Python
Apache License 2.0
vivisect/vivisect
Update vstruct/defs/macho/__init__.py
718,770
19.11.2022 14:23:38
18,000
063c9d2071b3a0ecdc9697edb4556208dbca5cb0
fix i386's vtrace archGetBackTrace() results (they're reversed from what the rest of the system do)
[ { "change_type": "MODIFY", "old_path": "vtrace/archs/i386.py", "new_path": "vtrace/archs/i386.py", "diff": "@@ -144,7 +144,7 @@ class i386Mixin(e_i386.i386Module, e_i386.i386RegisterContext, i386WatchMixin):\nebp, eip = struct.unpack(\"<LL\", buf)\nif frames[-1] == (ebp, eip):\nbreak\n- frames.appen...
Python
Apache License 2.0
vivisect/vivisect
fix i386's vtrace archGetBackTrace() results (they're reversed from what the rest of the system do) (#553)
718,770
19.11.2022 14:49:00
18,000
fb23b9f2ba86ff7f36975bb088367ddca7c64887
minor bugfixes: VDB RegisterView widget and MSP430 archGetRegisterGroups
[ { "change_type": "MODIFY", "old_path": "envi/archs/msp430/__init__.py", "new_path": "envi/archs/msp430/__init__.py", "diff": "@@ -24,11 +24,9 @@ class Msp430Module(envi.ArchitectureModule):\ndef archGetNopInstr(self):\nreturn b'\\x03\\x43' # NOP is emulated with: MOV #0, R3\n- def archGetRegisterGro...
Python
Apache License 2.0
vivisect/vivisect
minor bugfixes: VDB RegisterView widget and MSP430 archGetRegisterGroups (#552) Co-authored-by: James Gross <45212823+rakuy0@users.noreply.github.com>
718,770
21.11.2022 00:35:07
18,000
8d508dc3cfcb7f0d6e216667fdb7a228d60713b4
elf bugfixes (test)
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -117,7 +117,7 @@ def getMemoryMapInfo(elf, fname=None, baseaddr=None):\nbaseaddr = 0x05000000\nfor offset,size in merged:\nbytez = elf.readAtOffset(offset,size)\n- memmaps.append((bas...
Python
Apache License 2.0
vivisect/vivisect
elf bugfixes (test)
718,770
21.11.2022 07:35:13
18,000
a2dc2ce4c37f5bb75dea1c4e4245b97215efd504
remove default baseaddr for ELF's with no Program Headers
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -98,6 +98,7 @@ def getMemoryMapInfo(elf, fname=None, baseaddr=None):\nlogger.info('Skipping: %s', pgm)\nif len(pgms) == 0:\n+ # NOTE: among other file types, Linux Kernel modules have...
Python
Apache License 2.0
vivisect/vivisect
remove default baseaddr for ELF's with no Program Headers
718,770
22.11.2022 12:04:09
18,000
06d3c1cf5f715830473f2be5f6b266d6820637be
upstream bugfix: alignment issues for Section-only ELFs
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -56,7 +56,7 @@ def getMemBaseAndSize(vw, elf, baseaddr=None):\nfor mapva, mperms, mname, mbytes, malign in memmaps:\nif mapva < baseaddr:\n- baseaddr = mapva\n+ baseaddr = mapva & -e_...
Python
Apache License 2.0
vivisect/vivisect
upstream bugfix: alignment issues for Section-only ELFs
718,770
27.11.2022 19:13:32
18,000
7c4c2055ae43d1806efa475e5b015127f9ea9f34
modify hellokernel unittest to allow for relocation. add comment to ELF "isRelocatable()" function to describe what this means
[ { "change_type": "MODIFY", "old_path": "Elf/__init__.py", "new_path": "Elf/__init__.py", "diff": "@@ -757,6 +757,8 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\ndef isRelocatable(self):\n'''\nReturns true if the given Elf binary is marked as a relocatable file.\n+ isRelocatable() helps determine if thi...
Python
Apache License 2.0
vivisect/vivisect
modify hellokernel unittest to allow for relocation. add comment to ELF "isRelocatable()" function to describe what this means
718,770
29.11.2022 08:14:58
18,000
1c6b0b2a70998496a2dba1d42648a364f07d8797
restore kernel module basing behavior to match master
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -63,7 +63,7 @@ def getMemBaseAndSize(vw, elf, baseaddr=None):\nsize = topmem - baseaddr\n- if baseaddr == 0:\n+ if baseaddr == 0 and not elf.isRelocatable():\nbaseaddr = vw.config.viv...
Python
Apache License 2.0
vivisect/vivisect
restore kernel module basing behavior to match master
718,770
04.12.2022 19:30:13
18,000
c7d9190c70585824920ca2963c3c3e9854a5a2fd
missed one (per
[ { "change_type": "MODIFY", "old_path": "vtrace/platforms/posix.py", "new_path": "vtrace/platforms/posix.py", "diff": "@@ -62,9 +62,9 @@ class PosixMixin:\nself.runAgain(False) # Clear this, if they want BREAK to run, it will\nself.fireNotifiers(vtrace.NOTIFY_BREAK)\n# POSIX hack - Windows signals on...
Python
Apache License 2.0
vivisect/vivisect
missed one (per @rakuy0)
718,770
28.12.2022 16:38:10
18,000
7c3bbd2bfdfce519cc53b139758371c704710fb1
all the changes and i discussed. (i think)
[ { "change_type": "MODIFY", "old_path": "vdb/__init__.py", "new_path": "vdb/__init__.py", "diff": "@@ -492,6 +492,7 @@ class Vdb(e_cli.EnviMutableCli, v_notif.Notifier, v_util.TraceManager):\ntrace.setMeta('PendingBreak', False)\nbp = trace.getCurrentBreakpoint()\nif bp:\n+ if not self.silent:\nself....
Python
Apache License 2.0
vivisect/vivisect
all the changes @invisig0th and i discussed. (i think)
718,770
28.12.2022 16:48:07
18,000
d1f6b9c3bab867b7aeeb280cdc08f477e7f09b58
untouchable -> stealthbreak
[ { "change_type": "MODIFY", "old_path": "vdb/__init__.py", "new_path": "vdb/__init__.py", "diff": "@@ -1843,7 +1843,7 @@ class Vdb(e_cli.EnviMutableCli, v_notif.Notifier, v_util.TraceManager):\nelif opt == \"-C\":\nfor bp in self.trace.getBreakpoints():\n- if bp.untouchable:\n+ if bp.stealthbreak:\nc...
Python
Apache License 2.0
vivisect/vivisect
untouchable -> stealthbreak
718,770
30.12.2022 08:46:17
18,000
4e24cfcac316482f4e5517f838ec843e779afc48
final change to completely supplant PR 557
[ { "change_type": "MODIFY", "old_path": "envi/memory.py", "new_path": "envi/memory.py", "diff": "@@ -146,12 +146,15 @@ class IMemory:\nmmap = self.getMemoryMap(va)\nif mmap is None:\nreturn False\n+\nmapva, mapsize, mapperm, mapfile = mmap\nmapend = mapva+mapsize\nif va+size > mapend:\nreturn False\n...
Python
Apache License 2.0
vivisect/vivisect
final change to completely supplant PR 557
718,770
30.12.2022 08:48:07
18,000
7be248c08a88d8cd531daa6f2f1eb65471e942ce
minor tweak and a minor bugfix in linker
[ { "change_type": "MODIFY", "old_path": "Elf/__init__.py", "new_path": "Elf/__init__.py", "diff": "@@ -87,6 +87,7 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nelse:\nself.r_types = {}\n+ self.dyns = {}\nself.pheaders = []\nself.sections = []\nself.secnames = {}\n@@ -290,7 +291,6 @@ class Elf(vs_elf.Elf...
Python
Apache License 2.0
vivisect/vivisect
minor tweak and a minor bugfix in linker
718,770
30.12.2022 16:47:25
18,000
bd92aa527fbd5044ce81e719649f284701d58394
cleanup and mods per
[ { "change_type": "MODIFY", "old_path": "envi/memory.py", "new_path": "envi/memory.py", "diff": "@@ -143,6 +143,7 @@ class IMemory:\nExample probeMemory(0x41414141, 20, envi.memory.MM_WRITE)\n(check if the memory for 20 bytes at 0x41414141 is writable)\n\"\"\"\n+ #FIXME: make probeMemory handle cross...
Python
Apache License 2.0
vivisect/vivisect
cleanup and mods per @invisig0th
718,770
30.12.2022 17:15:05
18,000
d08253f8de49c88201c63eedeb8976cdaf6d28a9
_reqProbeMem bugfix! cleanup isSet->is_set
[ { "change_type": "MODIFY", "old_path": "envi/cli.py", "new_path": "envi/cli.py", "diff": "@@ -259,7 +259,7 @@ class EnviCli(Cmd):\nif intro is not None:\nself.vprint(intro)\n- while not self.shutdown.isSet():\n+ while not self.shutdown.is_set():\ntry:\nCmd.cmdloop(self, intro=intro)\nexcept Exceptio...
Python
Apache License 2.0
vivisect/vivisect
_reqProbeMem bugfix! cleanup isSet->is_set
718,766
13.01.2023 12:35:53
18,000
5a3d41efec8c03e0e1d731b55e2f4af327f90670
Don't log to root logger
[ { "change_type": "MODIFY", "old_path": "vstruct/defs/minidump.py", "new_path": "vstruct/defs/minidump.py", "diff": "@@ -3,6 +3,8 @@ import logging\nimport vstruct\nfrom vstruct.primitives import *\n+logger = logging.getLogger(__name__)\n+\nclass MiniDumpString(vstruct.VStruct):\ndef __init__(self):\...
Python
Apache License 2.0
vivisect/vivisect
Don't log to root logger (#565)
718,772
23.01.2023 08:57:30
28,800
8181858bd4025cc1959edd2482dd0d87bdcd3838
Update vamp signatures (replaces old PR#208) * Update vamp signatures (former PR#208) * unit test for signatures * Update vivisect/tests/testvampsigs.py self.assertEqual instead of assert * Update vivisect/tests/testvampsigs.py self.assertEqual instead of assert * Update vivisect/tests/testvampsigs.py self.assertEqual instead of assert
[ { "change_type": "ADD", "old_path": null, "new_path": "vivisect/tests/testvampsigs.py", "diff": "+import unittest\n+\n+import vivisect\n+import envi.memory as e_mem\n+\n+\n+class VampSigTests(unittest.TestCase):\n+ '''\n+ Tests to verify detection of signatures for special functions in PE files.\n+ ...
Python
Apache License 2.0
vivisect/vivisect
Update vamp signatures (replaces old PR#208) (#566) * Update vamp signatures (former PR#208) * unit test for signatures * Update vivisect/tests/testvampsigs.py self.assertEqual instead of assert * Update vivisect/tests/testvampsigs.py self.assertEqual instead of assert * Update vivisect/tests/testvampsigs.py self.assertEqual instead of assert Co-authored-by: todd-plantenga <todd.plantenga@mandiant.com> Co-authored-by: atlas0fd00m <atlas@r4780y.com>
718,770
02.02.2023 08:57:19
18,000
21deba74cafcb187b324d74b260e0d89044ece73
viv_loader Cleanup and Polish * IMemory bug discovered by Rakuy0 merge fail in ELF parser (regressing certain related sections) * minor bugfix for VQVivFuncgraphCanvas.renderMemory
[ { "change_type": "MODIFY", "old_path": "envi/memory.py", "new_path": "envi/memory.py", "diff": "@@ -69,6 +69,7 @@ class IMemory:\nself.setMemArchitecture(arch)\nself.bigend = envi.ENDIAN_LSB\n+ self._supervisor = False\ndef getEndian(self):\n'''\n@@ -434,7 +435,6 @@ class MemoryObject(IMemory):\n\"\...
Python
Apache License 2.0
vivisect/vivisect
viv_loader Cleanup and Polish (#564) * IMemory bug discovered by Rakuy0 merge fail in ELF parser (regressing certain related sections) * minor bugfix for VQVivFuncgraphCanvas.renderMemory
701,855
03.03.2017 11:54:14
-46,800
ed5031cd0b7cbcc6c96fd51d15731d91b330d836
Add Gulp front end tooling for scss compilation and live reload
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -92,3 +92,6 @@ ENV/\n# Rope project settings\n.ropeproject\n+\n+# Installed node modules\n+node_modules/\n" }, { "change_type": "MODIFY", "old_path": "csunplugged/config/settings.py", "new_path...
Python
MIT License
uccser/cs-unplugged
Add Gulp front end tooling for scss compilation and live reload
701,852
20.04.2017 11:59:34
-43,200
8434667df3bda962b4e9e8a37650efd42feb77a7
Updated Travis configurations and associated processes.
[ { "change_type": "ADD", "old_path": null, "new_path": ".coveragerc", "diff": "+[run]\n+source = config,dev,general,locale,resources,static,templates,topics,utils\n+omit=*/migrations/*\n+\n+[report]\n+fail_under=50\n" }, { "change_type": "MODIFY", "old_path": ".flake8", "new_path": "....
Python
MIT License
uccser/cs-unplugged
Updated Travis configurations and associated processes.
701,852
20.04.2017 13:19:39
-43,200
a82305411ea33c2a9e063f762185006681992f61
Fix reversed tests.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -18,8 +18,8 @@ before_script:\n# Runs test suite\nscript:\n- flake8 --config=../.flake8\n- - coverage run --rcfile=../.coveragerc manage.py test -v 3\n- - 'if [ \"$TRAVIS_PULL_REQUEST\" != \"false\" ]; then ...
Python
MIT License
uccser/cs-unplugged
Fix reversed tests.
701,852
20.04.2017 13:39:42
-43,200
45ceef548793e90c14cfcbaca3a5f4856949e1a5
Update travis build for running locally and removed kordac
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -11,6 +11,7 @@ python:\ninstall:\n- pip install flake8 coverage coveralls\n- pip install -r requirements/base.txt\n+ - pip install -r requirements/local.txt\nbefore_script:\ncd csunplugged/\n" }, { "...
Python
MIT License
uccser/cs-unplugged
Update travis build for running locally and removed kordac
701,852
20.04.2017 13:43:07
-43,200
d8418663346db1703af0af08b1ee14f917c01a84
Include model_mommy in testing requirements
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -12,6 +12,7 @@ install:\n- pip install flake8 coverage coveralls\n- pip install -r requirements/base.txt\n- pip install -r requirements/local.txt\n+ - pip install -r requirements/test.txt\nbefore_script:\ncd...
Python
MIT License
uccser/cs-unplugged
Include model_mommy in testing requirements
701,852
20.04.2017 13:45:23
-43,200
0a9ffdfba21e657ff9d85f9bec5df5109ac4a67b
Cut down dependencies into just the test config.
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -11,7 +11,6 @@ python:\ninstall:\n- pip install flake8 coverage coveralls\n- pip install -r requirements/base.txt\n- - pip install -r requirements/local.txt\n- pip install -r requirements/test.txt\nbefore_sc...
Python
MIT License
uccser/cs-unplugged
Cut down dependencies into just the test config.