author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
718,770
13.10.2018 13:32:25
14,400
234b57c2b4c525a051d846a77342668d05e99fa4
lots of improvement, cleanup, and bug-fixes, including register offsets, unittests, and emulation/analysis improvements.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -240,30 +240,32 @@ PM_hyp = 0b11010\nPM_und = 0b11011\nPM_sys = 0b11111\n+REGS_PER_MODE = 18\n+\n# reg stuff stolen from regs.py to support proc_modes\n# these are in context of reg_t...
Python
Apache License 2.0
vivisect/vivisect
lots of improvement, cleanup, and bug-fixes, including register offsets, unittests, and emulation/analysis improvements.
718,770
27.11.2018 14:56:38
18,000
efcfe1efa5fad2f9303530d43513342cef7c2f2a
update to handle any NULL terminator out of any codepage.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -848,11 +848,6 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nreturn -1\nc1 = bytes[offset+count+1]\n- # If it's not null,char,null,char then it's\n- # not simple un...
Python
Apache License 2.0
vivisect/vivisect
update to handle any NULL terminator out of any codepage.
718,770
28.11.2018 11:52:04
18,000
c7d583757128cfd3f6b08568d18d7c4518cfa831
to super() or to parent()? that is the question. but the issue predates this branch.
[ { "change_type": "MODIFY", "old_path": "vqt/hotkeys.py", "new_path": "vqt/hotkeys.py", "diff": "@@ -163,11 +163,12 @@ class HotKeyMixin(object):\ndef keyPressEvent(self, event):\nif not self.eatKeyPressEvent(event):\n+ # is this a bug? do we call the super? or the parent?\nreturn super(HotKeyMixin, ...
Python
Apache License 2.0
vivisect/vivisect
to super() or to parent()? that is the question. but the issue predates this branch.
718,770
30.11.2018 12:11:16
18,000
ce79b593c35872617462e957515d4042d6a59519
get rid of all codeblocks associated with a function...
[ { "change_type": "MODIFY", "old_path": "vivisect/base.py", "new_path": "vivisect/base.py", "diff": "@@ -246,10 +246,19 @@ class VivWorkspaceCore(object,viv_impapi.ImportApi):\nmcb(va, name, value)\ndef _handleDELFUNCTION(self, einfo):\n- self.funcmeta.pop(einfo)\n- self.func_args.pop(einfo, None)\n-...
Python
Apache License 2.0
vivisect/vivisect
get rid of all codeblocks associated with a function...
718,770
30.11.2018 13:17:27
18,000
000251aae232b71b190b2ab80d926993e2710f22
included "vw.cfctx._funcs" in the deletion process added GUI verification before a function is actually deleted.
[ { "change_type": "MODIFY", "old_path": "envi/codeflow.py", "new_path": "envi/codeflow.py", "diff": "@@ -278,6 +278,14 @@ class CodeFlowContext(object):\n# Finally, notify the callback of a new function\nself._cb_function(va, {'CallsFrom':calls_from})\n+ def flushFunction(self, fva):\n+ '''\n+ Codefl...
Python
Apache License 2.0
vivisect/vivisect
included "vw.cfctx._funcs" in the deletion process added GUI verification before a function is actually deleted.
718,765
04.12.2018 09:57:03
18,000
4a276cb36e1e8cc7f215ef57587187649a9e968d
Update README for running vivisect under recent python 2.7 versions
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -45,6 +45,47 @@ that aren't ) are directly accessible for use writing your own custom\nresearch tools... The interface should be nearly the same when dealing with\na real process ( via vdb/vtrace ) and dealing w...
Python
Apache License 2.0
vivisect/vivisect
Update README for running vivisect under recent python 2.7 versions
718,765
12.12.2018 11:31:41
18,000
6e3cc7020be82cef01c90f0c1c355785e1fdcddd
Add section about building/installing PyQt5
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -90,6 +90,22 @@ make install\nAnd then you should be able to open up your vivisect workspace with the vivbin script.\n+### PyQt5\n+\n+PyQt5 is unsupported on Python 2.x. So similar steps must be followed to inst...
Python
Apache License 2.0
vivisect/vivisect
Add section about building/installing PyQt5
718,765
14.12.2018 12:00:27
18,000
b1a94d859fb4a8d1740c9848ce7161760ab7253b
Got QT5 showing a UI
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -96,7 +96,7 @@ PyQt5 is unsupported on Python 2.x. So similar steps must be followed to install\nInstall qt5:\n```\n-sudo apt-get install qt5-default libqtwebkit-dev\n+sudo apt-get install qt5-default libqt5webk...
Python
Apache License 2.0
vivisect/vivisect
Got QT5 showing a UI
718,765
14.12.2018 12:02:04
18,000
e5357739954f2bc00d08d525fda7106777a9d529
Add blurd on a perm issue
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -88,6 +88,8 @@ make -j4\nmake install\n```\n+If you run into an `Error 2` status code on the `make install` line, replace that line with `sudo make install`, and things should work out fine.\n+\nAnd then you sho...
Python
Apache License 2.0
vivisect/vivisect
Add blurd on a perm issue
718,765
14.12.2018 12:15:00
18,000
30ae75a24b7a46c29b4a00e1089d653c5a07e94d
Change around wording as per atlas
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -47,7 +47,9 @@ a real process ( via vdb/vtrace ) and dealing with an emulator / viv workspace.\n## UI Dependencies\n-In order to get the vivisect UI running, you'll first need to install the Qt4 and Qt4-Webkit l...
Python
Apache License 2.0
vivisect/vivisect
Change around wording as per atlas
718,770
14.12.2018 13:47:04
18,000
a4c6a0b021608e9f32bffe61e714da6ad5240433
Update vdbbin configure the root logger for vdbbin
[ { "change_type": "MODIFY", "old_path": "vdbbin", "new_path": "vdbbin", "diff": "@@ -4,6 +4,7 @@ import argparse\nimport traceback\nimport logging\n+logging.basicConfig(format='%(asctime)s:%(levelname)s:%(name)s: %(message)s')\nlogger = logging.getLogger()\nlogger.setLevel(logging.DEBUG) # any messag...
Python
Apache License 2.0
vivisect/vivisect
Update vdbbin configure the root logger for vdbbin
718,770
14.12.2018 13:49:25
18,000
90d67b2f70900cec965264a5626ce57d53508229
Update vdbbin refixing vdbbin
[ { "change_type": "MODIFY", "old_path": "vdbbin", "new_path": "vdbbin", "diff": "@@ -4,9 +4,8 @@ import argparse\nimport traceback\nimport logging\n-logging.basicConfig(format='%(asctime)s:%(levelname)s:%(name)s: %(message)s')\nlogger = logging.getLogger()\n-logger.setLevel(logging.DEBUG) # any messa...
Python
Apache License 2.0
vivisect/vivisect
Update vdbbin refixing vdbbin
718,770
14.12.2018 14:02:09
18,000
dedcb98493221323f8cb13bf53ab675a54bcac9b
updates to thumb/thumb2/thumb16 naming...
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/__init__.py", "new_path": "vivisect/analysis/__init__.py", "diff": "@@ -31,7 +31,7 @@ def addAnalysisModules(vw):\nvw.addImpApi('windows','amd64')\nvw.addStructureModule('ntdll', 'vstruct.defs.windows.win_6_1_amd64.ntdll')\n- elif arch in ('a...
Python
Apache License 2.0
vivisect/vivisect
updates to thumb/thumb2/thumb16 naming...
718,770
14.12.2018 14:23:54
18,000
ce1e9d0b8f9a4d86cdc11fb38025f6b3e2b7a85a
unify the ThumbModule.
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/__init__.py", "new_path": "envi/archs/thumb16/__init__.py", "diff": "@@ -3,17 +3,8 @@ from envi.archs.arm import *\nimport disasm as th_disasm\n-class Thumb16Module(ArmModule):\n+class Thumb16Module(ThumbModule):\ndef __init__(self):\n- ArmM...
Python
Apache License 2.0
vivisect/vivisect
unify the ThumbModule.
718,770
16.12.2018 13:21:24
18,000
221d71c8240ccc78b5fb6407baca3eeff4044024
fixed (damn github editor :)
[ { "change_type": "MODIFY", "old_path": "vdbbin", "new_path": "vdbbin", "diff": "@@ -4,8 +4,8 @@ import argparse\nimport traceback\nimport logging\n+logging.basicConfig(level=logging.DEBUG, format='%(asctime)s:%(levelname)s:%(name)s: %(message)s')\nlogger = logging.getLogger()\n-logger.basicConfig(le...
Python
Apache License 2.0
vivisect/vivisect
fixed (damn github editor :)
718,770
24.12.2018 12:12:03
18,000
c6847ba3fdb2ff139b90f404daa5333e509df1f0
help message correction
[ { "change_type": "MODIFY", "old_path": "vivisect/cli.py", "new_path": "vivisect/cli.py", "diff": "@@ -226,7 +226,7 @@ class VivCli(e_cli.EnviCli, vivisect.VivWorkspace):\n'''\nsearch opcodes/function for a pattern\n- search [-f <funcva>] [options] <pattern>\n+ searchopcodes [-f <funcva>] [options] <...
Python
Apache License 2.0
vivisect/vivisect
help message correction
718,770
29.12.2018 23:09:28
18,000
6c4c25c652eb63934b41a2642bacfff5ece78c46
logging and cleanup
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -145,6 +145,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nself.addVaSet(\"Emulation Anomalies\", ((\"va\",VASET_ADDRESS),(\"Message\",VASET_STRING)))\nself.addVaS...
Python
Apache License 2.0
vivisect/vivisect
logging and cleanup
718,770
30.12.2018 23:18:06
18,000
24f95699b209dd1b9fb06112d7d4ee6a57e6c3e2
vw.parseExpression() now accurately uses vw names with the new evaluate()
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "@@ -13,9 +13,6 @@ class ExpressionFail(Exception):\nreturn self.__repr__()\ndef evaluate(pycode, locals):\n- try:\n- val = eval(pycode, {}, locals)\n- except NameError, e:\ntry:\n# check through t...
Python
Apache License 2.0
vivisect/vivisect
vw.parseExpression() now accurately uses vw names with the new evaluate()
718,770
30.12.2018 23:25:24
18,000
593c6f76cb60651b8601207784e2083658dbba85
return to trying the name as-is
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "@@ -13,6 +13,9 @@ class ExpressionFail(Exception):\nreturn self.__repr__()\ndef evaluate(pycode, locals):\n+ try:\n+ val = eval(pycode, {}, locals)\n+ except NameError, e:\ntry:\n# check through t...
Python
Apache License 2.0
vivisect/vivisect
return to trying the name as-is
718,770
30.12.2018 23:45:12
18,000
72ccd477363cb22e3a36fd810aa13a18931ec3e7
envi unittests (with Vivisect mixins)
[ { "change_type": "ADD", "old_path": null, "new_path": "envi/tests/test_expression.py", "diff": "+import unittest\n+\n+import vivisect\n+import vivisect.cli\n+\n+class EnviExpressionTest(unittest.TestCase):\n+\n+ def test_viv_parseExpression(self):\n+ vw = vivisect.cli.VivCli()\n+ vw.makeName(0xfffff...
Python
Apache License 2.0
vivisect/vivisect
envi unittests (with Vivisect mixins)
718,770
08.01.2019 18:56:56
18,000
c8839090b27f2380f5604bb05b66336887af0b8e
* and : cause SyntaxError.
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "@@ -15,7 +15,7 @@ class ExpressionFail(Exception):\ndef evaluate(pycode, locals):\ntry:\nval = eval(pycode, {}, locals)\n- except NameError, e:\n+ except (NameError, SyntaxError), e:\ntry:\n# chec...
Python
Apache License 2.0
vivisect/vivisect
* and : cause SyntaxError.
718,770
08.01.2019 19:09:14
18,000
86d050086819702bd26304407052f1fcdc3ba449
and more goodies.
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "@@ -31,7 +31,7 @@ def evaluate(pycode, locals):\nval = eval(pycode, {}, locals)\n- except NameError, e:\n+ except (SyntaxError, NameError), e:\nraise ExpressionFail(pycode)\nreturn val\n" } ]
Python
Apache License 2.0
vivisect/vivisect
and more goodies.
718,770
08.01.2019 19:12:01
18,000
4ba935d71052c3ee4678dad28875fa0950cbbbec
"One that looks nice." - Knight of Ni
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "@@ -31,7 +31,7 @@ def evaluate(pycode, locals):\nval = eval(pycode, {}, locals)\n- except (SyntaxError, NameError), e:\n+ except (NameError, SyntaxError), e:\nraise ExpressionFail(pycode)\nreturn ...
Python
Apache License 2.0
vivisect/vivisect
"One that looks nice." - Knight of Ni
718,770
10.01.2019 17:16:13
18,000
7021c3f97afa371d382ade9ee3aae303358bf028
bugfix: envi.expression throws AttributeError when "file.symbol" format is used. we may end up simply excepting all Exceptions instead of attempting to be selective.
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "Unified expression helpers.\n\"\"\"\nclass ExpressionFail(Exception):\n- def __init__(self, pycode):\n+ def __init__(self, pycode, exception):\nException.__init__(self)\nself.pycode = pycode\n+ se...
Python
Apache License 2.0
vivisect/vivisect
bugfix: envi.expression throws AttributeError when "file.symbol" format is used. we may end up simply excepting all Exceptions instead of attempting to be selective.
718,770
10.01.2019 17:21:39
18,000
cfb0329096b3acdbeb9c3c11add607180f38192f
ah fukit. broadening the net to try substitution regardless of the exception
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "@@ -17,7 +17,7 @@ class ExpressionFail(Exception):\ndef evaluate(pycode, locals):\ntry:\nval = eval(pycode, {}, locals)\n- except (NameError, SyntaxError, AttributeError), e:\n+ except Exception, ...
Python
Apache License 2.0
vivisect/vivisect
ah fukit. broadening the net to try substitution regardless of the exception
718,770
10.01.2019 22:55:43
18,000
9efb8010ab00a8335dcfb21f143a2484b2448b6b
aesthetics ocd.
[ { "change_type": "MODIFY", "old_path": "envi/expression.py", "new_path": "envi/expression.py", "diff": "@@ -65,10 +65,10 @@ class ExpressionLocals(dict):\ndef keys(self):\nreturn [key for key in self]\n- def has_key(self, key):\n+ def __contains__(self, key):\nreturn self.__getitem__(key) != None\n-...
Python
Apache License 2.0
vivisect/vivisect
aesthetics ocd.
718,770
04.02.2018 23:52:25
18,000
d3d53067a06cdd817b61236c62952e88906421d4
elf parsing, naming and name-demangling.
[ { "change_type": "MODIFY", "old_path": "Elf/__init__.py", "new_path": "Elf/__init__.py", "diff": "@@ -523,6 +523,7 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nif sec.sh_type != SHT_NOTE:\ncontinue\n+ try:\nnotebytes = self.readAtOffset(sec.sh_offset, sec.sh_size)\noffset = 0\nnotebyteslen = len(noteb...
Python
Apache License 2.0
vivisect/vivisect
elf parsing, naming and name-demangling.
718,770
11.04.2018 15:58:47
14,400
51503e42fc8a7940c83c567a0c2882a8a3e08677
print cleanup.
[ { "change_type": "MODIFY", "old_path": "Elf/__init__.py", "new_path": "Elf/__init__.py", "diff": "@@ -536,7 +536,7 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\noffset = note.vsParse(notebytes,offset=offset)\nyield note\nexcept Exception, e:\n- print \"Elf.getNotes() Exception: %r\" % e\n+ print(\"Elf....
Python
Apache License 2.0
vivisect/vivisect
print cleanup.
718,770
05.01.2019 23:40:06
18,000
706613da92174e653e8f27238bafbe6fdc40a71f
melding together the three naming branches. still to clean up the name-normalizing code...
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/elf/elfplt.py", "new_path": "vivisect/analysis/elf/elfplt.py", "diff": "@@ -14,8 +14,9 @@ def analyze(vw):\nDo simple linear disassembly of the .plt section if present.\n\"\"\"\nfor sva,ssize,sname,sfname in vw.getSegments():\n- if sname != \...
Python
Apache License 2.0
vivisect/vivisect
melding together the three naming branches. still to clean up the name-normalizing code...
718,770
08.01.2019 16:07:47
18,000
6c08e15511d7f7f556b0bb06729e340d1bc5a3b8
improved duplicate naming
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -744,8 +744,9 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nAdd an already created export object.\n\"\"\"\nrname = \"%s.%s\" % (filename,name)\n- if self.vaByName(r...
Python
Apache License 2.0
vivisect/vivisect
improved duplicate naming
718,770
10.01.2019 23:51:30
18,000
96abfe2f2f8a6439e5626326dd3f6257ab0e3335
naming enhancements, bug-fixes, and general make-it-work-rightness.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -739,14 +739,28 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n\"\"\"\nreturn list(self.exports)\n- def addExport(self, va, etype, name, filename):\n+ def addExport(...
Python
Apache License 2.0
vivisect/vivisect
naming enhancements, bug-fixes, and general make-it-work-rightness.
718,770
11.01.2019 20:09:32
18,000
d2b397872676bbd3d5e795fef0d1221c1ae550dc
cleanup disasm.py
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -152,7 +152,7 @@ shifters = (\ndp_mnem = (\n(\"and\", INS_AND),\n(\"eor\", INS_EOR),\n- (\"sub\", INS_EOR),\n+ (\"sub\", INS_SUB),\n(\"rsb\", INS_RSB),\n(\"add\", INS_ADD),\n(\"adc\...
Python
Apache License 2.0
vivisect/vivisect
cleanup disasm.py
718,770
11.01.2019 23:01:30
18,000
1675e89fd36609ecbd8d8085b1b5eeb8edb459ed
bugfix: bfi shifting issue
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path": "envi/archs/arm/emu.py", "diff": "@@ -1013,7 +1013,7 @@ class ArmEmulator(ArmRegisterContext, envi.Emulator):\nmask <<= lsb\nval = self.getOperValue(op, 0) & ~mask\n- val |= addit\n+ val |= (addit<<lsb)\n#print \"bfi: 2 \", ...
Python
Apache License 2.0
vivisect/vivisect
bugfix: bfi shifting issue
718,770
11.01.2019 23:01:49
18,000
f8ec3943f2504aefdd2b954ffd180e4f57bd5190
bfi unit test
[ { "change_type": "MODIFY", "old_path": "envi/tests/test_arch_arm.py", "new_path": "envi/tests/test_arch_arm.py", "diff": "@@ -889,7 +889,10 @@ instrs = [\n{'setup':(('r1',0xaaaaaaaa),),\n'tests':(('r1',0b10101010101010101000000000000000),) },\n)),\n- (REV_ALL_ARM, '1432cfe7', 0x4560, 'bfi r3, r4, #0...
Python
Apache License 2.0
vivisect/vivisect
bfi unit test
718,770
14.01.2019 23:52:29
18,000
2f25c927036810c8bd074c822b1b56f07754a8a9
more cleanup, better exception handling.
[ { "change_type": "MODIFY", "old_path": "vivisect/cli.py", "new_path": "vivisect/cli.py", "diff": "The vivisect CLI.\n\"\"\"\n+import sys\nimport shlex\nimport pprint\nimport socket\n@@ -278,9 +279,9 @@ class VivCli(e_cli.EnviCli, vivisect.VivWorkspace):\nres = []\ncanv = e_canvas.StringMemoryCanvas(...
Python
Apache License 2.0
vivisect/vivisect
more cleanup, better exception handling.
718,770
15.01.2019 00:14:43
18,000
b8195f9e2948ec6c5b88587201c7b606f223f24a
cleanup (largely of print statements), and bugfix/better parsing/handling of UNDEFINED instructions.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -737,6 +737,7 @@ instrnames = [\n'RFE',\n'SRS',\n'HINT',\n+ 'UNDEF',\n]\nins_index = 0\n" }, { "change_type": "MODIFY", "old_path": "envi/archs/arm/emu.py", "new_path"...
Python
Apache License 2.0
vivisect/vivisect
cleanup (largely of print statements), and bugfix/better parsing/handling of UNDEFINED instructions.
718,770
15.01.2019 00:33:41
18,000
a091ba6c63c85c10aeb47cb2a873333aa467a972
bugfix: thumb T1 shifter decoding, if imm5==0: it's 0x20
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -537,6 +537,9 @@ def imm5_rm_rd(va, value):\nstype = value >> 11\n+ if imm5 == 0:\n+ imm5 = 0x20\n+\noper0 = ArmRegOper(rd, va)\noper1 = ArmRegOper(rm, va)\noper2 = ArmImmOp...
Python
Apache License 2.0
vivisect/vivisect
bugfix: thumb T1 shifter decoding, if imm5==0: it's 0x20
718,770
16.01.2019 12:49:14
18,000
fe1bd390bbd37192879ab5aafca545bd65f5e0ee
thumb arch default calling conventions.
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/blob.py", "new_path": "vivisect/parsers/blob.py", "diff": "@@ -8,6 +8,8 @@ archcalls = {\n'i386':'cdecl',\n'amd64':'sysvamd64call',\n'arm':'armcall',\n+ 'thumb':'armcall',\n+ 'thumb16':'armcall',\n}\ndef parseFd(vw, fd, filename=None):\n" },...
Python
Apache License 2.0
vivisect/vivisect
thumb arch default calling conventions.
718,770
16.01.2019 12:53:38
18,000
8db9440254e6ce7309b873c98222b88cc649f0d8
backout merge clutter.
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -84,24 +84,20 @@ archcalls = {\n'i386':'cdecl',\n'amd64':'sysvamd64call',\n'arm':'armcall',\n- 'thumb':'armcall',\n- 'thumb16':'armcall',\n}\n-def loadElfIntoWorkspace(vw, elf, filena...
Python
Apache License 2.0
vivisect/vivisect
backout merge clutter.
718,770
19.01.2019 23:16:10
18,000
6242deb36ade0ba6612719b829bf9ce32236ef4f
expell the evil.
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "import os\nimport struct\n+import logging\nimport Elf\nimport vivisect\n@@ -9,6 +10,8 @@ from vivisect.const import *\nfrom cStringIO import StringIO\n+logger = logging.getLogger(__name_...
Python
Apache License 2.0
vivisect/vivisect
expell the evil.
718,770
19.01.2019 23:18:10
18,000
f8018a84b69160a78d1f2a378e083546f8ec83cb
vprint please.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -651,7 +651,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nexcept Exception, e:\nif self.verbose:\ntraceback.print_exc()\n- self.verbprint(\"Extended Analysis Exce...
Python
Apache License 2.0
vivisect/vivisect
vprint please.
718,770
20.01.2019 00:00:44
18,000
f4a676e10ea2154a87778c9dc2c0e9f0ffc63e15
update README.md i'd gladly add this to setup.py, but i don't seem to have one.
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -110,6 +110,18 @@ pip install enum34\nThe rest of the build/install steps are the same, save for changing out the version numbers from PyQt4 to PyQt5.\n+### Dependencies:\n+To enable proper networking:\n+\n+```\...
Python
Apache License 2.0
vivisect/vivisect
update README.md i'd gladly add this to setup.py, but i don't seem to have one.
718,770
20.01.2019 00:10:33
18,000
680f035557220f52216b501baec2267d84c0306c
bugfix: imod&1 / IE/ID
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -1721,8 +1721,8 @@ def p_uncond(opval, va, psize = 4):\nArmCPSFlagsOper(aif) # if mode is set...\n]\n- # interrupt enable/disable (imod & 1)\n- iflags |= (IF_IE, IF_ID, IF_IE, IF_ID...
Python
Apache License 2.0
vivisect/vivisect
bugfix: imod&1 / IE/ID
718,770
22.01.2019 10:46:30
18,000
f194fd21d7f65a437f416e91e4eca8b75c06b5fd
cleanup unused IFS_* (warning, all indexes get moved up two numbers, if that matters). also, initial implementation of Exclusive LDR/STR in emu.py. may need some changes in the future.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/const.py", "new_path": "envi/archs/arm/const.py", "diff": "@@ -99,8 +99,6 @@ IFS_SYS_MODE = 1<<8 # instruction is encoded to be executed in SYSTEM mode,\nIFS = [\nNone,\n- '.f32',\n- '.f64',\n'.f32.s32',\n'.f64.s32',\n'.f32.u32',\n" }, { ...
Python
Apache License 2.0
vivisect/vivisect
cleanup unused IFS_* (warning, all indexes get moved up two numbers, if that matters). also, initial implementation of Exclusive LDR/STR in emu.py. may need some changes in the future.
718,770
22.01.2019 13:48:03
18,000
c007695ba94d148a0bc6a25a3874fec7aa590c7f
extending the logging phenom
[ { "change_type": "MODIFY", "old_path": "vivisect/impemu/platarch/arm.py", "new_path": "vivisect/impemu/platarch/arm.py", "diff": "@@ -56,7 +56,7 @@ class ArmWorkspaceEmulator(v_i_emulator.WorkspaceEmulator, e_arm.ArmEmulator):\n# parse out an opcode\ntmode = self.getFlag(PSR_T_bit)\n- #print(\"tmode...
Python
Apache License 2.0
vivisect/vivisect
extending the logging phenom
718,770
22.01.2019 18:16:27
18,000
84d057a2eced969bb898e733ce3b64cfca05dc42
renaming thumb function names: take 2.
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/__init__.py", "new_path": "vivisect/analysis/__init__.py", "diff": "@@ -35,6 +35,7 @@ def addAnalysisModules(vw):\nelif arch in ('arm', 'thumb', 'thumb16'):\nvw.addImpApi('windows','arm')\n+ vw.addFuncAnalysisModule('vivisect.analysis.arm.nam...
Python
Apache License 2.0
vivisect/vivisect
renaming thumb function names: take 2.
718,770
22.01.2019 18:17:36
18,000
30f7aa6bfd2d3047061864e5a2a925751354685d
fix: missing BLX encoding space in thumb mode! (specifically in the '1111*' bit space, where data processing instructions don't live.)
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -2122,18 +2122,22 @@ thumb2_extension = [\n('11111110', (IENC_COPROC_SIMD,'coproc simd', coproc_simd_32, IF_THUMB32)),\n('11111111', (IENC_ADVSIMD,'adv simd', adv_simd_32, I...
Python
Apache License 2.0
vivisect/vivisect
fix: missing BLX encoding space in thumb mode! (specifically in the '1111*' bit space, where data processing instructions don't live.)
718,770
23.01.2019 00:25:42
18,000
fbe85f037bc556430a6bca743590838609be55c5
revamping branch_misc() parser in thumb disasm.py
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -273,8 +273,8 @@ def branch_misc(va, val, val2): # bl and misc control\nmesg=\"branch_misc subsection 2\",\nbytez=struct.pack(\"<H\", val)+struct.pack(\"<H\", val2), va=va-4...
Python
Apache License 2.0
vivisect/vivisect
revamping branch_misc() parser in thumb disasm.py
718,770
23.01.2019 11:05:54
18,000
61694aa7b2d5d42effdfbd84dcfea4fc3e50aa05
bugfix: logger.debug
[ { "change_type": "MODIFY", "old_path": "vivisect/impemu/platarch/arm.py", "new_path": "vivisect/impemu/platarch/arm.py", "diff": "@@ -77,7 +77,7 @@ class ArmWorkspaceEmulator(v_i_emulator.WorkspaceEmulator, e_arm.ArmEmulator):\nif tmode != None:\n# we're forcing thumb or arm mode... update the flag\...
Python
Apache License 2.0
vivisect/vivisect
bugfix: logger.debug
718,770
23.01.2019 11:12:45
18,000
c90211746ac1a6398f704a2725614ac220b074b5
more logger refinement
[ { "change_type": "MODIFY", "old_path": "vivisect/analysis/arm/thunk_reg.py", "new_path": "vivisect/analysis/arm/thunk_reg.py", "diff": "@@ -174,9 +174,9 @@ def analyzeFunction(vw, fva):\ncmt = \"0x%x: %s ;\\n %s\" % (tgt, reprPointer(vw, tgt), curcmt)\nvw.setComment(va, cmt)\n- logger.debug(\"PIE XR...
Python
Apache License 2.0
vivisect/vivisect
more logger refinement
718,770
24.01.2019 12:18:41
18,000
dcd49b5ecee5d75cea9c42d33cc5ce2c8c0a7d48
moving "makeuniq" into makeName() instead of addExport.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -750,18 +750,8 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nif curval != None and curval != va:\n# if we don't force it to make a uniq name, bail\n- if not makeuni...
Python
Apache License 2.0
vivisect/vivisect
moving "makeuniq" into makeName() instead of addExport.
718,770
23.01.2019 15:46:57
18,000
2c3c59786416786f5010a738a8754f19063f7b50
handle .init_array and .fini_array
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -199,10 +199,38 @@ def loadElfIntoWorkspace(vw, elf, filename=None):\nvw.makeName(sva, \"init_function\", filelocal=True)\nvw.addEntryPoint(sva)\n+ elif sname == \".init_array\":\n+ #...
Python
Apache License 2.0
vivisect/vivisect
handle .init_array and .fini_array
718,770
24.01.2019 20:05:00
18,000
81846d3035507b8a2d03af125963ec7ec62739c9
stash fail. fixing a tuple of problems
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -5,6 +5,7 @@ import logging\nimport Elf\nimport vivisect\nimport vivisect.parsers as v_parsers\n+import envi.bits as e_bits\nfrom vivisect.const import *\n@@ -135,14 +136,14 @@ def lo...
Python
Apache License 2.0
vivisect/vivisect
stash fail. fixing a tuple of problems
718,770
24.01.2019 20:08:23
18,000
35fc67ecb9a44e081be212b7918b3b51e80b0281
make the init- and fini-array's pointers
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -207,6 +207,7 @@ def loadElfIntoWorkspace(vw, elf, filename=None):\nsecbytes = elf.readAtRva(sec.sh_addr, size)\nptr_count = 0\nfor off in range(0, size, psize):\n+ vw.makePointer(sec...
Python
Apache License 2.0
vivisect/vivisect
make the init- and fini-array's pointers
718,770
24.01.2019 20:20:13
18,000
ba01a7cbd5fd9f43b4607d527bec7b29f2d9c86d
makePointers needs baseaddr-offset to be correct.
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -205,14 +205,17 @@ def loadElfIntoWorkspace(vw, elf, filename=None):\npsize = vw.getPointerSize()\npfmt = e_bits.le_fmt_chars[psize] #FIXME: make Endian-aware (needs plumbing through ...
Python
Apache License 2.0
vivisect/vivisect
makePointers needs baseaddr-offset to be correct.
718,770
24.01.2019 21:04:01
18,000
9592825738d048af179ae397c90cddf40f270265
improved pointer following for init_array and fini_array
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -210,10 +210,10 @@ def loadElfIntoWorkspace(vw, elf, filename=None):\nptr_count = 0\nfor off in range(0, size, psize):\n- vw.makePointer(sh_addr + off)\naddr, = struct.unpack_from(pfm...
Python
Apache License 2.0
vivisect/vivisect
improved pointer following for init_array and fini_array
718,770
25.01.2019 07:51:37
18,000
dc07e983bb121b28835d0bac3b9fbe01c1b24d43
cleanup original (now unused) makeuniq arg to addExport
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -739,7 +739,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n\"\"\"\nreturn list(self.exports)\n- def addExport(self, va, etype, name, filename, makeuniq=False):\n+ ...
Python
Apache License 2.0
vivisect/vivisect
cleanup original (now unused) makeuniq arg to addExport
718,770
30.01.2019 18:27:12
18,000
8588506e532151c3eb4db3cdf8cd8160e5d27958
a few ldr/str tsize bugfixes. need to go through thumb and normalize the b/h/d/s stuff. visi's original thumb16 code doesn't line up with mine.
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -1138,12 +1138,15 @@ def strex_32(va, val1, val2):\nreturn COND_AL, None, None, opers, flags, 0\ndef ldr_32(va, val1, val2):\n+ bitsbits = (val1>>4) & 0x7\n+ tsize = (1, 0, ...
Python
Apache License 2.0
vivisect/vivisect
a few ldr/str tsize bugfixes. need to go through thumb and normalize the b/h/d/s stuff. visi's original thumb16 code doesn't line up with mine.
718,770
11.02.2019 15:37:27
18,000
752e1d946e299109d28b9c366ae2087258a69230
tweak to come in line with readMemValue() and use envi.bits.buildbytes()
[ { "change_type": "MODIFY", "old_path": "envi/memory.py", "new_path": "envi/memory.py", "diff": "@@ -204,9 +204,8 @@ class IMemory:\n'''\nWrite a number from memory of the given size.\n'''\n- efmt = e_bits.fmt_chars[self.getEndian()]\n- fmt = efmt[size]\n- return self.writeMemoryFormat(addr, fmt, val...
Python
Apache License 2.0
vivisect/vivisect
tweak to come in line with readMemValue() and use envi.bits.buildbytes()
718,770
11.02.2019 16:25:57
18,000
b526d594b2d9a08e2057dca56fa0e8154ef33ac9
basic change to allow new files to be easily added to a workspace with a specified baseaddr. no linking is currently done.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -2081,7 +2081,7 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n- def loadFromFd(self, fd, fmtname=None):\n+ def loadFromFd(self, fd, fmtname=None, baseaddr=None):\n\...
Python
Apache License 2.0
vivisect/vivisect
basic change to allow new files to be easily added to a workspace with a specified baseaddr. no linking is currently done.
718,770
11.02.2019 17:06:11
18,000
2c25dc5f2f58c8f286208f702fa3b26e8e62f048
commit fail. need all the parsers committed...
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/blob.py", "new_path": "vivisect/parsers/blob.py", "diff": "@@ -10,10 +10,11 @@ archcalls = {\n'arm':'armcall',\n}\n-def parseFd(vw, fd, filename=None):\n+def parseFd(vw, fd, filename=None, baseaddr=None):\nfd.seek(0)\narch = vw.config.viv.pars...
Python
Apache License 2.0
vivisect/vivisect
commit fail. need all the parsers committed...
718,770
13.02.2019 15:45:20
18,000
f46f11a3f9e32b794940c6c18828cb5adc2baac4
enable a "supervisor" mode where memory map permissions are ignored. useful for RELOCATIONs
[ { "change_type": "MODIFY", "old_path": "envi/memory.py", "new_path": "envi/memory.py", "diff": "@@ -405,6 +405,7 @@ class MemoryObject(IMemory):\n\"\"\"\nIMemory.__init__(self, arch=arch)\nself._map_defs = []\n+ self._supervisor = False\n#FIXME MemoryObject: def allocateMemory(self, size, perms=MM_R...
Python
Apache License 2.0
vivisect/vivisect
enable a "supervisor" mode where memory map permissions are ignored. useful for RELOCATIONs
718,770
14.02.2019 09:24:54
18,000
f07928c0f89c8f5837931cedab8da4940e4e6a6e
added: RTYPE_BASEOFF, to store offsets from 'imagebase' fixed: supervisor mode to use "with" fixed: windows relocation points to use RTPE_BASEOFF updated: vivisect.analysis.generic.relocations updated to use the new storage format.
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -303,11 +303,17 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\n'''\nreturn self.comments.items()\n- def addRelocation(self, va, rtype):\n+ def addRelocation(self, va...
Python
Apache License 2.0
vivisect/vivisect
added: RTYPE_BASEOFF, to store offsets from 'imagebase' fixed: supervisor mode to use "with" fixed: windows relocation points to use RTPE_BASEOFF updated: vivisect.analysis.generic.relocations updated to use the new storage format.
718,770
14.02.2019 10:02:18
18,000
0f2c34c602563315bb59ddf70263f342d1de3090
updated: reduction in overhead if memory is already accurate updated: using contextlib instead of home-grown class for "with" context.
[ { "change_type": "MODIFY", "old_path": "vivisect/base.py", "new_path": "vivisect/base.py", "diff": "@@ -2,6 +2,7 @@ import Queue\nimport logging\nimport traceback\nimport threading\n+import contextlib\nimport collections\nimport envi\n@@ -230,18 +231,7 @@ class VivWorkspaceCore(object,viv_impapi.Imp...
Python
Apache License 2.0
vivisect/vivisect
updated: reduction in overhead if memory is already accurate updated: using contextlib instead of home-grown class for "with" context.
718,770
14.02.2019 10:03:48
18,000
e6549564335f27e7c4bb7be31c42dfc8e94a055c
better placement for getAdminRights()
[ { "change_type": "MODIFY", "old_path": "vivisect/base.py", "new_path": "vivisect/base.py", "diff": "@@ -196,6 +196,12 @@ class VivWorkspaceCore(object,viv_impapi.ImportApi):\n'''\nself._event_saved = len(self._event_list)\n+ @contextlib.contextmanager\n+ def getAdminRights(self):\n+ self._supervisor...
Python
Apache License 2.0
vivisect/vivisect
better placement for getAdminRights()
718,770
22.02.2019 02:28:54
18,000
2de47ad24f071bf343083a333193de1bd7c2df2d
massive cleanup of arm regs... test cases bug-fixes in decoding and emulation.
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -4850,7 +4850,7 @@ class ArmExtRegListOper(ArmOperand):\nreturn None\nreglist = []\nfor regidx in xrange(self.firstreg, self.firstreg + self.count):\n- reg = emu.getRegister(REGS_VE...
Python
Apache License 2.0
vivisect/vivisect
massive cleanup of arm regs... test cases bug-fixes in decoding and emulation.
718,770
23.02.2019 17:27:27
18,000
e6b0e5b7b680fa2892c0b2a95ba2c7f7adb30b98
arm unit test enhancements (more coming...)
[ { "change_type": "MODIFY", "old_path": "envi/tests/test_arch_arm.py", "new_path": "envi/tests/test_arch_arm.py", "diff": "@@ -9,6 +9,9 @@ import envi.archs.arm as arm\nimport vivisect\nimport platform\nimport unittest\n+\n+import test_arch_arm_cmp_flags\n+\nfrom envi import IF_RET, IF_NOFALL, IF_BRA...
Python
Apache License 2.0
vivisect/vivisect
arm unit test enhancements (more coming...)
718,765
25.02.2019 16:05:14
18,000
e8ab15e051715783b31cd1dcc53a71ce26d10214
it runs at least
[ { "change_type": "MODIFY", "old_path": "envi/archs/h8/emu.py", "new_path": "envi/archs/h8/emu.py", "diff": "@@ -7,8 +7,10 @@ import logging\nimport envi\nimport envi.bits as e_bits\n+import envi.const as e_const\n+import envi.archs.h8.regs as h8_regs\n+import envi.archs.h8.const as h8_const\nfrom en...
Python
Apache License 2.0
vivisect/vivisect
it runs at least
718,770
27.02.2019 08:54:24
18,000
7a4633baec5c949f356a45fa15b6d94a400f9adf
bugfix: lsls/mov thumb decoding otherwise, mostly cosmetic logging improvements
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -681,7 +681,7 @@ def p_dp_reg_shift(opval, va):\niflags = 0\nreturn (opcode, mnem, olist, iflags, 0)\n-multfail = (None, None, None,)\n+multfail = (None, None, None, None)\niencmul_...
Python
Apache License 2.0
vivisect/vivisect
bugfix: lsls/mov thumb decoding otherwise, mostly cosmetic logging improvements
718,770
27.02.2019 14:39:49
18,000
f7cca0f90cb5b357fca6a5c644807b9e9df0fee1
improvements in ordering, ARM reloc coverage, and logging.
[ { "change_type": "MODIFY", "old_path": "Elf/__init__.py", "new_path": "Elf/__init__.py", "diff": "@@ -598,7 +598,10 @@ class Elf(vs_elf.Elf32, vs_elf.Elf64):\nreturn self.e_type == ET_EXEC\ndef __repr__(self, verbose=False):\n- \"\"\" Returns a string summary of this ELF. If (verbose) the summary wi...
Python
Apache License 2.0
vivisect/vivisect
improvements in ordering, ARM reloc coverage, and logging.
718,770
27.02.2019 14:52:38
18,000
2d5eec0aae767c95e6b19ba03ac3f0b489e0d097
reordering and breaking out Relocation processing into a function. might do with other components of loadElfIntoWorkspace()
[ { "change_type": "MODIFY", "old_path": "vivisect/parsers/elf.py", "new_path": "vivisect/parsers/elf.py", "diff": "@@ -289,108 +289,6 @@ def loadElfIntoWorkspace(vw, elf, filename=None, baseaddr=None):\nelse:\nlogger.debug(\"DYNAMIC DYNAMIC DYNAMIC\\t%r\",d)\n- # Let pyelf do all the stupid string pa...
Python
Apache License 2.0
vivisect/vivisect
reordering and breaking out Relocation processing into a function. might do with other components of loadElfIntoWorkspace()
718,770
27.02.2019 15:47:29
18,000
81f0a81d36cd5177ca8bfefddf2dbb4948321b23
want the debug message.
[ { "change_type": "MODIFY", "old_path": "vivisect/base.py", "new_path": "vivisect/base.py", "diff": "@@ -253,7 +253,7 @@ class VivWorkspaceCore(object,viv_impapi.ImportApi):\nwith self.getAdminRights():\nself.writeMemoryPtr(rva, ptr)\n- #logger.info('_handleADDRELOC: %x -> %x (map: 0x%x)', rva, ptr, ...
Python
Apache License 2.0
vivisect/vivisect
want the debug message.
718,770
27.02.2019 15:52:54
18,000
8bb375269772dac92e0253147c13bf4e5117cc7a
bugfix and log fix
[ { "change_type": "MODIFY", "old_path": "vivisect/impemu/emulator.py", "new_path": "vivisect/impemu/emulator.py", "diff": "@@ -15,7 +15,7 @@ import logging\nlogger = logging.getLogger(__name__)\n# Pre-initialize a default stack size\n-init_stack_size = 0x7fff\n+init_stack_size = 0x8000\ninit_stack_ma...
Python
Apache License 2.0
vivisect/vivisect
bugfix and log fix
718,765
13.03.2019 23:53:46
14,400
3e19a7ba218f2f8a5a846df62122a7188ebab020
Fix pyasn1 compat issue for getting cert info. Add basic stab at requirements.txt
[ { "change_type": "MODIFY", "old_path": "PE/__init__.py", "new_path": "PE/__init__.py", "diff": "@@ -1033,7 +1033,7 @@ class PE(object):\ncbytes = pyasn1.codec.der.encoder.encode( i['certificate'] )\niparts = []\n- for rdnsequence in i[\"certificate\"][\"tbsCertificate\"][\"issuer\"]:\n+ for _, rdnse...
Python
Apache License 2.0
vivisect/vivisect
Fix pyasn1 compat issue for getting cert info. Add basic stab at requirements.txt
718,765
18.03.2019 12:44:23
14,400
f27c01f73addc65ac37a25d2feea8f9057cc73c9
Bring more things into Imperial Compliance
[ { "change_type": "MODIFY", "old_path": "envi/archs/h8/parsers.py", "new_path": "envi/archs/h8/parsers.py", "diff": "@@ -206,7 +206,7 @@ def p_Rd(va, val, buf, off, tsize):\nRd = val & 0xf\nopers = (\n- H8RegDirOper(Rd, tsize, va, 0),\n+ h8_operands.H8RegDirOper(Rd, tsize, va, 0),\n)\nreturn (op, Non...
Python
Apache License 2.0
vivisect/vivisect
Bring more things into Imperial Compliance
718,765
18.03.2019 15:50:04
14,400
bd75e994209bd82f297dd8f1082a7ccf0268933d
So many little flake8 cleanups as I track down this unittest failure
[ { "change_type": "MODIFY", "old_path": "envi/cli.py", "new_path": "envi/cli.py", "diff": "@@ -456,8 +456,7 @@ class EnviCli(Cmd):\ncode.interact(local=locals)\ndef parseExpression(self, expr):\n- l = self.getExpressionLocals()\n- return long(e_expr.evaluate(expr, l))\n+ return long(e_expr.evaluate(e...
Python
Apache License 2.0
vivisect/vivisect
So many little flake8 cleanups as I track down this unittest failure
718,765
20.03.2019 09:54:39
14,400
758495a90f7b14ab5b37e92931c6509d3b51603f
Fix a bunch of flake8 and whitespace issues. And also fix some of the unittests that weren't passing
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -18,4 +18,4 @@ install:\n- \"travis_retry sudo apt-get -qq install libfreetype6-dev liblcms2-dev python-qt4 ghostscript libffi-dev libjpeg-turbo-progs cmake imagemagick\"\n- pip install msgpack-python\n-scri...
Python
Apache License 2.0
vivisect/vivisect
Fix a bunch of flake8 and whitespace issues. And also fix some of the unittests that weren't passing
718,765
20.03.2019 13:35:47
14,400
0ea236c05c0b1eb1a76ed7254b4785fdeac6311e
Another unittest works. One left I think
[ { "change_type": "MODIFY", "old_path": "envi/archs/i386/__init__.py", "new_path": "envi/archs/i386/__init__.py", "diff": "import envi\n-import envi.bits as e_bits\n-#TODO\n-# f0 0f c7 4d 00 75 f0 5d 5b - this is NOT right in disasm\n-\n-import copy\n-import struct\n-import traceback\n+# TODO: f0 0f ...
Python
Apache License 2.0
vivisect/vivisect
Another unittest works. One left I think
718,765
20.03.2019 14:39:26
14,400
34065ddbc4557c58c8e905f9a1c587e8e5d6ecee
It's a bit hacky, but all the tests pass now
[ { "change_type": "MODIFY", "old_path": "vtrace/envitools.py", "new_path": "vtrace/envitools.py", "diff": "@@ -8,11 +8,12 @@ class RegisterException(Exception):\npass\ndef cmpRegs(emu, trace):\n- for idx, name in reg_map: # TODO: Where is reg_map supposed to come from?\n+ ctx = trace.getRegisterConte...
Python
Apache License 2.0
vivisect/vivisect
It's a bit hacky, but all the tests pass now
718,765
25.03.2019 12:19:19
14,400
0b69b648d81b4f67fc3c61921d3fdf9a3848fd90
Flake8. Fix exception 'long object has not attribute kids' for gcc-7 binary. Add coveragerc for getting code coverage and update gitignore
[ { "change_type": "ADD", "old_path": null, "new_path": ".coveragerc", "diff": "+[run]\n+branch=True\n+\n+[report]\n+omit =\n+ */vdb/qt/*\n+ */envi/qt/*\n+ */vstruct/qt/*\n+ */vivisect/qt/*\n+ */visgraph/drawing/*\n+ */vdb/tests/__init__.py\n+ */vdb/tests/teststalker.py*\n+ */vtrace/qt.py\n+ */vivisec...
Python
Apache License 2.0
vivisect/vivisect
Flake8. Fix exception 'long object has not attribute kids' for gcc-7 binary. Add coveragerc for getting code coverage and update gitignore
718,765
26.03.2019 15:15:44
14,400
a179a88c69e4d3851bd530f6ea213d893bbd04b3
Even more flake8 and more instructions plumbed through symboliks
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -903,8 +903,6 @@ class Emulator(e_reg.RegisterContext, e_mem.MemoryObject):\nreturn res\n-\n-\nclass CallingConvention(object):\n'''\nBase class for all calling conventions. You must define class l...
Python
Apache License 2.0
vivisect/vivisect
Even more flake8 and more instructions plumbed through symboliks
718,765
26.03.2019 16:03:41
14,400
5ab71f0753e0e2073cc2328c1cc458c33d5468eb
Translate eflags_df to algebra
[ { "change_type": "MODIFY", "old_path": "vivisect/symboliks/archs/i386.py", "new_path": "vivisect/symboliks/archs/i386.py", "diff": "@@ -158,22 +158,22 @@ class IntelSymbolikTranslator(vsym_trans.SymbolikTranslator):\nelif isinstance(oper, e_i386.i386SibOper):\nbase = None\n- if oper.imm != None:\n+ ...
Python
Apache License 2.0
vivisect/vivisect
Translate eflags_df to algebra
718,765
26.03.2019 17:03:56
14,400
c48f52a327d48a9dcb1575c603742fa59057ab77
add more mov types and cwde
[ { "change_type": "MODIFY", "old_path": "vivisect/symboliks/archs/i386.py", "new_path": "vivisect/symboliks/archs/i386.py", "diff": "@@ -512,8 +512,15 @@ class IntelSymbolikTranslator(vsym_trans.SymbolikTranslator):\no = self.getOperObj(op, 1)\nself.setOperObj(op, 0, o)\n+ # All of these mov's are te...
Python
Apache License 2.0
vivisect/vivisect
add more mov types and cwde
718,765
01.04.2019 15:13:13
14,400
19cd2afd5f14b73a1abc816ac07286ef23b9d258
Even more flake8. Chagne Constraints into inheriting from Operator, which makes things a little cleaner and opens up more avenues for using eflags in algebra.
[ { "change_type": "MODIFY", "old_path": "vivisect/qt/symboliks.py", "new_path": "vivisect/qt/symboliks.py", "diff": "@@ -11,7 +11,6 @@ import vivisect.symboliks.common as viv_sym_common\nimport vivisect.symboliks.effects as viv_sym_effects\nimport vivisect.symboliks.analysis as viv_sym_analysis\nimpo...
Python
Apache License 2.0
vivisect/vivisect
Even more flake8. Chagne Constraints into inheriting from Operator, which makes things a little cleaner and opens up more avenues for using eflags in algebra.
718,765
01.04.2019 16:19:25
14,400
569e188bed2480bf440461df48e704c671292685
Speeeling and aesthetics
[ { "change_type": "MODIFY", "old_path": "envi/registers.py", "new_path": "envi/registers.py", "diff": "@@ -346,8 +346,8 @@ class RegisterContext:\n(used when setting a meta register)\n'''\nridx = index & 0xffff\n- offset = (index >> 24) & 0xff\nwidth = (index >> 16) & 0xff\n+ offset = (index >> 24) &...
Python
Apache License 2.0
vivisect/vivisect
Speeeling and aesthetics
718,765
02.04.2019 13:39:18
14,400
4b03a506832e44627f61ab0425a58481f3fd45ff
add better(?) divide instr for x86/x86_64 and moar tests for constraints
[ { "change_type": "MODIFY", "old_path": "envi/__init__.py", "new_path": "envi/__init__.py", "diff": "@@ -298,6 +298,12 @@ class DivideByZero(EmuException):\na 0 divisor...\n\"\"\"\n+class DivideError(EmuException):\n+ \"\"\"\n+ Raised by an Emulator whena a divide falls out\n+ of the specified range....
Python
Apache License 2.0
vivisect/vivisect
add better(?) divide instr for x86/x86_64 and moar tests for constraints
718,765
02.04.2019 13:45:37
14,400
b7cc431b8a48f0939f3549d79405f4b595492b50
quick doc on testing
[ { "change_type": "ADD", "old_path": null, "new_path": "TESTING.md", "diff": "+## Running the unit tests\n+\n+```\n+mkdir code\n+cd code\n+git clone https://github.com/vivisect/vivisect\n+git clone https://github.com/vivisect/vivtestfiles\n+cd vivisect\n+VIVTESTFILES=../vivtestfiles python2 -m unitte...
Python
Apache License 2.0
vivisect/vivisect
quick doc on testing
718,765
02.04.2019 16:11:42
14,400
a12e9d9bff3a3d5b11c074b7087132538b3b50f6
Be more aggressive about reduction for equality
[ { "change_type": "MODIFY", "old_path": "vivisect/symboliks/common.py", "new_path": "vivisect/symboliks/common.py", "diff": "@@ -916,6 +916,11 @@ class Constraint(Operator):\ndef __repr__(self):\nreturn '%s(%s,%s)' % (self.__class__.__name__, repr(self.kids[0]), repr(self.kids[1]))\n+ def _solve(self...
Python
Apache License 2.0
vivisect/vivisect
Be more aggressive about reduction for equality
718,765
03.04.2019 10:51:08
14,400
deaef8c2e73f5e1d352247a91d8b424c5412bf22
add more of the setcc instructions. TODO: figure out a good scheme for setting the PF bit
[ { "change_type": "MODIFY", "old_path": "vivisect/symboliks/archs/i386.py", "new_path": "vivisect/symboliks/archs/i386.py", "diff": "@@ -692,17 +692,110 @@ class IntelSymbolikTranslator(vsym_trans.SymbolikTranslator):\nself.effSetVariable('eflags_eq', eq(v1, v2)) # v1 - v2 == 0 :: v1 == v2\nself.setO...
Python
Apache License 2.0
vivisect/vivisect
add more of the setcc instructions. TODO: figure out a good scheme for setting the PF bit
718,765
03.04.2019 12:03:26
14,400
f1c73a3e22bd2a552fd75ab981aaaa2e5fc0bc6e
add link to what I think is the datasheet for h8 we're basing our disassembler off of (old link is dead)
[ { "change_type": "MODIFY", "old_path": "envi/archs/h8/__init__.py", "new_path": "envi/archs/h8/__init__.py", "diff": "@@ -46,7 +46,8 @@ class H8Module(envi.ArchitectureModule):\nimport envi.archs.h8.emu as h8_emu\nreturn h8_emu.H8Emulator()\n-\n+# https://www.renesas.com/us/en/doc/products/mpumcu/00...
Python
Apache License 2.0
vivisect/vivisect
add link to what I think is the datasheet for h8 we're basing our disassembler off of (old link is dead)
718,765
03.04.2019 22:01:05
14,400
4583b6774da89ce4f442be19d720dd0fb8ac69db
Fixes as per atlas
[ { "change_type": "MODIFY", "old_path": "envi/archs/h8/__init__.py", "new_path": "envi/archs/h8/__init__.py", "diff": "@@ -61,7 +61,6 @@ memreg_h8s = { # from rej06b0824_h8sap.pdf (h8s/2400). uncommented entries fro\n0xffffa3: 'TDR_2',\n0xffffa4: 'SSR_2',\n0xffffa5: 'RDR_2',\n- # 0xffffa8: 'WDT_0', #...
Python
Apache License 2.0
vivisect/vivisect
Fixes as per atlas
718,765
05.04.2019 10:18:54
14,400
1e2e528dc9bc6cf913d04ab3175caa2e66118bb6
Comment out dead func
[ { "change_type": "MODIFY", "old_path": "vtrace/envitools.py", "new_path": "vtrace/envitools.py", "diff": "@@ -51,7 +51,7 @@ def lockStepEmulator(emu, trace):\ncmpRegs(emu, trace)\nexcept RegisterException, msg:\nprint \"Lockstep Error: %s: %s\" % (repr(op),msg)\n- setRegs(emu, trace)\n+ # setRegs(em...
Python
Apache License 2.0
vivisect/vivisect
Comment out dead func
718,770
10.04.2019 14:52:29
14,400
bb818f8617b74f1245de374f90f4096eb3e33fe6
start for adv_simd_ldst
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -2866,6 +2866,130 @@ adv_simd_2regs_misc = (\n('vcvt', INS_VCVT, ADV_SIMD_F32S32+1, 0,0, 0),\n)\n+\n+def adv_simd_ldst_32(val, va):\n+ u = (val>>24) & 1\n+ return _do_adv_simd_ldst_...
Python
Apache License 2.0
vivisect/vivisect
start for adv_simd_ldst
718,765
15.04.2019 15:01:50
14,400
d301637cddd722823344b430d1aa890f01d7aadd
Fix an issue with _div
[ { "change_type": "MODIFY", "old_path": "vivisect/__init__.py", "new_path": "vivisect/__init__.py", "diff": "@@ -1801,8 +1801,8 @@ class VivWorkspace(e_mem.MemoryObject, viv_base.VivWorkspaceCore):\nat the specified location (or -1 if no terminator\nis found in the memory map)\n\"\"\"\n- offset,bytes...
Python
Apache License 2.0
vivisect/vivisect
Fix an issue with _div
718,770
16.04.2019 15:49:15
14,400
c7e01f61a3ebf6274be5a6383cb38013d7a42943
inc size for ArmExtRegListOper
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -4933,10 +4933,11 @@ class ArmExtRegListOper(ArmOperand):\n'''\nextended register list: Vector/FP registers\n'''\n- def __init__(self, firstreg, count, size):\n+ def __init__(self, ...
Python
Apache License 2.0
vivisect/vivisect
inc size for ArmExtRegListOper
718,770
16.04.2019 15:49:37
14,400
ba09790b36cbdd461f4b68596e675d9499309a8a
start on adv_simd_ldst_32
[ { "change_type": "MODIFY", "old_path": "envi/archs/thumb16/disasm.py", "new_path": "envi/archs/thumb16/disasm.py", "diff": "@@ -1779,12 +1779,19 @@ def coproc_simd_32(va, val1, val2):\nreturn COND_AL, opcode, mnem, opers, iflags, simdflags\n-from envi.archs.arm.disasm import _do_adv_simd_32, _do_fp_...
Python
Apache License 2.0
vivisect/vivisect
start on adv_simd_ldst_32
718,765
17.04.2019 12:33:44
14,400
d6d235a4008a6acbf7082a46dbecf56e8a582c95
little more py3 compat thanks to atlas
[ { "change_type": "MODIFY", "old_path": "vtrace/notifiers.py", "new_path": "vtrace/notifiers.py", "diff": "@@ -45,7 +45,7 @@ class Notifier(object):\nclass VerboseNotifier(Notifier):\ndef notify(self, event, trace):\n- print \"PID %d - ThreadID (%d) got\" % (trace.getPid(), trace.getMeta(\"ThreadId\"...
Python
Apache License 2.0
vivisect/vivisect
little more py3 compat thanks to atlas
718,770
21.04.2019 22:30:18
14,400
e96e275783c7b790a233217b43945d6d19740ac6
BugFix: ASR/LSR disasm/emu updates
[ { "change_type": "MODIFY", "old_path": "envi/archs/arm/disasm.py", "new_path": "envi/archs/arm/disasm.py", "diff": "@@ -231,6 +231,9 @@ def p_dp_imm_shift(opval, va):\nif (ocode == INS_MOV) and ((shval != 0) or (shtype != S_LSL)):\nmnem, opcode = dp_shift_mnem[shtype]\nif shtype != S_RRX: #if not rr...
Python
Apache License 2.0
vivisect/vivisect
BugFix: ASR/LSR disasm/emu updates
718,765
23.04.2019 10:16:01
14,400
ca94ba743811d134258897ecefa26435dbed1d09
Add more relocations types to PE files (need moar). Fix potential bug in reloc analysis pass (that thankfully never triggered b/c we never used that case. flake8 fixes. moar instructions for symboliks
[ { "change_type": "MODIFY", "old_path": "envi/archs/amd64/vmcslookup.py", "new_path": "envi/archs/amd64/vmcslookup.py", "diff": "@@ -145,6 +145,4 @@ VMCS_NAMES = {\n0x6812: 'Host_IA32_SYSENTER_EIP',\n0x6814: 'Host_RSP',\n0x6816: 'Host_RIP',\n-\n-\n}\n" }, { "change_type": "MODIFY", "old_p...
Python
Apache License 2.0
vivisect/vivisect
Add more relocations types to PE files (need moar). Fix potential bug in reloc analysis pass (that thankfully never triggered b/c we never used that case. flake8 fixes. moar instructions for symboliks
718,765
23.04.2019 13:03:07
14,400
463529d665555c44acb68ca6358165c6a034b6e3
No cdq for i386 right now. Need other plumbing. add xorp* insts
[ { "change_type": "MODIFY", "old_path": "vivisect/symboliks/archs/i386.py", "new_path": "vivisect/symboliks/archs/i386.py", "diff": "@@ -586,6 +586,7 @@ class IntelSymbolikTranslator(vsym_trans.SymbolikTranslator):\n# actual mathematical operation\ni_movnti = i_mov\ni_movq = i_mov\n+ i_movd = i_mov\n...
Python
Apache License 2.0
vivisect/vivisect
No cdq for i386 right now. Need other plumbing. add xorp* insts