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 |
|---|---|---|---|---|---|---|---|---|---|
491,609 | 03.06.2020 12:35:54 | -7,200 | 0befbc9586139e451890ceec08a2d737259c0628 | Update serialization of the OSCORE option. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/oscore.c",
"new_path": "openweb/opencoap/oscore.c",
"diff": "@@ -43,7 +43,10 @@ uint8_t oscore_construct_aad(uint8_t *buffer,\nuint8_t optionsSerializedLen);\nvoid oscore_encode_compressed_COSE(OpenQueueEntry_t *msg,\n- uint8_t *requestSeq, ui... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Update serialization of the OSCORE option. |
491,609 | 03.06.2020 15:34:47 | -7,200 | 277b71d1964113b2e96230a603816b46046d51ee | Update OSCORE option parsing. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "@@ -118,6 +118,8 @@ void coap_receive(OpenQueueEntry_t *msg) {\ncoap_option_iht *proxyScheme;\ncoap_option_iht *statelessProxy;\nuint16_t rcvdSequenceNumber;\n+ uint8_t *rcvdKidContext;\... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Update OSCORE option parsing. |
491,609 | 03.06.2020 18:14:12 | -7,200 | fff9adf87699c37b26ec67a612ea1e352807b54a | Update plaintext and nonce constructs. | [
{
"change_type": "MODIFY",
"old_path": "openapps/cjoin/cjoin.c",
"new_path": "openapps/cjoin/cjoin.c",
"diff": "@@ -282,8 +282,10 @@ owerror_t cjoin_sendJoinRequest(open_addr_t *joinProxy) {\noptions[1].pValue = (uint8_t *) cjoin_path0;\n// object security option\n- // length and value are set by th... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Update plaintext and nonce constructs. |
491,609 | 03.06.2020 18:43:11 | -7,200 | 0058e49c359f5797967bdebf2ec7d85eee8b7108 | Include ID Context in context lookup. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "@@ -242,7 +242,9 @@ void coap_receive(OpenQueueEntry_t *msg) {\ndo {\nif (temp_desc->securityContext != NULL &&\ntemp_desc->securityContext->recipientIDLen == rcvdKidLen &&\n- memcmp(rcv... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Include ID Context in context lookup. |
491,609 | 03.06.2020 19:26:39 | -7,200 | 46762b4eedc3c33aff7bb51503d53b0ce66ac62f | When initializing the context, copy idContext param. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/oscore.c",
"new_path": "openweb/opencoap/oscore.c",
"diff": "@@ -90,6 +90,9 @@ void oscore_init_security_context(oscore_security_context_t *ctx,\n// common context\nctx->aeadAlgorithm = AES_CCM_16_64_128;\n+ memcpy(ctx->idContext, idContext, i... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. When initializing the context, copy idContext param. |
491,609 | 03.06.2020 19:26:52 | -7,200 | 7b4043306e54053cf39dabf82a0bdb2835bf24fe | Remove redundant macro. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.h",
"new_path": "openweb/opencoap/coap.h",
"diff": "@@ -45,8 +45,6 @@ static const uint8_t ipAddr_ringmaster[] = {0xbb, 0xbb, 0x00, 0x00, 0x00, 0x00,\n#define OSCOAP_MASTER_SECRET_LEN 16\n-#define OSCOAP_MAX_MASTER_SALT_LEN 0\n-\n#define ... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Remove redundant macro. |
491,609 | 03.06.2020 19:30:19 | -7,200 | 3c12947a9e94b2e1b298a2a6ceaf4d8a9ed01a81 | Encode kid and kidContext based on pointer value, not length that can be zero.
This allows zero-length byte string to be encoded. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/oscore.c",
"new_path": "openweb/opencoap/oscore.c",
"diff": "@@ -621,13 +621,13 @@ uint8_t oscore_encode_compressed_COSE(uint8_t *buf,\ntmp = buf;\n- if (kidLen != 0) {\n+ if (kid != NULL) {\nk = 1;\n} else {\nk = 0;\n}\n- if (kidContextLen !=... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Encode kid and kidContext based on pointer value, not length that can be zero.
This allows zero-length byte string to be encoded. |
491,609 | 04.06.2020 10:18:25 | -7,200 | 91795b40db838d50749a5080c46552ddad972dd2 | OSCORE changes the value of CoAP code to POST/2.04. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "@@ -427,7 +427,7 @@ void coap_receive(OpenQueueEntry_t *msg) {\nencStatus = oscore_protect_message(\ntemp_desc->securityContext,\nCOAP_VERSION,\n- coap_header.Code,\n+ &coap_header.Code,... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. OSCORE changes the value of CoAP code to POST/2.04. |
491,609 | 05.06.2020 15:29:37 | -7,200 | 2c73cadbbd7db69f83c83248d8afe446c3d4a0f7 | OSCORE responses may contain empty OSCOR option value. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/oscore.c",
"new_path": "openweb/opencoap/oscore.c",
"diff": "@@ -420,17 +420,27 @@ owerror_t oscore_parse_compressed_COSE(uint8_t *buffer,\nuint8_t **kid,\nuint8_t *kidLen)\n{\n+ uint8_t tmp[0];\n+ uint8_t *ptr;\nuint8_t index;\nuint8_t n;\nui... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. OSCORE responses may contain empty OSCOR option value. |
491,609 | 05.06.2020 16:35:57 | -7,200 | bb2626db9a545c80fd6e76277d795bbd3aba8b41 | Update security context derivation according to minimal-security-15 draft. | [
{
"change_type": "MODIFY",
"old_path": "openapps/cjoin/cjoin.c",
"new_path": "openapps/cjoin/cjoin.c",
"diff": "@@ -94,26 +94,20 @@ void cjoin_init(void) {\n}\nvoid cjoin_init_security_context(void) {\n- uint8_t senderID[9];\n- uint8_t recipientID[9];\n+ uint8_t idContext[8];\n+ uint8_t recipientID[... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Update security context derivation according to minimal-security-15 draft. |
491,609 | 05.06.2020 16:36:30 | -7,200 | 3cff5151824defabde3bc612db7db8a848b876b8 | Sort CoAP options in cjoin. | [
{
"change_type": "MODIFY",
"old_path": "openapps/cjoin/cjoin.c",
"new_path": "openapps/cjoin/cjoin.c",
"diff": "@@ -270,16 +270,16 @@ owerror_t cjoin_sendJoinRequest(open_addr_t *joinProxy) {\noptions[0].length = sizeof(jrcHostName) - 1;\noptions[0].pValue = (uint8_t *) jrcHostName;\n- // location-p... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Sort CoAP options in cjoin. |
491,609 | 01.07.2020 13:44:47 | -7,200 | 614f78117566d62e6926568dabc2cdcf0f5215c7 | Align oscore with new packetfunctions API. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/oscore.c",
"new_path": "openweb/opencoap/oscore.c",
"diff": "@@ -210,7 +210,7 @@ owerror_t oscore_protect_message(\ncoap_options_encode(msg, incomingOptions, incomingOptionsLen, COAP_OPTION_CLASS_E);\n// encode CoAP code\n- packetfunctions_res... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Align oscore with new packetfunctions API. |
491,609 | 01.07.2020 14:28:10 | -7,200 | 8300cee13f35812d275b0603520709d16c8ae7c4 | Set CoAP token length to 1 to facilitate Wireshark debug. | [
{
"change_type": "MODIFY",
"old_path": "openapps/cjoin/cjoin.c",
"new_path": "openapps/cjoin/cjoin.c",
"diff": "@@ -312,7 +312,7 @@ owerror_t cjoin_sendJoinRequest(open_addr_t *joinProxy) {\npkt,\nCOAP_TYPE_NON,\nCOAP_CODE_REQ_POST,\n- 0, // token len\n+ 1, // token len\noptions,\n4, // options len\... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-880. Set CoAP token length to 1 to facilitate Wireshark debug. |
491,595 | 05.08.2020 17:24:14 | -7,200 | b3f09f8605bc655e7e4035a20e28b5392ac370ff | create bsp_radio_ble for nrf52840 to transmit and receive ibeacon | [
{
"change_type": "MODIFY",
"old_path": "bsp/boards/nrf52840/radio.c",
"new_path": "bsp/boards/nrf52840/radio.c",
"diff": "#include \"board_info.h\"\n#include \"debugpins.h\"\n#include \"sctimer.h\"\n+#include \"radio_ble.h\"\n//=========================== defines ====================================... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-882. create bsp_radio_ble for nrf52840 to transmit and receive ibeacon |
491,595 | 06.08.2020 13:26:35 | -7,200 | 0a1316b986a89abe04c78b47486b548a391009b2 | form ibeacon packet. | [
{
"change_type": "MODIFY",
"old_path": "projects/nrf52840/01bsp_radio_ble/01bsp_radio_ble.c",
"new_path": "projects/nrf52840/01bsp_radio_ble/01bsp_radio_ble.c",
"diff": "@@ -26,10 +26,21 @@ end of frame event), it will turn on its error LED.\n//=========================== defines ===================... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-882. form ibeacon packet. |
491,595 | 06.08.2020 13:48:13 | -7,200 | 6355c741b11473a5bab3331af760ddad76719f00 | mark MAX_PAYLOAD_SIZE to 127 | [
{
"change_type": "MODIFY",
"old_path": "bsp/boards/nrf52840/radio.c",
"new_path": "bsp/boards/nrf52840/radio.c",
"diff": "#define RADIO_CRCINIT_24BIT 0x555555\n#define RADIO_CRCPOLY_24BIT 0x0000065B /// ref: https://devzone.nordicsemi.com/f/nordic-q-a/44111/crc-register-values-for-a-24-bit-crc\n-#de... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-882. mark MAX_PAYLOAD_SIZE to 127 |
491,595 | 06.08.2020 13:51:13 | -7,200 | f02d97cfc33c7fefd2c0210656ee4ba191e26dce | beacon sending speed x2 | [
{
"change_type": "MODIFY",
"old_path": "projects/nrf52840/01bsp_radio_ble/01bsp_radio_ble.c",
"new_path": "projects/nrf52840/01bsp_radio_ble/01bsp_radio_ble.c",
"diff": "@@ -27,7 +27,7 @@ end of frame event), it will turn on its error LED.\n#define LENGTH_PACKET 125+LENGTH_CRC ///< maximum length is... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-882. beacon sending speed x2 |
491,595 | 10.08.2020 13:45:29 | -7,200 | 80eeb936e5dcc1245f4c1ac5830672654965de9f | Fixed the compilation error for drv_openserail project | [
{
"change_type": "MODIFY",
"old_path": "bsp/boards/openmote-b-24ghz/cc2538sf53.lds",
"new_path": "bsp/boards/openmote-b-24ghz/cc2538sf53.lds",
"diff": "@@ -53,6 +53,9 @@ SECTIONS\n*(.bss*)\n*(COMMON)\n_ebss = .;\n+ __bss_end__ = .;\n+ _end = __bss_end__;\n+ end = _end;\n} > SRAM\n.flashcca :\n"
},... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-833. Fixed the compilation error for drv_openserail project |
491,595 | 17.08.2020 15:45:49 | -7,200 | 3aa498c53f10fd556d220d8729c7b88aabc979c3 | commit radio_ble.h file. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "bsp/boards/nrf52840/radio_ble.h",
"diff": "+#ifndef __RADIO_BLE_H\n+#define __RADIO_BLE_H\n+\n+/**\n+\n+\\brief declaration \"radio_ble\" bsp module.\n+\n+\\author Tengfei Chang <tengfei.chang@inria.fr>, August 2020.\n+*/\n+\n+//================... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-882. commit radio_ble.h file. |
491,587 | 27.08.2020 12:34:54 | -7,200 | 3d518ec0ba4596ffb8147ee3922714c46409d7b9 | Remove unused IDE options | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -9,7 +9,6 @@ import SCons\nimport colorama as c\nimport distutils.sysconfig\nimport sconsUtils\n-from tools import qtcreator as q\nImport('env')\n@@ -611,12 +610,6 @@ else:\nprint c.Fore.RED + 'Unexpected tool... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Remove unused IDE options |
491,587 | 27.08.2020 12:40:35 | -7,200 | 1cd6a3c8d838fc22a0f3984cdd80a95384bc6884 | Move FASTSIM switch to config.h + add checks to check_config.h | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -574,9 +574,6 @@ elif env['toolchain'] == 'gcc':\nif env['board'] in ['python']:\nenv.Append(CPPDEFINES='OPENSIM')\n- if env['fastsim'] == 1:\n- env.Append(CPPDEFINES='FASTSIM')\n-\nif os.name != 'nt':\nif env... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Move FASTSIM switch to config.h + add checks to check_config.h |
491,587 | 27.08.2020 12:41:34 | -7,200 | dd2c70524888b3d291cbe2369a0b9080a47fb6e3 | Move DEADLINE_OPTION to config.h | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -89,8 +89,6 @@ if env['dagroot'] == 1:\nenv.Append(CPPDEFINES='DAGROOT')\nif env['atmel_24ghz'] == 1:\nenv.Append(CPPDEFINES='ATMEL_24GHZ')\n-if env['deadline_option'] == 1:\n- env.Append(CPPDEFINES='DEADLINE_... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Move DEADLINE_OPTION to config.h |
491,587 | 27.08.2020 12:53:14 | -7,200 | b833f6758c7784f2e8bdf5ed263a574b7c2dcaab | Move DAGROOT switch to config.h | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -85,8 +85,6 @@ dummyFunc = Builder(action='', suffix='.ihex')\n# add the build variables\nif env['panid']:\nenv.Append(CPPDEFINES={'PANID_DEFINED': env['panid']})\n-if env['dagroot'] == 1:\n- env.Append(CPPDEF... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Move DAGROOT switch to config.h |
491,587 | 27.08.2020 14:00:18 | -7,200 | 06fdefec6eb6ddeed5e55f224e6d0d3b10ca1a12 | Remove eclipse project file | [
{
"change_type": "DELETE",
"old_path": ".project",
"new_path": null,
"diff": "-<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n-<projectDescription>\n- <name>openos</name>\n- <comment></comment>\n- <projects>\n- </projects>\n- <buildSpec>\n- <buildCommand>\n- <name>org.eclipse.cdt.managedbuilder.core.Sc... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Remove eclipse project file |
491,587 | 27.08.2020 14:02:13 | -7,200 | 34e72813c7da120660811add12b49e1341284219 | Remove unused debug flag | [
{
"change_type": "MODIFY",
"old_path": "SConstruct",
"new_path": "SConstruct",
"diff": "@@ -125,7 +125,6 @@ command_line_options = {\n'simhost': ['amd64-linux', 'x86-linux', 'amd64-windows', 'x86-windows'],\n'simhostpy': [''], # No reasonable default\n'panid': [''],\n- 'debug': ['0', '1'],\n'atmel_2... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Remove unused debug flag |
491,587 | 27.08.2020 14:02:32 | -7,200 | eae24a91c40039f75a9f947a6c4096233eff338b | Move PANID to config.h | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -83,8 +83,6 @@ if env['board'] != 'python':\ndummyFunc = Builder(action='', suffix='.ihex')\n# add the build variables\n-if env['panid']:\n- env.Append(CPPDEFINES={'PANID_DEFINED': env['panid']})\nif env['atme... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Move PANID to config.h |
491,587 | 27.08.2020 14:26:52 | -7,200 | 1745e59207ea84b68137c1e4b0e712ebab2f2c1b | fix warnings in doxygen | [
{
"change_type": "MODIFY",
"old_path": "docs/Doxyfile",
"new_path": "docs/Doxyfile",
"diff": "@@ -1821,18 +1821,6 @@ GENERATE_XML = NO\nXML_OUTPUT = xml\n-# The XML_SCHEMA tag can be used to specify a XML schema, which can be used by a\n-# validating XML parser to check the syntax of the XML files.\... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | fix warnings in doxygen |
491,587 | 27.08.2020 14:48:22 | -7,200 | d8c2a40380f5db9eca30dc297117d14939d80680 | Add compile flags for apps and modules | [
{
"change_type": "MODIFY",
"old_path": "SConstruct",
"new_path": "SConstruct",
"diff": "@@ -49,6 +49,10 @@ project:\n(MinGW on Windows build host).\nmspgcc, iar, iar-proj, gcc\n+ Software modules/apps to include:\n+ modules A comma, separated list of modules to include in the build.\n+ apps A comma,... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Add compile flags for apps and modules |
491,587 | 27.08.2020 15:48:12 | -7,200 | 4210b121a2035f9a372ffbdf55f25209b5522631 | Split stack modules and stack configuration
Move ADAPTIVE-MSF to stack conf | [
{
"change_type": "MODIFY",
"old_path": "inc/config.h",
"new_path": "inc/config.h",
"diff": "#endif\n-// ======================== Stack configuration ========================\n+// ========================== Stack modules ===========================\n/**\n* \\def OPENWSN_UDP_C\n#endif\n#endif\n-\n-/**... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Split stack modules and stack configuration
Move ADAPTIVE-MSF to stack conf |
491,587 | 27.08.2020 15:48:53 | -7,200 | 38d4939725c1ed06a1df3f532715c532662a1d34 | Add compile flags for apps, modules, stack conf., and board options | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -61,6 +61,65 @@ else:\nprint c.Fore.RED + \"Unsupported board: {}\".format(env['board']) + c.Fore.RESET\nExit(-1)\n+# check which modules we have to include in the build\n+if 'coap' in env['modules'].split(','... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Add compile flags for apps, modules, stack conf., and board options |
491,587 | 31.08.2020 17:10:34 | -7,200 | 83560a2538834389bba57d732d1af093fec2fe6f | Move deadline option to stack configuration in config.h + fix ifdef bug | [
{
"change_type": "MODIFY",
"old_path": "inc/config.h",
"new_path": "inc/config.h",
"diff": "#define OPENWSN_UDP_C (0)\n#endif\n-/**\n- * \\def OPENWSN_DEADLINE_OPTION\n- *\n- * Activates IPv6 DEADLINE OPTION.\n- *\n- */\n-#ifdef OPENWSN_DEADLINE_OPTION\n-#define OPENWSN_DEADLINE_OPTION (0)\n-#endif\... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Move deadline option to stack configuration in config.h + fix ifdef bug |
491,587 | 31.08.2020 17:11:07 | -7,200 | 60c4c128814cbca297fb02c99e8aca4e08748989 | Move python build scripts to "Scripts" folder + announce footprint scripts | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "scripts/README.md",
"diff": "+# OpenWSN-FW Scripts\n+\n+This folder contains scripts for building the firmware an analysis of the code footprint.\n+\n+- **site_scons**: SCons build scripts\n+- **footprints**: script to analyze\n\\ No newline at ... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Move python build scripts to "Scripts" folder + announce footprint scripts |
491,587 | 01.09.2020 11:22:25 | -7,200 | 5e3e1d9d72ce0b65cd5d5afca0e354745ffa6b47 | Enables stackcfg options + logging option + optimization flag option | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -119,6 +119,26 @@ if 'printf' in env['boardopt'].split(','):\nif 'fastsim' in env['boardopt'].split(','):\nenv.Append(CPPDEFINES='BOARD_FASTSIM_ENABLED')\n+# set logging level OpenWSN\n+env.Append(CPPDEFINES='... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Enables stackcfg options + logging option + optimization flag option |
491,587 | 03.09.2020 09:48:07 | -7,200 | 0bb73aa849b3952f4dfee075db3cb2dc595cf608 | Fix PANID configuration option | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -137,6 +137,8 @@ for option in env['stackcfg'].split(','):\nenv.Append(CPPDEFINES='ADAPTIVE_MSF')\nelif name == 'channel':\nenv.Append(CPPDEFINES='IEEE802154E_SINGLE_CHANNEL={}'.format(value))\n+ elif name == ... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Fix PANID configuration option |
491,587 | 16.09.2020 12:34:12 | -7,200 | 5cb896d27b4627883069e00a6e1f2c3c65b0c74e | Fix linker issue IoT-Lab_M3 and IoT-Lab-A8_M3 | [
{
"change_type": "MODIFY",
"old_path": "SConscript",
"new_path": "SConscript",
"diff": "@@ -455,6 +455,8 @@ elif env['toolchain'] == 'armgcc':\nenv.Append(LINKFLAGS='-mthumb')\nenv.Append(LINKFLAGS='-mthumb-interwork')\nenv.Append(LINKFLAGS='-nostartfiles')\n+ env.Append(LINKFLAGS='-specs=nosys.spec... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Fix linker issue IoT-Lab_M3 and IoT-Lab-A8_M3 |
491,587 | 19.08.2020 10:20:31 | -7,200 | c06d4219aa9bcdbd5e71df6e89b1bcaa76230106 | Update openapps/uinject to new socket API | [
{
"change_type": "MODIFY",
"old_path": "openapps/uinject/uinject.c",
"new_path": "openapps/uinject/uinject.c",
"diff": "#include \"opendefs.h\"\n#include \"uinject.h\"\n-#include \"openqueue.h\"\n+#include \"sock.h\"\n+#include \"async.h\"\n#include \"openserial.h\"\n#include \"packetfunctions.h\"\n... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-878. Update openapps/uinject to new socket API |
491,587 | 19.08.2020 10:21:30 | -7,200 | 5073643d6c686964caae3c02bcfa43ec05718396 | Update openapps/uexpiration_monitor to use new socket API | [
{
"change_type": "MODIFY",
"old_path": "openapps/uexpiration_monitor/uexpiration_monitor.c",
"new_path": "openapps/uexpiration_monitor/uexpiration_monitor.c",
"diff": "#include \"opendefs.h\"\n#include \"uexpiration_monitor.h\"\n-#include \"openqueue.h\"\n+#include \"sock.h\"\n+#include \"async.h\"\... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | FW-878. Update openapps/uexpiration_monitor to use new socket API |
491,609 | 29.09.2020 19:26:37 | -7,200 | 1045000d087c150c90da6aec9f498779018fc086 | coap: Implement the handler of socket receive. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "@@ -51,6 +51,8 @@ void coap_forward_message(OpenQueueEntry_t *msg,\nopen_addr_t *destIP,\nuint16_t destPortNumber);\n+void coap_sock_handler(sock_udp_t *sock, sock_async_flags_t type, vo... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | coap: Implement the handler of socket receive. |
491,609 | 30.09.2020 16:10:27 | -7,200 | a14c3591b07f9f5ba52d6dc7c6bc42468e740171 | coap: Implement internal wrapper over the sock send. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "@@ -53,6 +53,8 @@ void coap_forward_message(OpenQueueEntry_t *msg,\nvoid coap_sock_handler(sock_udp_t *sock, sock_async_flags_t type, void *arg);\n+owerror_t coap_sock_send_internal(Open... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | coap: Implement internal wrapper over the sock send. |
491,609 | 30.09.2020 16:11:05 | -7,200 | 8dd409e4878ba372e6e5c8093778e07e7ae72233 | forwarding: Remove assumption on cjoin metadata. | [
{
"change_type": "MODIFY",
"old_path": "openstack/03b-IPv6/forwarding.c",
"new_path": "openstack/03b-IPv6/forwarding.c",
"diff": "@@ -463,7 +463,7 @@ owerror_t forwarding_send_internal_RoutingTable(\nopen_addr_t temp_prefix64btoWrite;\n// retrieve the next hop from the routing table\n- if (msg->is_c... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | forwarding: Remove assumption on cjoin metadata. |
491,609 | 02.10.2020 15:51:55 | -7,200 | 5ce8b0037332a4c46ffaa5cbfb516405bbf29503 | coap: Take ownership over the packet before calling reserveHeader. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "@@ -968,6 +968,9 @@ void coap_sock_handler(sock_udp_t *sock, sock_async_flags_t type, void *arg) {\nreturn;\n}\n+ // take ownership over the packet\n+ msg->owner = COMPONENT_OPENCOAP;\n+... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | coap: Take ownership over the packet before calling reserveHeader. |
491,609 | 02.10.2020 17:31:48 | -7,200 | 36ce4b969239579d9d8af74e9ccadb983c3ffdf0 | coap: Fix the warning of uninitialized var outcome. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "@@ -454,6 +454,8 @@ void coap_receive(OpenQueueEntry_t *msg) {\n}\n} else {\n+ // resource not found but success in creating the response\n+ outcome = E_SUCCESS;\n// reset packet payload... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | coap: Fix the warning of uninitialized var outcome. |
491,609 | 05.10.2020 17:06:49 | -7,200 | 77d64f9f283c499d2414749dc784820c4c70c3e8 | coap: Make coap_receive coap_sendDone private. | [
{
"change_type": "MODIFY",
"old_path": "openweb/opencoap/coap.c",
"new_path": "openweb/opencoap/coap.c",
"diff": "coap_vars_t coap_vars;\n//=========================== prototype =======================================\n+\n+void coap_receive(OpenQueueEntry_t *msg);\n+\n+void coap_sendDone(OpenQueueEn... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | coap: Make coap_receive coap_sendDone private. |
491,609 | 04.02.2021 12:29:02 | -3,600 | c1da91459d9d2c7547e4a74e3855f2a9be2677b0 | Hot fix: Remove var declaration within for loop. | [
{
"change_type": "MODIFY",
"old_path": "openstack/04-TRAN/sock.c",
"new_path": "openstack/04-TRAN/sock.c",
"diff": "@@ -330,11 +330,12 @@ static void _sock_get_local_addr(open_addr_t* local) {\nstatic bool _sock_valid_addr(sock_udp_ep_t* ep) {\nuint8_t zero_count;\nconst uint8_t* p;\n+ uint8_t i;\np... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Hot fix: Remove var declaration within for loop. |
491,587 | 09.02.2021 16:28:45 | -3,600 | a45a5d8161cd8df93b6aa0659917fabdd1fa5b71 | Set up Windows workflow | [
{
"change_type": "RENAME",
"old_path": ".github/workflows/main.yml",
"new_path": ".github/workflows/linux.yml",
"diff": ""
},
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/windows.yml",
"diff": "+# This is a basic workflow to help you get started with A... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Set up Windows workflow |
491,587 | 09.02.2021 17:35:34 | -3,600 | 37ce80d5ca22c46aa26cb3b7941db1b74fad8d80 | Fixes missing error codes on Windows | [
{
"change_type": "MODIFY",
"old_path": "openstack/04-TRAN/sock.h",
"new_path": "openstack/04-TRAN/sock.h",
"diff": "#include \"opendefs.h\"\n#include \"async_types.h\"\n+#if defined (__WIN32__)\n+#define EADDRINUSE (1)\n+#define EAFNOSUPPORT (1)\n+#define ENOBUFS (1)\n+#define ENOTCONN (1)\n+#endif\... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Fixes missing error codes on Windows |
491,587 | 10.02.2021 11:53:09 | -3,600 | cb3832eeb7fe0b53b0f9a145f77efc02201bc6a7 | Build matrix for Linux and Windows | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/linux.yml",
"new_path": ".github/workflows/linux.yml",
"diff": "@@ -17,6 +17,14 @@ on:\njobs:\n# This workflow contains a single job called \"build\"\nbuild:\n+ strategy:\n+ fail-fast: false\n+ matrix:\n+ include:\n+ - { toolchain: gcc, board... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Build matrix for Linux and Windows |
491,587 | 10.02.2021 14:35:33 | -3,600 | 943deacf3d58c44d17e94229fba011c4e7395c5b | Remove Travis CI builder | [
{
"change_type": "DELETE",
"old_path": ".travis.yml",
"new_path": null,
"diff": "-language: c\n-\n-before_script:\n-- python --version\n-- pip install --user pip\n-- pip install --user colorama\n-- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6D1D8367A3421AFB\n-- sudo add-apt-reposi... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Remove Travis CI builder |
491,592 | 03.11.2021 09:40:31 | -3,600 | d03fb6269af98a52e14c2079de3711a57d75faaa | Update SConscript.env
fixing compilation of uinject in simulator. | [
{
"change_type": "MODIFY",
"old_path": "projects/python/SConscript.env",
"new_path": "projects/python/SConscript.env",
"diff": "@@ -906,8 +906,9 @@ functions_to_change = [\n'uinject_init',\n'uinject_sendDone',\n'uinject_receive',\n- 'uinject_timer_cb',\n- 'uinject_task_cb',\n+ '_uinject_timer_cb',\n... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Update SConscript.env
fixing compilation of uinject in simulator. |
491,592 | 09.11.2021 21:50:31 | -3,600 | e8f60e9fdcb5fff491257e0df7fafdb4129578df | Update uinject.c
renaming overlapping function with coap causing the simulator to fail | [
{
"change_type": "MODIFY",
"old_path": "openapps/uinject/uinject.c",
"new_path": "openapps/uinject/uinject.c",
"diff": "@@ -33,7 +33,7 @@ static const uint8_t uinject_dst_addr[] = {\n//=========================== prototypes ======================================\n-void _sock_handler(sock_udp_t *sock... | C | BSD 3-Clause New or Revised License | openwsn-berkeley/openwsn-fw | Update uinject.c
renaming overlapping function with coap causing the simulator to fail |
718,770 | 04.01.2017 19:48:25 | 18,000 | 03e54920686987b11335b17362b562115fac4fc8 | a few more attempts at walkTree(). walkTree5() was not the guy. now it looks like it should be good, but the current test is going weird. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/common.py",
"new_path": "vivisect/symboliks/common.py",
"diff": "@@ -201,6 +201,28 @@ class SymbolikBase:\n'''\nraise Exception('%s *must* implement solve(emu=emu)!' % self.__class__.__name__)\n+ def reduce2(self, emu=None, foo=False):\n+ ''... | Python | Apache License 2.0 | vivisect/vivisect | a few more attempts at walkTree(). walkTree5() was not the guy. now it looks like it should be good, but the current test is going weird. |
718,770 | 04.01.2017 20:53:17 | 18,000 | c8932c6fbdb729e1cdffe25502247fa5c3da0313 | fixed! walkTree7 seems to be the ticket. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/common.py",
"new_path": "vivisect/symboliks/common.py",
"diff": "+import sys\nimport hashlib\nimport operator\nimport functools\n@@ -666,36 +667,44 @@ class SymbolikBase:\nwhile True:\n# follow kids if there are any left...\nif idx < len(cur... | Python | Apache License 2.0 | vivisect/vivisect | fixed! walkTree7 seems to be the ticket. |
718,770 | 05.01.2017 16:41:03 | 18,000 | 88b6668d6ab3dc8febcb89c3fb1ce827e13e921f | yay i think the bugs are worked out | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/common.py",
"new_path": "vivisect/symboliks/common.py",
"diff": "@@ -202,7 +202,7 @@ class SymbolikBase:\n'''\nraise Exception('%s *must* implement solve(emu=emu)!' % self.__class__.__name__)\n- def reduce2(self, emu=None, foo=False):\n+ def... | Python | Apache License 2.0 | vivisect/vivisect | yay i think the bugs are worked out |
718,770 | 13.01.2017 14:13:12 | 18,000 | b3b8e84d121a3a38b2958b73dbcc8f4929e97537 | fix for uxth/b | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -1544,8 +1544,8 @@ thumb_base = [\n# Miscellaneous in6tructions\n('1011001000', (561,'sxth', rm_rd, 0)), # SXTH<c> <Rd>, <Rm>\n('1011001001', (561,'sxtb', rm_rd, 0)), # SXTB... | Python | Apache License 2.0 | vivisect/vivisect | fix for uxth/b |
718,770 | 17.01.2017 00:00:52 | 18,000 | fb831378e54093a2c79fde2b18797bb5053f7a08 | clean up unnecessary field. | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/common.py",
"new_path": "vivisect/symboliks/common.py",
"diff": "@@ -82,7 +82,6 @@ class SymbolikBase:\nself.kids = []\nself.parents = []\nself.cache = {}\n- self._reduced = False\ndef __add__(self, other):\nreturn o_add(self, other, self.ge... | Python | Apache License 2.0 | vivisect/vivisect | clean up unnecessary field. |
718,770 | 20.01.2017 17:55:45 | 18,000 | bcc3ec31ae9786e697674c4512a222b5898670c5 | clean up old and printing statements | [
{
"change_type": "MODIFY",
"old_path": "vivisect/symboliks/common.py",
"new_path": "vivisect/symboliks/common.py",
"diff": "@@ -223,28 +223,6 @@ class SymbolikBase:\nreturn sym\n- def reduce_orig(self, emu=None, foo=False):\n- '''\n- Algebraic reduction and operator folding where possible.\n-\n- Exa... | Python | Apache License 2.0 | vivisect/vivisect | clean up old and printing statements |
718,770 | 20.01.2017 23:51:43 | 18,000 | 0a103fcdb2ca55c961ae8a7079e53f5b12931c2e | fix envi codeflow bug for ARM/THUMB switching | [
{
"change_type": "MODIFY",
"old_path": "envi/codeflow.py",
"new_path": "envi/codeflow.py",
"diff": "@@ -225,9 +225,9 @@ class CodeFlowContext(object):\n# the function that we want to make prodcedural\n# called us so we can't call to make it procedural\n# until its done\n- cf_eps.add(bva)\n+ cf_eps.a... | Python | Apache License 2.0 | vivisect/vivisect | fix envi codeflow bug for ARM/THUMB switching |
718,770 | 21.01.2017 00:56:09 | 18,000 | ccaf2ba6a15e45f6ea04f78f8a467fcc80320a6c | add endian-awareness to envi readMemoryValue functions (thus Emulators and MemCanvases), while improving performance through table lookups instead of sequential-ifs for format strings | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -752,33 +752,23 @@ class Emulator(e_reg.RegisterContext, e_mem.MemoryObject):\n\"\"\"\nReturns the value of the bytes at the \"addr\" address, given the size (currently, power of 2 only)\n\"\"\"\n-... | Python | Apache License 2.0 | vivisect/vivisect | add endian-awareness to envi readMemoryValue functions (thus Emulators and MemCanvases), while improving performance through table lookups instead of sequential-ifs for format strings |
718,770 | 21.01.2017 02:31:27 | 18,000 | 74db2ac712da2feafdfedc039a8ed08076a95531 | code-flow improvements, added instructions | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -85,6 +85,7 @@ IF_IB = 7<<(IF_DAIB_SHFT-1) # Increment Before\nIF_DAIB_B = 5<<(IF_DAIB_SHFT-1) # Before mask\nIF_DAIB_I = 3<<(IF_DAIB_SHFT-1) # Before mask\nIF_THUMB32 = 1<<50 # thumb... | Python | Apache License 2.0 | vivisect/vivisect | code-flow improvements, added instructions |
718,770 | 21.01.2017 03:05:07 | 18,000 | e25929d9f11b4c4ba626cef58234fd76faf0a0c8 | more code-flow improvements, added instructions | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -477,6 +477,12 @@ instrnames = [\n'INS_LDRB',\n'INS_STRB',\n'INS_SMUL',\n+ 'INS_UADD16',\n+ 'INS_UADD8',\n+ 'INS_USUB16',\n+ 'INS_USUB8',\n+ 'INS_UASX',\n+ 'INS_USAX',\n]\nins_index =... | Python | Apache License 2.0 | vivisect/vivisect | more code-flow improvements, added instructions |
718,770 | 21.01.2017 03:45:50 | 18,000 | 3646d06280accac693c7144343d4e4e25dc5432a | have to rework thumb16 parsers to allow handing back instruction flags, else we can't hand back IF_NOFALL, etc... | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -37,7 +37,7 @@ class simpleops:\noval = shmaskval(value, shval, mask)\noper = OperType[otype]((value >> shval) & mask, va=va)\nret.append( oper )\n- return ret\n+ return (re... | Python | Apache License 2.0 | vivisect/vivisect | have to rework thumb16 parsers to allow handing back instruction flags, else we can't hand back IF_NOFALL, etc... |
718,770 | 23.01.2017 11:10:35 | 18,000 | 6d9440b01c854d3c23929260e1e19153cb11d01a | fix: Thumb CMP decode T2 | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -578,8 +578,11 @@ dp_secondary = (\n'cmn', #add\nNone, # adc\nNone, # sbc\n+ None,\n+ None,\n'cmp', #sub\n- None\n+ None,\n+ None,\n)\ndef dp_mod_imm_32(va, val1, val2):\nif... | Python | Apache License 2.0 | vivisect/vivisect | fix: Thumb CMP decode T2 |
718,770 | 23.01.2017 16:31:56 | 18,000 | 65366e73c59f45ec9e9dca88ec5a6cd48d28c0f6 | further improvements to arm/thumb | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -65,7 +65,7 @@ ARCH_REVS['thumbee'] = REV_THUMBEE\nARCH_REVSLEN = len(ARCH_REVS)\n#IFLAGS - keep bottom 8-bits for cross-platform flags like envi.IF_NOFALL and envi.IF_BRFALL\n-IF_PSR... | Python | Apache License 2.0 | vivisect/vivisect | further improvements to arm/thumb |
718,770 | 23.01.2017 16:38:30 | 18,000 | 870df665fef470bcb0f05077e0bc9c349f72d055 | codeflow pointer reads | [
{
"change_type": "MODIFY",
"old_path": "envi/codeflow.py",
"new_path": "envi/codeflow.py",
"diff": "@@ -177,10 +177,11 @@ class CodeFlowContext(object):\ntry:\n# Handle a table branch by adding more branches...\n+ ptrfmt = ('<P', '>P')[self._mem.getEndian()]\nif bflags & envi.BR_TABLE:\nif self._cf_... | Python | Apache License 2.0 | vivisect/vivisect | codeflow pointer reads |
718,770 | 23.01.2017 16:51:31 | 18,000 | 137920007ced41c8a81d5b1fd61d48d1a62c1457 | big endianness spread throughout the memory ecosystem. | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -743,33 +743,23 @@ class Emulator(e_reg.RegisterContext, e_mem.MemoryObject):\n\"\"\"\nReturns the value of the bytes at the \"addr\" address, given the size (currently, power of 2 only)\n\"\"\"\n-... | Python | Apache License 2.0 | vivisect/vivisect | big endianness spread throughout the memory ecosystem. |
718,770 | 23.01.2017 16:59:37 | 18,000 | 4f6283e6ebd4b2f1b14d155bb9368a46c465618f | add a helper to location errors in buildFunctionGraph | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -468,7 +468,12 @@ def buildFunctionGraph(vw, fva, revloop=False, g=None):\ng.addNode(nid=cbva, cbva=cbva, cbsize=cbsize, color=bcolor)\n# Grab the location for the last instru... | Python | Apache License 2.0 | vivisect/vivisect | add a helper to location errors in buildFunctionGraph |
718,770 | 25.01.2017 09:35:02 | 18,000 | 345c455d69987a2d6567b89cec8964bdd64bd8f9 | cps and other bug fixes, added emulation, unittesting | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -75,6 +75,10 @@ IF_T = 1<<39 # Translate for strbt - denotes ldr/str command runs in\nIF_W = 1<<40 # Write Back for STM/LDM (!)\nIF_UM = 1<<41 # User Mode Registers for STM/LDM (^) (o... | Python | Apache License 2.0 | vivisect/vivisect | cps and other bug fixes, added emulation, unittesting |
718,770 | 25.01.2017 12:25:45 | 18,000 | 2be8930c5340bbc0cb5da79a74739d14b5c7bd6f | mega blx bug (ARM Unconditional encoding requires switch to THUMB, even though the address specified is even)
"swi" clean up to have all encodings translated to UAL 'svc' | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -1411,7 +1411,7 @@ def p_uncond(opval, va, psize = 4):\n# FIXME THIS IS HORKED\nopcode = IENC_SWINT << 16 + 2\nimmval = opval & 0x00ffffff\n- return (opcode, 'swi', (ArmImmOper(immv... | Python | Apache License 2.0 | vivisect/vivisect | mega blx bug (ARM Unconditional encoding requires switch to THUMB, even though the address specified is even)
"swi" clean up to have all encodings translated to UAL 'svc' |
718,770 | 25.01.2017 12:26:24 | 18,000 | 076aa652fb96657431ac62fb135a71188e8d8cdd | clean up debug message | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -166,8 +166,6 @@ def branch_misc(va, val, val2): # bl and misc control\nop2 = (val2 >> 8) & 0b1111\nimm8 = val2 & 0b1111\n- print hex(va), hex(val), hex(val2), bin(op), bin(... | Python | Apache License 2.0 | vivisect/vivisect | clean up debug message |
718,770 | 26.01.2017 08:51:16 | 18,000 | 7b03d27ceb4e9af3a37d2add16a6d8f3da35a910 | thumb misc control instructions
a little clean up | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -388,23 +388,6 @@ INS_BLX = IENC_UNCOND_BLX\nINS_SWI = IENC_SWINT\n-# FIXME: must fit these into the numbering scheme\n-INS_TB = 85\n-INS_LDREX = 85\n-INS_ORN = 85\n-INS_PKH = 85\n-IN... | Python | Apache License 2.0 | vivisect/vivisect | thumb misc control instructions
a little clean up |
718,770 | 26.01.2017 13:50:48 | 18,000 | 806645fd4fd25e630e53b7833fa8c5131b4cf344 | arm/thumb decoding improvements | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -460,8 +460,8 @@ instrnames = [\n'INS_VQRSHRUN',\n'INS_VSHLL',\n'INS_VCVT',\n- 'INS_LDRB',\n- 'INS_STRB',\n+ #'INS_LDRB',\n+ #'INS_STRB',\n'INS_SMUL',\n'INS_UADD16',\n'INS_UADD8',\n@@... | Python | Apache License 2.0 | vivisect/vivisect | arm/thumb decoding improvements |
718,770 | 26.01.2017 17:32:42 | 18,000 | b8733ad7291b6a48712e38585027707f45e57286 | starting the mods for ARM Emulation helpers | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/arm/emulation.py",
"new_path": "vivisect/analysis/arm/emulation.py",
"diff": "@@ -6,7 +6,10 @@ import vivisect.impemu.monitor as viv_monitor\nimport envi\nimport envi.archs.arm as e_arm\n+\n+from envi.archs.arm.regs import *\nfrom envi.regist... | Python | Apache License 2.0 | vivisect/vivisect | starting the mods for ARM Emulation helpers |
718,770 | 26.01.2017 17:33:02 | 18,000 | b7c576e8c083a26cda399f7f4813c7d5f14a0909 | adding default calling conventions for BLOBs | [
{
"change_type": "MODIFY",
"old_path": "vivisect/parsers/blob.py",
"new_path": "vivisect/parsers/blob.py",
"diff": "@@ -3,6 +3,13 @@ import vivisect\nimport vivisect.parsers as v_parsers\nfrom vivisect.const import *\n+\n+archcalls = {\n+ 'i386':'cdecl',\n+ 'amd64':'sysvamd64call',\n+ 'arm':'armcall... | Python | Apache License 2.0 | vivisect/vivisect | adding default calling conventions for BLOBs |
718,770 | 26.01.2017 17:33:43 | 18,000 | 4d674a46c23c7fc7e3fe483b6b06303db6ab60c8 | adding ARM emulation and disabling pointer discovery for BLOBs | [
{
"change_type": "MODIFY",
"old_path": "vivisect/analysis/__init__.py",
"new_path": "vivisect/analysis/__init__.py",
"diff": "@@ -137,10 +137,14 @@ def addAnalysisModules(vw):\nvw.addAnalysisModule(\"vivisect.analysis.generic.funcentries\")\nvw.addAnalysisModule(\"vivisect.analysis.generic.relocatio... | Python | Apache License 2.0 | vivisect/vivisect | adding ARM emulation and disabling pointer discovery for BLOBs |
718,770 | 29.01.2017 23:01:02 | 18,000 | 43a5b78cb60c181b9e423d6f23de2c52fc1c2e6f | more good decodes
vector register name issue | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -500,6 +500,19 @@ instrnames = [\n'INS_PLD',\n'INS_PLI',\n'INS_IT',\n+ 'INS_MLA',\n+ 'INS_SXTAH',\n+ 'INS_SXTH',\n+ 'INS_SXTAB16',\n+ 'INS_SXTAB',\n+ 'INS_SXTB16',\n+ 'INS_SXTB',\n+ '... | Python | Apache License 2.0 | vivisect/vivisect | more good decodes
vector register name issue |
718,770 | 30.01.2017 00:10:09 | 18,000 | ac78ae33cae414b13a2a31989cd34f58a5193406 | update to allow Architecture to fix up Function/XREF VA's before placing them (so called Thumb functions are correctly named, placed, and referenced) | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -155,6 +155,12 @@ class ArchitectureModule:\nallr = [rname for rname in regctx.getRegisterNames()]\nreturn [ ('all', allr), ]\n+ def archModifyFuncAddr(self, va, arch):\n+ return None, None\n+\n+ d... | Python | Apache License 2.0 | vivisect/vivisect | update to allow Architecture to fix up Function/XREF VA's before placing them (so called Thumb functions are correctly named, placed, and referenced) |
718,770 | 30.01.2017 12:54:42 | 18,000 | a96e5d184c6ca79455b6ed4f9867e12e4e4189bb | BugFix: B.W now correctly has IF_NOFALL | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -410,7 +410,7 @@ def branch_misc(va, val, val2): # bl and misc control\nelif op1 & 0b101 == 1: # T4 encoding\nopcode = INS_B\n- flags = envi.IF_BRANCH | IF_W\n+ flags = envi... | Python | Apache License 2.0 | vivisect/vivisect | BugFix: B.W now correctly has IF_NOFALL |
718,770 | 06.02.2017 12:01:10 | 18,000 | ee3f8273150eb1424536dc1935b2a40c4c928b8f | bugfix: miscellaneous control instructions: op val reset | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/thumb16/disasm.py",
"new_path": "envi/archs/thumb16/disasm.py",
"diff": "@@ -204,6 +204,7 @@ def branch_misc(va, val, val2): # bl and misc control\nif op & 0b111 == 0b011:\n# miscellaneous control instructions\n+ op = (val2>>4) & 0xf\nopcode, mnem, ... | Python | Apache License 2.0 | vivisect/vivisect | bugfix: miscellaneous control instructions: op val reset |
718,770 | 08.02.2017 17:04:12 | 18,000 | 65832221b2bf0170d62588c8f76772c672a1ca5a | decode fixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -3914,6 +3914,9 @@ class ArmBarrierOption(ArmOperand):\ndef repr(self, op):\nreturn self.retOption()\n+ def getOperValue(self, idx, emu=None):\n+ return None\n+\nclass ArmCPSFlagsOp... | Python | Apache License 2.0 | vivisect/vivisect | decode fixes |
718,770 | 09.02.2017 16:10:28 | 18,000 | 2db6c94506ddd02a3773eb10d71e897e91df9b44 | did it the visi way ;) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/base.py",
"new_path": "vivisect/base.py",
"diff": "@@ -247,8 +247,7 @@ class VivWorkspaceCore(object,viv_impapi.ImportApi):\ndef _handleDELFUNCTION(self, einfo):\nself.funcmeta.pop(einfo)\n- if self.func_args.has_key(einfo):\n- self.func_args.pop(einf... | Python | Apache License 2.0 | vivisect/vivisect | did it the visi way ;) |
718,770 | 14.02.2017 22:30:49 | 18,000 | 5a9e1804c39365dda8ffff0545fce1cf74e2ba71 | ARM/THUMB decode/emulation improvements | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -211,7 +211,7 @@ class ArmEmulator(ArmModule, ArmRegisterContext, envi.Emulator):\npc = self.getProgramCounter()\nx = pc+op.size\n- # should we set this to the odd address or even during ... | Python | Apache License 2.0 | vivisect/vivisect | ARM/THUMB decode/emulation improvements |
718,770 | 14.02.2017 22:55:31 | 18,000 | c38a3a0b4d17b13b7beb0339a443be61a886d83c | move badops into the envi architecture where it belongs. | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -78,6 +78,7 @@ class ArchitectureModule:\nself._arch_id = getArchByName(archname)\nself._arch_name = archname\nself._arch_maxinst = maxinst\n+ self._arch_badopbytes = ['\\x00\\x00\\x00\\x00\\x00']\... | Python | Apache License 2.0 | vivisect/vivisect | move badops into the envi architecture where it belongs. |
718,770 | 22.02.2017 14:34:24 | 18,000 | 8d91598fda80acae6dfeca12299eaaaafb9a694a | ARM/THUMB using architecture-dependent BadOps | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/__init__.py",
"new_path": "envi/archs/arm/__init__.py",
"diff": "@@ -29,6 +29,11 @@ class ArmModule(envi.ArchitectureModule):\ndef archGetNopInstr(self):\nreturn '\\x00'\n+ def archGetBadOps(self):\n+ oplist = [ self.archParseOpcode(badop,0,0) f... | Python | Apache License 2.0 | vivisect/vivisect | ARM/THUMB using architecture-dependent BadOps |
718,770 | 22.02.2017 14:35:37 | 18,000 | 938fdab5e6e2752d4efdf13f86def3e4a5f24175 | more vector instructions decoded | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -96,40 +96,44 @@ IFS_VH = 1<<4 # Adv SIMD: operation halves the result\nIFS_SYS_MODE = 1<<8 # instruction is encoded to be executed in SYSTEM mode, not USER mode\nIFS_SFUI_START = 9\n... | Python | Apache License 2.0 | vivisect/vivisect | more vector instructions decoded |
718,770 | 22.02.2017 14:36:47 | 18,000 | 451e8c54122d421d8bb6adb736351d175f67c14c | emulating more arm instrs | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/emu.py",
"new_path": "envi/archs/arm/emu.py",
"diff": "@@ -699,6 +699,10 @@ class ArmEmulator(ArmModule, ArmRegisterContext, envi.Emulator):\nval = self.getOperValue(op, 1) << 16\nself.setOperValue(op, 0, val)\n+ def i_movw(self, op):\n+ val = s... | Python | Apache License 2.0 | vivisect/vivisect | emulating more arm instrs |
718,770 | 24.02.2017 17:47:29 | 18,000 | d65d5b7d96b4361b3c60097c445269e03c1364b2 | vector decoding improvements. almost done! | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -533,7 +533,24 @@ instrnames = [\n'VQDMLSL',\n'VMULL',\n'VQDMULL',\n-\n+ 'VEXT',\n+ 'VREV16',\n+ 'VREV32',\n+ 'VREV64',\n+ 'VPADDL',\n+ 'VCLS',\n+ 'VCLZ',\n+ 'VCNT',\n+ 'VPADAL',\n+ '... | Python | Apache License 2.0 | vivisect/vivisect | vector decoding improvements. almost done! |
718,770 | 24.02.2017 17:48:40 | 18,000 | 928129a97b735fe91dc94ec877df04aa1809cb04 | vector decoding complete (now the testing!) | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -1632,10 +1632,17 @@ def p_uncond(opval, va, psize = 4):\ndef p_advsimd_secondary(val, va, mnem, opcode, flags, opers):\n-\nif opcode == INS_VORR:\n- pass\n+ src1 = (val>>16) & 0xf\... | Python | Apache License 2.0 | vivisect/vivisect | vector decoding complete (now the testing!) |
718,770 | 24.02.2017 18:23:02 | 18,000 | 1b35ad33526622c96b33f09a7d1ea9958dd1817b | testing and fixing. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -2301,7 +2301,7 @@ def _do_adv_simd_32(val, va, u):\nl = (val>>7) & 1\nindex = (a<<3) | (u<<2) | (b<<1) | l\n- mnem, opcode, enctype = adv_2regs[index]\n+ mnem, opcode, enctype = ad... | Python | Apache License 2.0 | vivisect/vivisect | testing and fixing. |
718,770 | 03.03.2017 15:17:01 | 18,000 | f8d31c64bfa75f47f9517d28b39840b93dc9a166 | floating point instruction wiring into arm, and thumb. lots of "opcode" rightness fixes. still decoding bugs to iron out. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -294,35 +294,52 @@ INST_ENC_DP_IMM = 0 # Data Processing Immediate Shift\nINST_ENC_MISC = 1 # Misc Instructions\n# Instruction encodings in arm v5\n-IENC_DP_IMM_SHIFT = 0 # Data proce... | Python | Apache License 2.0 | vivisect/vivisect | floating point instruction wiring into arm, and thumb. lots of "opcode" rightness fixes. still decoding bugs to iron out. |
718,770 | 04.03.2017 01:00:44 | 18,000 | 099716aee024e5e497a84e8549fa24a9f0f33b85 | lots more floating point instructions.. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/const.py",
"new_path": "envi/archs/arm/const.py",
"diff": "@@ -313,6 +313,7 @@ iencs = (\\\n'IENC_COPROC_LOAD', # Coprocessor load/store and double reg xfers\n'IENC_COPROC_DP', # Coprocessor data processing\n'IENC_COPROC_REG_XFER', # Coprocessor... | Python | Apache License 2.0 | vivisect/vivisect | lots more floating point instructions.. |
718,770 | 10.03.2017 23:40:28 | 18,000 | 3c0bdd9f74a3b2ea9f939b7f3f38837dacb6b065 | Adv SIMD bug-fixes | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -2004,16 +2004,16 @@ def _do_fp_dp(va, val1, val2):\n)\nelif opc2 == 0:\n- # VMOV p936 with reg/reg\n- if opc3 & 1:\n- mnem = 'vmov'\n- opcode = INS_VMOV\n-\n# VABS p822 T2/A2\n- el... | Python | Apache License 2.0 | vivisect/vivisect | Adv SIMD bug-fixes |
718,770 | 15.03.2017 00:55:39 | 14,400 | 4cf666ce6931d67b615d01e553e55ff2db97aa7b | modify vivisect.qt.memory.VQVivMemoryCanvas.getVaTag() to use the Locations database (for Thumb instructions referenced by odd addresses, when the legit location is an even address) | [
{
"change_type": "MODIFY",
"old_path": "vivisect/qt/memory.py",
"new_path": "vivisect/qt/memory.py",
"diff": "@@ -329,6 +329,11 @@ class VQVivMemoryCanvas(VivCanvasBase):\nnva, nvsz, nvt, nvti = nloc\nreturn (nva, va-nva)\n+ def getVaTag(self, va):\n+ loc = self.mem.getLocation(va)\n+ if loc != None... | Python | Apache License 2.0 | vivisect/vivisect | modify vivisect.qt.memory.VQVivMemoryCanvas.getVaTag() to use the Locations database (for Thumb instructions referenced by odd addresses, when the legit location is an even address) |
718,770 | 17.03.2017 17:28:02 | 14,400 | 4321581c9636b46747fead8c577e20a475b3dfdc | fix u_maxes bug i introduced in january. | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -797,7 +797,7 @@ class Emulator(e_reg.RegisterContext, e_mem.MemoryObject):\ndef writeMemValue(self, addr, value, size):\n#FIXME change this (and all uses of it) to passing in format...\n#FIXME: Re... | Python | Apache License 2.0 | vivisect/vivisect | fix u_maxes bug i introduced in january. |
718,770 | 22.03.2017 19:25:32 | 14,400 | 72177e0a1e5a5be0f203ea1af154ef25db634fb8 | make parseOpcode() prototype consistent in the import emulator | [
{
"change_type": "MODIFY",
"old_path": "vivisect/impemu/emulator.py",
"new_path": "vivisect/impemu/emulator.py",
"diff": "@@ -148,13 +148,13 @@ class WorkspaceEmulator:\n\"\"\"\nself.emumon = emumon\n- def parseOpcode(self, pc):\n+ def parseOpcode(self, va, arch=envi.ARCH_DEFAULT):\n# We can make an... | Python | Apache License 2.0 | vivisect/vivisect | make parseOpcode() prototype consistent in the import emulator |
718,770 | 05.04.2017 20:58:50 | 14,400 | 5b8b4e9600ac18b754f97b31ca0f3cce444b28e2 | update to handle non-1,2,4,8-byte memory reads/writes | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -775,16 +775,12 @@ class Emulator(e_reg.RegisterContext, e_mem.MemoryObject):\nif len(bytes) != size:\nraise Exception(\"Read Gave Wrong Length At 0x%.8x (va: 0x%.8x wanted %d got %d)\" % (self.get... | Python | Apache License 2.0 | vivisect/vivisect | update to handle non-1,2,4,8-byte memory reads/writes |
718,770 | 06.04.2017 08:25:08 | 14,400 | 35633bd7209b527cac80853ff18f1e2f82df7697 | only MemoryObject.parseOpcode and subclasses need parseOpcode to use getByteDef() (since that's where it's defined) | [
{
"change_type": "MODIFY",
"old_path": "envi/memory.py",
"new_path": "envi/memory.py",
"diff": "@@ -298,8 +298,8 @@ class IMemory:\nExample: op = m.parseOpcode(0x7c773803)\n'''\n- off, b = self.getByteDef(va)\n- return self.imem_archs[ (arch & envi.ARCH_MASK) >> 16 ].archParseOpcode(b, off, va)\n+ b... | Python | Apache License 2.0 | vivisect/vivisect | only MemoryObject.parseOpcode and subclasses need parseOpcode to use getByteDef() (since that's where it's defined) |
718,770 | 14.04.2017 09:01:00 | 14,400 | 99cb74770343ff88eb44b9c3cbdf30fb3a2484a0 | replacing _arch_badopbytes | [
{
"change_type": "MODIFY",
"old_path": "envi/__init__.py",
"new_path": "envi/__init__.py",
"diff": "@@ -78,6 +78,7 @@ class ArchitectureModule:\nself._arch_id = getArchByName(archname)\nself._arch_name = archname\nself._arch_maxinst = maxinst\n+ self._arch_badopbytes = ['\\x00\\x00\\x00\\x00\\x00']\... | Python | Apache License 2.0 | vivisect/vivisect | replacing _arch_badopbytes |
718,777 | 05.05.2017 06:17:36 | 25,200 | 344bf75a11de76523f084df5217660dd15ac5c83 | allow rvaToOffset to return offset before first section | [
{
"change_type": "MODIFY",
"old_path": "PE/__init__.py",
"new_path": "PE/__init__.py",
"diff": "@@ -437,6 +437,8 @@ class PE(object):\ndef rvaToOffset(self, rva):\nif self.inmem:\nreturn rva\n+ if rva >= 0 and rva < self.IMAGE_NT_HEADERS.OptionalHeader.SizeOfHeaders:\n+ return rva\nfor s in self.sec... | Python | Apache License 2.0 | vivisect/vivisect | allow rvaToOffset to return offset before first section |
718,770 | 23.05.2017 23:05:08 | 14,400 | 2894d3d0ce3fa9b610a21bd3ae4b59fed268ef3a | merge introduced bugs | [
{
"change_type": "MODIFY",
"old_path": "vivisect/tools/graphutil.py",
"new_path": "vivisect/tools/graphutil.py",
"diff": "@@ -472,7 +472,12 @@ def buildFunctionGraph(vw, fva, revloop=False, g=None):\ng.addNode(nid=cbva, cbva=cbva, cbsize=cbsize, color=bcolor)\n# Grab the location for the last instru... | Python | Apache License 2.0 | vivisect/vivisect | merge introduced bugs |
718,770 | 27.03.2017 12:18:03 | 14,400 | d8f479ac79df8d27b0be84048cb0056c00b42652 | emulation and code-flow improvements, additional arm emu instructions covered. | [
{
"change_type": "MODIFY",
"old_path": "envi/archs/arm/disasm.py",
"new_path": "envi/archs/arm/disasm.py",
"diff": "@@ -3783,11 +3783,12 @@ class ArmOpcode(envi.Opcode):\nif self.prefixes != COND_AL:\nflags |= envi.BR_COND\n- if self.opcode in ( INS_B, INS_BX, INS_BL, INS_BLX, INS_BCC, INS_CBZ, INS_... | Python | Apache License 2.0 | vivisect/vivisect | emulation and code-flow improvements, additional arm emu instructions covered. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.