{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":29797862,"defaultBranch":"master","name":"go-yara","ownerLogin":"hillu","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-01-25T01:01:11.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/173211?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1715002493.0","currentOid":""},"activityList":{"items":[{"before":"2e52045bcf115bf72a2f50fc64c47a9ce472c8e4","after":"4f5cd55ec92e1cf17f11e2d74e232a178d1e2f58","ref":"refs/heads/master","pushedAt":"2024-05-06T13:45:13.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Guard against panic caused by misusing Compiler\n\nClose: #149","shortMessageHtmlLink":"Guard against panic caused by misusing Compiler"}},{"before":null,"after":"5ffa610b38f80776ae948e9503834a2f0219132f","ref":"refs/heads/compiler-error","pushedAt":"2024-05-06T13:34:53.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Guard against panic caused by misusing Compiler\n\nClose: #149","shortMessageHtmlLink":"Guard against panic caused by misusing Compiler"}},{"before":"d64a02b50e1c4e63a3b3b893584151c2b884f62c","after":"2e52045bcf115bf72a2f50fc64c47a9ce472c8e4","ref":"refs/heads/master","pushedAt":"2024-04-05T08:34:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Clarify shell variables in cross compiling documentation","shortMessageHtmlLink":"Clarify shell variables in cross compiling documentation"}},{"before":"cdcb9786ea23dd2cf69c1386a3a005e7f3cdda51","after":"d64a02b50e1c4e63a3b3b893584151c2b884f62c","ref":"refs/heads/master","pushedAt":"2024-04-05T08:06:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Clarify shell variables in cross compiling documentation","shortMessageHtmlLink":"Clarify shell variables in cross compiling documentation"}},{"before":"f03acb3bf4ed7955549b22c1906e432189da7ba3","after":"cdcb9786ea23dd2cf69c1386a3a005e7f3cdda51","ref":"refs/heads/master","pushedAt":"2024-03-24T20:02:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Store qualified rule name instead of Rule object from compiler callback\n\nClose: #142","shortMessageHtmlLink":"Store qualified rule name instead of Rule object from compiler callback"}},{"before":"1a86fd95b72bde7d710c408e75f58ae9f553d2af","after":"f03acb3bf4ed7955549b22c1906e432189da7ba3","ref":"refs/heads/master","pushedAt":"2024-03-24T19:52:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Store qualified rule name instead of Rule object from compiler callback\n\nClose: #142","shortMessageHtmlLink":"Store qualified rule name instead of Rule object from compiler callback"}},{"before":"1bab2fcdfa92ba517d9d1366e75054e6b5cdf20a","after":"1a86fd95b72bde7d710c408e75f58ae9f553d2af","ref":"refs/heads/master","pushedAt":"2024-01-22T10:46:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"fix: add missing error codes from yara/error.h","shortMessageHtmlLink":"fix: add missing error codes from yara/error.h"}},{"before":"07fb25cad8e70ab6ee655265ead4fcb280741f54","after":"1bab2fcdfa92ba517d9d1366e75054e6b5cdf20a","ref":"refs/heads/master","pushedAt":"2023-12-12T00:39:01.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"feat: keep alive structs for C usage\n\nWhen accessing C fields or functions, there was a potential race\ncondition with the garbage collector running the finalizer if\nthe object was no longer referenced elsewhere. This race was\n(mostly) short, but arguably still existed.\nUse KeepAlive() to safeguard these accesses and ensure the object\nis only garbage collected (and the C part freed) once the access\nhas finished.","shortMessageHtmlLink":"feat: keep alive structs for C usage"}},{"before":"74f9995e83f0ead3378fa448ae5be2f2f4e71c88","after":"07fb25cad8e70ab6ee655265ead4fcb280741f54","ref":"refs/heads/master","pushedAt":"2023-12-12T00:37:56.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"test: check that XOR key is correct","shortMessageHtmlLink":"test: check that XOR key is correct"}},{"before":"fdb067a8659e2dd6e08ec2d9a86a8a121017a747","after":"74f9995e83f0ead3378fa448ae5be2f2f4e71c88","ref":"refs/heads/master","pushedAt":"2023-11-29T13:11:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Use the `SCAN_FLAGS_NO_TRYCATCH` flag when invoking YARA from `ScanMem`\n\nBy default YARA installs an exception handler that captures SIGBUS and SIGSEGV signals during the time a scan is active. This has the purpose of capturing signals that can occur while reading from memory mapped files. However, this is a process-wide exception handler that seems to interfere with Golang's ability to detect null pointer accesses and produce memory dumps.\n\nWe have seen in production cases in which a Golang process that uses YARA enters an state in which the process does nothing but doesn't crash. We suspect it is somewhat related to the exception handler installed by YARA.\n\nAs a temporary measure this patch disables the installation of the exception handler during calls to `ScanMem`. Installing such handler doesn't make sense while scanning memory that is not backed by a mmaped filed.","shortMessageHtmlLink":"Use the SCAN_FLAGS_NO_TRYCATCH flag when invoking YARA from ScanMem"}},{"before":"11d1088a1ff305f3d292f73e31db195b8ce40028","after":"fdb067a8659e2dd6e08ec2d9a86a8a121017a747","ref":"refs/heads/master","pushedAt":"2023-11-08T14:26:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Enhance the `Error` type to provide more information about the error.\n\nThis introduces the following changes.:\n\n* The `Error` code now has a `Code` field that exposes the YARA API error code to Go users, and also exposes the error codes as constants that can be used in Go code (example: `err.Code == yara.ERROR_TIMEOUT`). Sometimes is useful to get a numeric error code instead of a text string.\n\n* When `Error` is converted to a string, it includes the name of the rule causing the error. For example, instead of getting an error like `syntax error, unexpected identifier, expecting `, you get `rule \\\"foo\\\": syntax error, unexpected identifier, expecting `.","shortMessageHtmlLink":"Enhance the Error type to provide more information about the error."}},{"before":"cfe918677afc2b5f774321dad230ef76242febff","after":"04ef309f486238d2159b967ab2773fd211075509","ref":"refs/heads/individual-config-functions","pushedAt":"2023-08-29T21:48:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Add individual functions to set/get coonfiguration parameters\n\nInspired by discussion in #126, thanks to @zdiff","shortMessageHtmlLink":"Add individual functions to set/get coonfiguration parameters"}},{"before":"9d03c66be047f25ce11c86251d32078715d12ea6","after":"cfe918677afc2b5f774321dad230ef76242febff","ref":"refs/heads/individual-config-functions","pushedAt":"2023-08-29T21:37:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Add individual functions to set/get coonfiguration parameters\n\nInspired by discussion in #126, thanks to @zdiff","shortMessageHtmlLink":"Add individual functions to set/get coonfiguration parameters"}},{"before":null,"after":"9d03c66be047f25ce11c86251d32078715d12ea6","ref":"refs/heads/individual-config-functions","pushedAt":"2023-08-29T19:51:55.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Add individual functions to set/get coonfiguration parameters\n\nInspired by discussion in #126, thanks to @zdiff","shortMessageHtmlLink":"Add individual functions to set/get coonfiguration parameters"}},{"before":"9d8822854b9b851559192a5a4f80f207c7f74946","after":"11d1088a1ff305f3d292f73e31db195b8ce40028","ref":"refs/heads/master","pushedAt":"2023-07-13T15:39:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"fix: set SCAN_FLAGS_NO_TRYCATCH for memory block iterators\n\nWhen using memory block iterators, callbacks to golang code can occur\nwhile the YARA signal handler is set.\nIf the golang callback causes a SIGSEGV / SIGBUS (e.g. as a panic), this\ncauses a runtime fault instead of executing pending defer() calls and\npotentially recovering: the code execution jumps back to YARA without\nnotifying the golang runtime, and the runtime faults with\n\"exitsyscall: syscall frame is no longer valid\"\nafter yr_scanner_scan_mem_blocks returns.\n\nTo avoid these scenarios, always set SCAN_FLAGS_NO_TRYCATCH on\nmemory block iterators. Doing so prevents YARA from installing its\nown signal handler, which is superfluous in this case anyway since\nwe read the data in Golang, and should take care of any signals\nwhile reading the data ourselves.","shortMessageHtmlLink":"fix: set SCAN_FLAGS_NO_TRYCATCH for memory block iterators"}},{"before":"5e4a76db56098c8a6b467fdbe47159f29871f6ee","after":"77c5d1b14e16936f531dbd1605f1bbd73ad34dfd","ref":"refs/heads/v1.x","pushedAt":"2023-06-26T13:42:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Add compat wrapper for yr_compiler_add_fd (1.x)\n\nClose #122","shortMessageHtmlLink":"Add compat wrapper for yr_compiler_add_fd (1.x)"}},{"before":null,"after":"1b8a6e0b50949b9750324bacc2e4c6e5b8820f2d","ref":"refs/heads/fix_v1_compiler_addfile","pushedAt":"2023-06-26T13:41:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Add compat wrapper for yr_compiler_add_fd (1.x)\n\nClose #122","shortMessageHtmlLink":"Add compat wrapper for yr_compiler_add_fd (1.x)"}},{"before":"ac2bca1d8887273636fc0e368f4de4ad4c354a90","after":"9d8822854b9b851559192a5a4f80f207c7f74946","ref":"refs/heads/master","pushedAt":"2023-06-12T16:18:30.983Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"fix: release profiling info","shortMessageHtmlLink":"fix: release profiling info"}},{"before":"5caf6bb08cea19befffa0e2995aa6ad7cd0c91fd","after":"ac2bca1d8887273636fc0e368f4de4ad4c354a90","ref":"refs/heads/master","pushedAt":"2023-06-01T11:12:48.784Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Keep alive of cgo handle id pointer","shortMessageHtmlLink":"Keep alive of cgo handle id pointer"}},{"before":null,"after":"9a67197d48273d4ff98e092fbceff5b527c3d07c","ref":"refs/heads/iterator-last-error","pushedAt":"2023-05-19T13:57:30.733Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Add support for last_error in memory block iterator","shortMessageHtmlLink":"Add support for last_error in memory block iterator"}},{"before":"aaeb4a407c8d51692e04651b1fa78e67e62d4754","after":"5caf6bb08cea19befffa0e2995aa6ad7cd0c91fd","ref":"refs/heads/master","pushedAt":"2023-05-19T13:31:37.347Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Clarify YARA_{SRC,BUILD_*} in cross building documentation\n\nClose #117","shortMessageHtmlLink":"Clarify YARA_{SRC,BUILD_*} in cross building documentation"}},{"before":"49e4a934c4a5d0df3db3bb10ccd8f4f54dd5a553","after":"aaeb4a407c8d51692e04651b1fa78e67e62d4754","ref":"refs/heads/master","pushedAt":"2023-05-12T09:08:52.787Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"change uint to standard unsigned int","shortMessageHtmlLink":"change uint to standard unsigned int"}},{"before":null,"after":"2a87c20d708f267e0920f7a867400ddcad2a864e","ref":"refs/heads/v4.1.x","pushedAt":"2023-03-27T22:13:49.885Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Replace Travis badge","shortMessageHtmlLink":"Replace Travis badge"}},{"before":"0769da30dbb2a4b4287d9587328cc7f2b13b80bf","after":"49e4a934c4a5d0df3db3bb10ccd8f4f54dd5a553","ref":"refs/heads/master","pushedAt":"2023-03-27T21:53:21.635Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Fix copy/paste error","shortMessageHtmlLink":"Fix copy/paste error"}},{"before":"c137d3eec86604d0a98e416036a5675bbb283b3c","after":"0769da30dbb2a4b4287d9587328cc7f2b13b80bf","ref":"refs/heads/master","pushedAt":"2023-03-27T21:50:11.694Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"Add new error code constant; change required YARA version to 4.3","shortMessageHtmlLink":"Add new error code constant; change required YARA version to 4.3"}},{"before":"efa8b565424beca2200ee678f9ff51fb601519b7","after":"c137d3eec86604d0a98e416036a5675bbb283b3c","ref":"refs/heads/master","pushedAt":"2023-03-27T13:23:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hillu","name":"Hilko Bengen","path":"/hillu","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/173211?s=80&v=4"},"commit":{"message":"build test: Update to YARA 4.3.0","shortMessageHtmlLink":"build test: Update to YARA 4.3.0"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEQpQ3wgA","startCursor":null,"endCursor":null}},"title":"Activity ยท hillu/go-yara"}